| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/safe_browsing_db:safe_browsing_db_shared | |
| 9 'target_name': 'safe_browsing_db_shared', | |
| 10 'type': 'static_library', | |
| 11 'dependencies': [ | |
| 12 '../base/base.gyp:base', | |
| 13 '../components/components.gyp:metrics', | |
| 14 '../crypto/crypto.gyp:crypto', | |
| 15 ':safebrowsing_proto', | |
| 16 ], | |
| 17 'sources': [ | |
| 18 # Note: sources list duplicated in GN build. | |
| 19 'safe_browsing_db/database_manager.h', | |
| 20 'safe_browsing_db/database_manager.cc', | |
| 21 'safe_browsing_db/hit_report.h', | |
| 22 'safe_browsing_db/hit_report.cc', | |
| 23 'safe_browsing_db/prefix_set.h', | |
| 24 'safe_browsing_db/prefix_set.cc', | |
| 25 'safe_browsing_db/util.h', | |
| 26 'safe_browsing_db/util.cc', | |
| 27 'safe_browsing_db/v4_protocol_manager_util.h', | |
| 28 'safe_browsing_db/v4_protocol_manager_util.cc', | |
| 29 'safe_browsing_db/v4_get_hash_protocol_manager.h', | |
| 30 'safe_browsing_db/v4_get_hash_protocol_manager.cc', | |
| 31 ], | |
| 32 'include_dirs': [ | |
| 33 '..', | |
| 34 ], | |
| 35 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 36 'msvs_disabled_warnings': [4267, ], | |
| 37 }, | |
| 38 { | |
| 39 # GN version: //components/safe_browsing_db | |
| 40 'target_name': 'safe_browsing_db', | |
| 41 'type': 'static_library', | |
| 42 'dependencies': [ | |
| 43 ':safe_browsing_db_shared', | |
| 44 ':v4_store_proto', | |
| 45 ], | |
| 46 'sources': [ | |
| 47 'safe_browsing_db/v4_database.h', | |
| 48 'safe_browsing_db/v4_database.cc', | |
| 49 'safe_browsing_db/v4_local_database_manager.h', | |
| 50 'safe_browsing_db/v4_local_database_manager.cc', | |
| 51 'safe_browsing_db/v4_rice.h', | |
| 52 'safe_browsing_db/v4_rice.cc', | |
| 53 'safe_browsing_db/v4_store.h', | |
| 54 'safe_browsing_db/v4_store.cc', | |
| 55 'safe_browsing_db/v4_update_protocol_manager.h', | |
| 56 'safe_browsing_db/v4_update_protocol_manager.cc', | |
| 57 ], | |
| 58 'include_dirs': [ | |
| 59 '..', | |
| 60 ], | |
| 61 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 62 'msvs_disabled_warnings': [4267, ], | |
| 63 }, | |
| 64 { | |
| 65 # GN version: //components/safe_browsing_db:safe_browsing_db_mobile | |
| 66 'target_name': 'safe_browsing_db_mobile', | |
| 67 'type': 'static_library', | |
| 68 'dependencies': [ | |
| 69 ':safe_browsing_db_shared', | |
| 70 ':safe_browsing_metadata_proto', | |
| 71 ], | |
| 72 'sources': [ | |
| 73 # Note: sources list duplicated in GN build. | |
| 74 'safe_browsing_db/remote_database_manager.h', | |
| 75 'safe_browsing_db/remote_database_manager.cc', | |
| 76 'safe_browsing_db/safe_browsing_api_handler.h', | |
| 77 'safe_browsing_db/safe_browsing_api_handler.cc', | |
| 78 'safe_browsing_db/safe_browsing_api_handler_util.h', | |
| 79 'safe_browsing_db/safe_browsing_api_handler_util.cc', | |
| 80 ], | |
| 81 'include_dirs': [ | |
| 82 '..', | |
| 83 ], | |
| 84 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 85 'msvs_disabled_warnings': [4267, ], | |
| 86 }, | |
| 87 { | |
| 88 # GN version: //components/safe_browsing_db:safebrowsing_proto | |
| 89 # Protobuf compiler / generator for the Safe Browsing protocol buffer. | |
| 90 'target_name': 'safebrowsing_proto', | |
| 91 'type': 'static_library', | |
| 92 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], | |
| 93 'variables': { | |
| 94 'proto_in_dir': 'safe_browsing_db', | |
| 95 'proto_out_dir': 'components/safe_browsing_db', | |
| 96 }, | |
| 97 'includes': [ '../build/protoc.gypi' ] | |
| 98 }, | |
| 99 { | |
| 100 # Protobuf compiler / generator for the safebrowsing full hash metadata | |
| 101 # protocol buffer. | |
| 102 # GN version: //components/safe_browsing_db:metadata_proto | |
| 103 'target_name': 'safe_browsing_metadata_proto', | |
| 104 'type': 'static_library', | |
| 105 'sources': [ 'safe_browsing_db/metadata.proto' ], | |
| 106 'variables': { | |
| 107 'proto_in_dir': 'safe_browsing_db', | |
| 108 'proto_out_dir': 'components/safe_browsing_db', | |
| 109 }, | |
| 110 'includes': [ '../build/protoc.gypi' ] | |
| 111 }, | |
| 112 { | |
| 113 # GN version: //components/safe_browsing_db:v4_store_proto | |
| 114 # Protobuf compiler / generator for the Safe Browsing protocol buffer for | |
| 115 # storing hash-prefixes on disk. | |
| 116 'target_name': 'v4_store_proto', | |
| 117 'type': 'static_library', | |
| 118 'dependencies': [ | |
| 119 ':safebrowsing_proto', | |
| 120 ], | |
| 121 'sources': [ 'safe_browsing_db/v4_store.proto' ], | |
| 122 'variables': { | |
| 123 'proto_in_dir': 'safe_browsing_db', | |
| 124 'proto_out_dir': 'components/safe_browsing_db', | |
| 125 }, | |
| 126 'includes': [ '../build/protoc.gypi' ] | |
| 127 }, | |
| 128 { | |
| 129 # GN version: //components/safe_browsing_db:test_database_manager | |
| 130 'target_name': 'test_database_manager', | |
| 131 'type': 'static_library', | |
| 132 'dependencies': [ | |
| 133 '../base/base.gyp:base', | |
| 134 ':safe_browsing_db', | |
| 135 ], | |
| 136 'sources': [ | |
| 137 # Note: sources list duplicated in GN build. | |
| 138 'safe_browsing_db/test_database_manager.h', | |
| 139 'safe_browsing_db/test_database_manager.cc', | |
| 140 ], | |
| 141 'include_dirs': [ | |
| 142 '..', | |
| 143 ], | |
| 144 }, | |
| 145 ], | |
| 146 } | |
| OLD | NEW |