OLD | NEW |
---|---|
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:safe_browsing_db_shared |
9 'target_name': 'safe_browsing_db_shared', | 9 'target_name': 'safe_browsing_db_shared', |
10 'type': 'static_library', | 10 'type': 'static_library', |
(...skipping 23 matching lines...) Expand all Loading... | |
34 ], | 34 ], |
35 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 35 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
36 'msvs_disabled_warnings': [4267, ], | 36 'msvs_disabled_warnings': [4267, ], |
37 }, | 37 }, |
38 { | 38 { |
39 # GN version: //components/safe_browsing_db | 39 # GN version: //components/safe_browsing_db |
40 'target_name': 'safe_browsing_db', | 40 'target_name': 'safe_browsing_db', |
41 'type': 'static_library', | 41 'type': 'static_library', |
42 'dependencies': [ | 42 'dependencies': [ |
43 ':safe_browsing_db_shared', | 43 ':safe_browsing_db_shared', |
44 ':safebrowsing_proto', | 44 ':v4_store_proto', |
45 ], | 45 ], |
46 'sources': [ | 46 'sources': [ |
47 'safe_browsing_db/v4_database.h', | 47 'safe_browsing_db/v4_database.h', |
48 'safe_browsing_db/v4_database.cc', | 48 'safe_browsing_db/v4_database.cc', |
49 'safe_browsing_db/v4_local_database_manager.h', | 49 'safe_browsing_db/v4_local_database_manager.h', |
50 'safe_browsing_db/v4_local_database_manager.cc', | 50 'safe_browsing_db/v4_local_database_manager.cc', |
51 'safe_browsing_db/v4_store.h', | 51 'safe_browsing_db/v4_store.h', |
52 'safe_browsing_db/v4_store.cc', | 52 'safe_browsing_db/v4_store.cc', |
53 'safe_browsing_db/v4_update_protocol_manager.h', | 53 'safe_browsing_db/v4_update_protocol_manager.h', |
54 'safe_browsing_db/v4_update_protocol_manager.cc', | 54 'safe_browsing_db/v4_update_protocol_manager.cc', |
(...skipping 21 matching lines...) Expand all Loading... | |
76 'safe_browsing_db/safe_browsing_api_handler_util.h', | 76 'safe_browsing_db/safe_browsing_api_handler_util.h', |
77 'safe_browsing_db/safe_browsing_api_handler_util.cc', | 77 'safe_browsing_db/safe_browsing_api_handler_util.cc', |
78 ], | 78 ], |
79 'include_dirs': [ | 79 'include_dirs': [ |
80 '..', | 80 '..', |
81 ], | 81 ], |
82 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 82 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
83 'msvs_disabled_warnings': [4267, ], | 83 'msvs_disabled_warnings': [4267, ], |
84 }, | 84 }, |
85 { | 85 { |
86 # GN version: //components/safe_browsing_db:proto | 86 # GN version: //components/safe_browsing_db:safebrowsing_proto |
87 # Protobuf compiler / generator for the Safe Browsing protocol buffer. | 87 # Protobuf compiler / generator for the Safe Browsing protocol buffer. |
88 'target_name': 'safebrowsing_proto', | 88 'target_name': 'safebrowsing_proto', |
89 'type': 'static_library', | 89 'type': 'static_library', |
90 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], | 90 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], |
91 'variables': { | 91 'variables': { |
92 'proto_in_dir': 'safe_browsing_db', | 92 'proto_in_dir': 'safe_browsing_db', |
93 'proto_out_dir': 'components/safe_browsing_db', | 93 'proto_out_dir': 'components/safe_browsing_db', |
94 }, | 94 }, |
95 'includes': [ '../build/protoc.gypi' ] | 95 'includes': [ '../build/protoc.gypi' ] |
96 }, | 96 }, |
97 { | 97 { |
98 # Protobuf compiler / generator for the safebrowsing full hash metadata | 98 # Protobuf compiler / generator for the safebrowsing full hash metadata |
99 # protocol buffer. | 99 # protocol buffer. |
100 # GN version: //components/safe_browsing_db:metadata_proto | 100 # GN version: //components/safe_browsing_db:metadata_proto |
101 'target_name': 'safe_browsing_metadata_proto', | 101 'target_name': 'safe_browsing_metadata_proto', |
102 'type': 'static_library', | 102 'type': 'static_library', |
103 'sources': [ 'safe_browsing_db/metadata.proto' ], | 103 'sources': [ 'safe_browsing_db/metadata.proto' ], |
104 'variables': { | 104 'variables': { |
105 'proto_in_dir': 'safe_browsing_db', | 105 'proto_in_dir': 'safe_browsing_db', |
106 'proto_out_dir': 'components/safe_browsing_db', | 106 'proto_out_dir': 'components/safe_browsing_db', |
107 }, | 107 }, |
108 'includes': [ '../build/protoc.gypi' ] | 108 'includes': [ '../build/protoc.gypi' ] |
109 }, | 109 }, |
110 { | 110 { |
111 # GN version: //components/safe_browsing_db:v4_store_proto | |
112 # Protobuf compiler / generator for the Safe Browsing protocol buffer for | |
113 # storing hash-prefixes on disk. | |
114 'target_name': 'v4_store_proto', | |
horo
2016/06/30 04:48:38
need dependencies to safebrowsing_proto
https://c
| |
115 'type': 'static_library', | |
116 'sources': [ 'safe_browsing_db/v4_store.proto' ], | |
117 'variables': { | |
118 'proto_in_dir': 'safe_browsing_db', | |
119 'proto_out_dir': 'components/safe_browsing_db', | |
120 }, | |
121 'includes': [ '../build/protoc.gypi' ] | |
122 }, | |
123 { | |
111 # GN version: //components/safe_browsing_db:test_database_manager | 124 # GN version: //components/safe_browsing_db:test_database_manager |
112 'target_name': 'test_database_manager', | 125 'target_name': 'test_database_manager', |
113 'type': 'static_library', | 126 'type': 'static_library', |
114 'dependencies': [ | 127 'dependencies': [ |
115 '../base/base.gyp:base', | 128 '../base/base.gyp:base', |
116 ':safe_browsing_db', | 129 ':safe_browsing_db', |
117 ], | 130 ], |
118 'sources': [ | 131 'sources': [ |
119 # Note: sources list duplicated in GN build. | 132 # Note: sources list duplicated in GN build. |
120 'safe_browsing_db/test_database_manager.h', | 133 'safe_browsing_db/test_database_manager.h', |
121 'safe_browsing_db/test_database_manager.cc', | 134 'safe_browsing_db/test_database_manager.cc', |
122 ], | 135 ], |
123 'include_dirs': [ | 136 'include_dirs': [ |
124 '..', | 137 '..', |
125 ], | 138 ], |
126 }, | 139 }, |
127 ], | 140 ], |
128 } | 141 } |
OLD | NEW |