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

Side by Side Diff: components/safe_browsing_db.gypi

Issue 1624723002: Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fetch, rebase, format Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/safe_browsing_db/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/safe_browsing_db 8 # GN version: //components/safe_browsing_db:safe_browsing_db_shared
9 'target_name': 'safe_browsing_db', 9 'target_name': 'safe_browsing_db_shared',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../base/base.gyp:base', 12 '../base/base.gyp:base',
13 '../components/components.gyp:metrics', 13 '../components/components.gyp:metrics',
14 '../crypto/crypto.gyp:crypto', 14 '../crypto/crypto.gyp:crypto',
15 ':safebrowsing_proto', 15 ':safebrowsing_proto',
16 ], 16 ],
17 'sources': [ 17 'sources': [
18 # Note: sources list duplicated in GN build. 18 # Note: sources list duplicated in GN build.
19 'safe_browsing_db/database_manager.h', 19 'safe_browsing_db/database_manager.h',
20 'safe_browsing_db/database_manager.cc', 20 'safe_browsing_db/database_manager.cc',
21 'safe_browsing_db/hit_report.h', 21 'safe_browsing_db/hit_report.h',
22 'safe_browsing_db/hit_report.cc', 22 'safe_browsing_db/hit_report.cc',
23 'safe_browsing_db/prefix_set.h', 23 'safe_browsing_db/prefix_set.h',
24 'safe_browsing_db/prefix_set.cc', 24 'safe_browsing_db/prefix_set.cc',
25 'safe_browsing_db/util.h', 25 'safe_browsing_db/util.h',
26 'safe_browsing_db/util.cc', 26 'safe_browsing_db/util.cc',
27 ], 27 ],
28 'include_dirs': [ 28 'include_dirs': [
29 '..', 29 '..',
30 ], 30 ],
31 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 31 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
32 'msvs_disabled_warnings': [4267, ], 32 'msvs_disabled_warnings': [4267, ],
33 }, 33 },
34 { 34 {
35 # GN version: //components/safe_browsing_db
36 'target_name': 'safe_browsing_db',
37 'type': 'static_library',
38 'dependencies': [
39 ':safe_browsing_db_shared',
40 ],
41 'sources': [
42 ],
43 'include_dirs': [
44 '..',
45 ],
46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
47 'msvs_disabled_warnings': [4267, ],
48 },
49 {
50 # GN version: //components/safe_browsing_db:safe_browsing_db_mobile
51 'target_name': 'safe_browsing_db_mobile',
52 'type': 'static_library',
53 'dependencies': [
54 ':safe_browsing_db_shared',
55 ':safe_browsing_metadata_proto',
56 ],
57 'sources': [
58 # Note: sources list duplicated in GN build.
59 'safe_browsing_db/remote_database_managerh',
60 'safe_browsing_db/remote_database_manager.cc',
61 'safe_browsing_db/safe_browsing_api_handler.h',
62 'safe_browsing_db/safe_browsing_api_handler.cc',
63 'safe_browsing_db/safe_browsing_api_handler_util.h',
64 'safe_browsing_db/safe_browsing_api_handler_util.cc',
65 ],
66 'include_dirs': [
67 '..',
68 ],
69 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
70 'msvs_disabled_warnings': [4267, ],
71 },
72 {
35 # GN version: //components/safe_browsing_db:proto 73 # GN version: //components/safe_browsing_db:proto
36 # Protobuf compiler / generator for the Safe Browsing protocol buffer. 74 # Protobuf compiler / generator for the Safe Browsing protocol buffer.
37 'target_name': 'safebrowsing_proto', 75 'target_name': 'safebrowsing_proto',
38 'type': 'static_library', 76 'type': 'static_library',
39 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], 77 'sources': [ 'safe_browsing_db/safebrowsing.proto' ],
40 'variables': { 78 'variables': {
41 'proto_in_dir': 'safe_browsing_db', 79 'proto_in_dir': 'safe_browsing_db',
42 'proto_out_dir': 'components/safe_browsing_db', 80 'proto_out_dir': 'components/safe_browsing_db',
43 }, 81 },
44 'includes': [ '../build/protoc.gypi' ] 82 'includes': [ '../build/protoc.gypi' ]
45 }, 83 },
46 { 84 {
85 # Protobuf compiler / generator for the safebrowsing full hash metadata
86 # protocol buffer.
87 # GN version: //components/safe_browsing_db:metadata_proto
88 'target_name': 'safe_browsing_metadata_proto',
89 'type': 'static_library',
90 'sources': [ 'safe_browsing_db/metadata.proto' ],
91 'variables': {
92 'proto_in_dir': 'safe_browsing_db',
93 'proto_out_dir': 'components/safe_browsing_db',
94 },
95 'includes': [ '../build/protoc.gypi' ]
96 },
97 {
47 # GN version: //components/safe_browsing_db:test_database_manager 98 # GN version: //components/safe_browsing_db:test_database_manager
48 'target_name': 'test_database_manager', 99 'target_name': 'test_database_manager',
49 'type': 'static_library', 100 'type': 'static_library',
50 'dependencies': [ 101 'dependencies': [
51 '../base/base.gyp:base', 102 '../base/base.gyp:base',
52 ':safe_browsing_db', 103 ':safe_browsing_db',
53 ], 104 ],
54 'sources': [ 105 'sources': [
55 # Note: sources list duplicated in GN build. 106 # Note: sources list duplicated in GN build.
56 'safe_browsing_db/test_database_manager.h', 107 'safe_browsing_db/test_database_manager.h',
57 'safe_browsing_db/test_database_manager.cc', 108 'safe_browsing_db/test_database_manager.cc',
58 ], 109 ],
59 'include_dirs': [ 110 'include_dirs': [
60 '..', 111 '..',
61 ], 112 ],
62 }, 113 },
63 ], 114 ],
64 } 115 }
OLDNEW
« 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