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

Side by Side Diff: components/safe_browsing_db.gypi

Issue 1620813005: Revert of Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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:safe_browsing_db_shared 8 # GN version: //components/safe_browsing_db
9 'target_name': 'safe_browsing_db_shared', 9 'target_name': 'safe_browsing_db',
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 {
73 # GN version: //components/safe_browsing_db:proto 35 # GN version: //components/safe_browsing_db:proto
74 # Protobuf compiler / generator for the Safe Browsing protocol buffer. 36 # Protobuf compiler / generator for the Safe Browsing protocol buffer.
75 'target_name': 'safebrowsing_proto', 37 'target_name': 'safebrowsing_proto',
76 'type': 'static_library', 38 'type': 'static_library',
77 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], 39 'sources': [ 'safe_browsing_db/safebrowsing.proto' ],
78 'variables': { 40 'variables': {
79 'proto_in_dir': 'safe_browsing_db', 41 'proto_in_dir': 'safe_browsing_db',
80 'proto_out_dir': 'components/safe_browsing_db', 42 'proto_out_dir': 'components/safe_browsing_db',
81 },
82 'includes': [ '../build/protoc.gypi' ]
83 },
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 }, 43 },
95 'includes': [ '../build/protoc.gypi' ] 44 'includes': [ '../build/protoc.gypi' ]
96 }, 45 },
97 { 46 {
98 # GN version: //components/safe_browsing_db:test_database_manager 47 # GN version: //components/safe_browsing_db:test_database_manager
99 'target_name': 'test_database_manager', 48 'target_name': 'test_database_manager',
100 'type': 'static_library', 49 'type': 'static_library',
101 'dependencies': [ 50 'dependencies': [
102 '../base/base.gyp:base', 51 '../base/base.gyp:base',
103 ':safe_browsing_db', 52 ':safe_browsing_db',
104 ], 53 ],
105 'sources': [ 54 'sources': [
106 # Note: sources list duplicated in GN build. 55 # Note: sources list duplicated in GN build.
107 'safe_browsing_db/test_database_manager.h', 56 'safe_browsing_db/test_database_manager.h',
108 'safe_browsing_db/test_database_manager.cc', 57 'safe_browsing_db/test_database_manager.cc',
109 ], 58 ],
110 'include_dirs': [ 59 'include_dirs': [
111 '..', 60 '..',
112 ], 61 ],
113 }, 62 },
114 ], 63 ],
115 } 64 }
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