| 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', |
| 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 'safe_browsing_db/v4_local_database_manager.h', | |
| 28 'safe_browsing_db/v4_local_database_manager.cc', | |
| 29 'safe_browsing_db/v4_protocol_manager_util.h', | 27 'safe_browsing_db/v4_protocol_manager_util.h', |
| 30 'safe_browsing_db/v4_protocol_manager_util.cc', | 28 'safe_browsing_db/v4_protocol_manager_util.cc', |
| 31 'safe_browsing_db/v4_get_hash_protocol_manager.h', | 29 'safe_browsing_db/v4_get_hash_protocol_manager.h', |
| 32 'safe_browsing_db/v4_get_hash_protocol_manager.cc', | 30 'safe_browsing_db/v4_get_hash_protocol_manager.cc', |
| 33 'safe_browsing_db/v4_update_protocol_manager.h', | |
| 34 'safe_browsing_db/v4_update_protocol_manager.cc', | |
| 35 ], | 31 ], |
| 36 'include_dirs': [ | 32 'include_dirs': [ |
| 37 '..', | 33 '..', |
| 38 ], | 34 ], |
| 39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 35 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 40 'msvs_disabled_warnings': [4267, ], | 36 'msvs_disabled_warnings': [4267, ], |
| 41 }, | 37 }, |
| 42 { | 38 { |
| 43 # GN version: //components/safe_browsing_db | 39 # GN version: //components/safe_browsing_db |
| 44 'target_name': 'safe_browsing_db', | 40 'target_name': 'safe_browsing_db', |
| 45 'type': 'static_library', | 41 'type': 'static_library', |
| 46 'dependencies': [ | 42 'dependencies': [ |
| 47 ':safe_browsing_db_shared', | 43 ':safe_browsing_db_shared', |
| 44 ':safebrowsing_proto', |
| 48 ], | 45 ], |
| 49 'sources': [ | 46 'sources': [ |
| 47 'safe_browsing_db/v4_local_database_manager.h', |
| 48 'safe_browsing_db/v4_local_database_manager.cc', |
| 49 'safe_browsing_db/v4_update_protocol_manager.h', |
| 50 'safe_browsing_db/v4_update_protocol_manager.cc', |
| 50 ], | 51 ], |
| 51 'include_dirs': [ | 52 'include_dirs': [ |
| 52 '..', | 53 '..', |
| 53 ], | 54 ], |
| 54 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 55 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 55 'msvs_disabled_warnings': [4267, ], | 56 'msvs_disabled_warnings': [4267, ], |
| 56 }, | 57 }, |
| 57 { | 58 { |
| 58 # GN version: //components/safe_browsing_db:safe_browsing_db_mobile | 59 # GN version: //components/safe_browsing_db:safe_browsing_db_mobile |
| 59 'target_name': 'safe_browsing_db_mobile', | 60 'target_name': 'safe_browsing_db_mobile', |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 # Note: sources list duplicated in GN build. | 115 # Note: sources list duplicated in GN build. |
| 115 'safe_browsing_db/test_database_manager.h', | 116 'safe_browsing_db/test_database_manager.h', |
| 116 'safe_browsing_db/test_database_manager.cc', | 117 'safe_browsing_db/test_database_manager.cc', |
| 117 ], | 118 ], |
| 118 'include_dirs': [ | 119 'include_dirs': [ |
| 119 '..', | 120 '..', |
| 120 ], | 121 ], |
| 121 }, | 122 }, |
| 122 ], | 123 ], |
| 123 } | 124 } |
| OLD | NEW |