Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(779)

Unified Diff: components/safe_browsing_db.gypi

Issue 2066083002: SafeBrowising: Read and write V4Store from/to disk (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_UpdateDbAndStores
Patch Set: Nit: Make store creation and use more consistent. Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/safe_browsing_db/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db.gypi
diff --git a/components/safe_browsing_db.gypi b/components/safe_browsing_db.gypi
index bb48ae2dc273530a69947258d115de12d1b68e0e..7666496477fe40cd04d8021d0946bb93d25b52e9 100644
--- a/components/safe_browsing_db.gypi
+++ b/components/safe_browsing_db.gypi
@@ -41,7 +41,7 @@
'type': 'static_library',
'dependencies': [
':safe_browsing_db_shared',
- ':safebrowsing_proto',
+ ':v4_store_proto',
],
'sources': [
'safe_browsing_db/v4_database.h',
@@ -83,7 +83,7 @@
'msvs_disabled_warnings': [4267, ],
},
{
- # GN version: //components/safe_browsing_db:proto
+ # GN version: //components/safe_browsing_db:safebrowsing_proto
# Protobuf compiler / generator for the Safe Browsing protocol buffer.
'target_name': 'safebrowsing_proto',
'type': 'static_library',
@@ -108,6 +108,19 @@
'includes': [ '../build/protoc.gypi' ]
},
{
+ # GN version: //components/safe_browsing_db:v4_store_proto
+ # Protobuf compiler / generator for the Safe Browsing protocol buffer for
+ # storing hash-prefixes on disk.
+ 'target_name': 'v4_store_proto',
horo 2016/06/30 04:48:38 need dependencies to safebrowsing_proto https://c
+ 'type': 'static_library',
+ 'sources': [ 'safe_browsing_db/v4_store.proto' ],
+ 'variables': {
+ 'proto_in_dir': 'safe_browsing_db',
+ 'proto_out_dir': 'components/safe_browsing_db',
+ },
+ 'includes': [ '../build/protoc.gypi' ]
+ },
+ {
# GN version: //components/safe_browsing_db:test_database_manager
'target_name': 'test_database_manager',
'type': 'static_library',
« no previous file with comments | « components/components_tests.gyp ('k') | components/safe_browsing_db/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698