summaryrefslogtreecommitdiffstats
path: root/components/safe_browsing_db.gypi
diff options
context:
space:
mode:
authorkcarattini <kcarattini@chromium.org>2015-12-16 19:54:12 -0800
committerCommit bot <commit-bot@chromium.org>2015-12-17 03:55:07 +0000
commit8daf927f2180e209567ea037ed089ac8b319726e (patch)
tree9e7fa532a6a4041d83f68a5c02c7f4a822a36092 /components/safe_browsing_db.gypi
parente853d6d7a5a4f4d37822e1fe465ff6871e2cccaf (diff)
downloadchromium_src-8daf927f2180e209567ea037ed089ac8b319726e.zip
chromium_src-8daf927f2180e209567ea037ed089ac8b319726e.tar.gz
chromium_src-8daf927f2180e209567ea037ed089ac8b319726e.tar.bz2
Add the Safe Browsing pver4 protocol buffers to Chrome.
BUG=561867 Review URL: https://codereview.chromium.org/1526483002 Cr-Commit-Position: refs/heads/master@{#365731}
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..509ddc9 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': 'safe_browsing_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' ]
+ },
],
}