summaryrefslogtreecommitdiffstats
path: root/components/safe_browsing_db.gypi
diff options
context:
space:
mode:
authorkcarattini <kcarattini@chromium.org>2015-12-20 22:44:20 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-21 06:45:02 +0000
commita5ebe13b7296e79e4724d2c7e54e6fa203ec798a (patch)
tree2a90c3de6d5f88f59dbaae5726b83376699fb509 /components/safe_browsing_db.gypi
parent86b6cbdaccc314ee06a42dcfd62220137197a2ef (diff)
downloadchromium_src-a5ebe13b7296e79e4724d2c7e54e6fa203ec798a.zip
chromium_src-a5ebe13b7296e79e4724d2c7e54e6fa203ec798a.tar.gz
chromium_src-a5ebe13b7296e79e4724d2c7e54e6fa203ec798a.tar.bz2
Add the Safe Browsing pver4 protocol buffers to Chrome.
BUG=561867 Committed: https://crrev.com/8daf927f2180e209567ea037ed089ac8b319726e Cr-Commit-Position: refs/heads/master@{#365731} Review URL: https://codereview.chromium.org/1526483002 Cr-Commit-Position: refs/heads/master@{#366340}
Diffstat (limited to 'components/safe_browsing_db.gypi')
-rw-r--r--components/safe_browsing_db.gypi12
1 files changed, 12 insertions, 0 deletions
diff --git a/components/safe_browsing_db.gypi b/components/safe_browsing_db.gypi
index a874bfa..60b5127 100644
--- a/components/safe_browsing_db.gypi
+++ b/components/safe_browsing_db.gypi
@@ -25,5 +25,17 @@
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
'msvs_disabled_warnings': [4267, ],
},
+ {
+ # GN version: //components/safe_browsing_db:proto
+ # Protobuf compiler / generator for the Safe Browsing protocol buffer.
+ 'target_name': 'safebrowsing_proto',
+ 'type': 'static_library',
+ 'sources': [ 'safe_browsing_db/safebrowsing.proto' ],
+ 'variables': {
+ 'proto_in_dir': 'safe_browsing_db',
+ 'proto_out_dir': 'components/safe_browsing_db',
+ },
+ 'includes': [ '../build/protoc.gypi' ]
+ },
],
}