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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 111 # GN version: //components/safe_browsing_db:v4_store_proto |
112 # Protobuf compiler / generator for the Safe Browsing protocol buffer for | 112 # Protobuf compiler / generator for the Safe Browsing protocol buffer for |
113 # storing hash-prefixes on disk. | 113 # storing hash-prefixes on disk. |
114 'target_name': 'v4_store_proto', | 114 'target_name': 'v4_store_proto', |
115 'type': 'static_library', | 115 'type': 'static_library', |
| 116 'dependencies': [ |
| 117 ':safebrowsing_proto', |
| 118 ], |
116 'sources': [ 'safe_browsing_db/v4_store.proto' ], | 119 'sources': [ 'safe_browsing_db/v4_store.proto' ], |
117 'variables': { | 120 'variables': { |
118 'proto_in_dir': 'safe_browsing_db', | 121 'proto_in_dir': 'safe_browsing_db', |
119 'proto_out_dir': 'components/safe_browsing_db', | 122 'proto_out_dir': 'components/safe_browsing_db', |
120 }, | 123 }, |
121 'includes': [ '../build/protoc.gypi' ] | 124 'includes': [ '../build/protoc.gypi' ] |
122 }, | 125 }, |
123 { | 126 { |
124 # GN version: //components/safe_browsing_db:test_database_manager | 127 # GN version: //components/safe_browsing_db:test_database_manager |
125 'target_name': 'test_database_manager', | 128 'target_name': 'test_database_manager', |
126 'type': 'static_library', | 129 'type': 'static_library', |
127 'dependencies': [ | 130 'dependencies': [ |
128 '../base/base.gyp:base', | 131 '../base/base.gyp:base', |
129 ':safe_browsing_db', | 132 ':safe_browsing_db', |
130 ], | 133 ], |
131 'sources': [ | 134 'sources': [ |
132 # Note: sources list duplicated in GN build. | 135 # Note: sources list duplicated in GN build. |
133 'safe_browsing_db/test_database_manager.h', | 136 'safe_browsing_db/test_database_manager.h', |
134 'safe_browsing_db/test_database_manager.cc', | 137 'safe_browsing_db/test_database_manager.cc', |
135 ], | 138 ], |
136 'include_dirs': [ | 139 'include_dirs': [ |
137 '..', | 140 '..', |
138 ], | 141 ], |
139 }, | 142 }, |
140 ], | 143 ], |
141 } | 144 } |
OLD | NEW |