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

Side by Side Diff: chrome/chrome_browser.gypi

Issue 1579403002: Move remote_db_manager into the safe_browsing_db component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add a gn dep on safe_browsing_db_mobile 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
OLDNEW
1 # Copyright 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2012 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 'variables': { 6 'variables': {
7 # All .cc, .h, .m, and .mm files under browser except for: 7 # All .cc, .h, .m, and .mm files under browser except for:
8 # * tests and mocks. 8 # * tests and mocks.
9 # * code below browser/chromeos 9 # * code below browser/chromeos
10 # * code below browser/extensions 10 # * code below browser/extensions
(...skipping 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after
2512 'browser/safe_browsing/threat_details_history.cc', 2512 'browser/safe_browsing/threat_details_history.cc',
2513 'browser/safe_browsing/threat_details_history.h', 2513 'browser/safe_browsing/threat_details_history.h',
2514 'browser/safe_browsing/ui_manager.cc', 2514 'browser/safe_browsing/ui_manager.cc',
2515 'browser/safe_browsing/ui_manager.h', 2515 'browser/safe_browsing/ui_manager.h',
2516 ], 2516 ],
2517 # "Safe Browsing Mobile" files in addition to the "basic" ones 2517 # "Safe Browsing Mobile" files in addition to the "basic" ones
2518 # to use for mobile mode. This has some in common with "full." 2518 # to use for mobile mode. This has some in common with "full."
2519 'chrome_browser_safe_browsing_mobile_sources': [ 2519 'chrome_browser_safe_browsing_mobile_sources': [
2520 'browser/renderer_host/safe_browsing_resource_throttle.cc', 2520 'browser/renderer_host/safe_browsing_resource_throttle.cc',
2521 'browser/renderer_host/safe_browsing_resource_throttle.h', 2521 'browser/renderer_host/safe_browsing_resource_throttle.h',
2522 'browser/safe_browsing/remote_database_manager.cc',
2523 'browser/safe_browsing/remote_database_manager.h',
2524 'browser/safe_browsing/safe_browsing_api_handler.cc',
2525 'browser/safe_browsing/safe_browsing_api_handler.h',
2526 'browser/safe_browsing/safe_browsing_api_handler_util.cc',
2527 'browser/safe_browsing/safe_browsing_api_handler_util.h',
2528 ], 2522 ],
2529 # "Safe Browsing Full" files in addition to the "basic" ones to use for 2523 # "Safe Browsing Full" files in addition to the "basic" ones to use for
2530 # full safe browsing. This has some in common with "mobile." 2524 # full safe browsing. This has some in common with "mobile."
2531 'chrome_browser_safe_browsing_full_sources': [ 2525 'chrome_browser_safe_browsing_full_sources': [
2532 'browser/download/download_completion_blocker.cc', 2526 'browser/download/download_completion_blocker.cc',
2533 'browser/download/download_completion_blocker.h', 2527 'browser/download/download_completion_blocker.h',
2534 'browser/renderer_host/safe_browsing_resource_throttle.cc', 2528 'browser/renderer_host/safe_browsing_resource_throttle.cc',
2535 'browser/renderer_host/safe_browsing_resource_throttle.h', 2529 'browser/renderer_host/safe_browsing_resource_throttle.h',
2536 'browser/safe_browsing/browser_feature_extractor.cc', 2530 'browser/safe_browsing/browser_feature_extractor.cc',
2537 'browser/safe_browsing/browser_feature_extractor.h', 2531 'browser/safe_browsing/browser_feature_extractor.h',
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after
3541 '../components/components.gyp:pdf_browser', 3535 '../components/components.gyp:pdf_browser',
3542 '../ppapi/ppapi_internal.gyp:ppapi_ipc', 3536 '../ppapi/ppapi_internal.gyp:ppapi_ipc',
3543 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h', 3537 '../third_party/adobe/flash/flash_player.gyp:flapper_version_h',
3544 ], 3538 ],
3545 'sources': [ '<@(chrome_browser_plugins_sources)' ], 3539 'sources': [ '<@(chrome_browser_plugins_sources)' ],
3546 }], 3540 }],
3547 ['safe_browsing != 0 and OS != "ios"', { 3541 ['safe_browsing != 0 and OS != "ios"', {
3548 'sources': [ '<@(chrome_browser_safe_browsing_basic_sources)' ], 3542 'sources': [ '<@(chrome_browser_safe_browsing_basic_sources)' ],
3549 'dependencies': [ 3543 'dependencies': [
3550 'safe_browsing_chunk_proto', 3544 'safe_browsing_chunk_proto',
3551 'safe_browsing_metadata_proto',
3552 'safe_browsing_proto', 3545 'safe_browsing_proto',
3553 '../components/components.gyp:safe_browsing_db', 3546 '../components/components.gyp:safe_browsing_db',
3547 '../components/components.gyp:safe_browsing_metadata_proto',
3554 ], 3548 ],
3555 'conditions': [ 3549 'conditions': [
3556 ['safe_browsing == 1', { 3550 ['safe_browsing == 1', {
3557 'sources': [ '<@(chrome_browser_safe_browsing_full_sources)' ], 3551 'sources': [ '<@(chrome_browser_safe_browsing_full_sources)' ],
3558 'dependencies': [ 3552 'dependencies': [
3559 'safe_browsing_proto', 3553 'safe_browsing_proto',
3560 ], 3554 ],
3561 'conditions': [ 3555 'conditions': [
3562 ['OS=="win"', { 3556 ['OS=="win"', {
3563 'dependencies': [ 3557 'dependencies': [
3564 'incident_reporting_state_store_data_proto', 3558 'incident_reporting_state_store_data_proto',
3565 ], 3559 ],
3566 }], 3560 }],
3567 ], 3561 ],
3568 }], 3562 }],
3569 ['safe_browsing == 2', { 3563 ['safe_browsing == 2', {
3570 'sources': [ '<@(chrome_browser_safe_browsing_mobile_sources)' ], 3564 'sources': [ '<@(chrome_browser_safe_browsing_mobile_sources)' ],
3571 'dependencies': [ 3565 'dependencies': [
3572 'safe_browsing_proto', 3566 'safe_browsing_proto',
3567 '../components/components.gyp:safe_browsing_db_mobile',
3573 ], 3568 ],
3574 }], 3569 }],
3575 ], 3570 ],
3576 }], 3571 }],
3577 ['use_udev == 1', { 3572 ['use_udev == 1', {
3578 'dependencies': [ 3573 'dependencies': [
3579 '../device/udev_linux/udev.gyp:udev_linux', 3574 '../device/udev_linux/udev.gyp:udev_linux',
3580 ], 3575 ],
3581 }], 3576 }],
3582 ['OS=="linux"', { 3577 ['OS=="linux"', {
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
3977 'target_name': 'safe_browsing_chunk_proto', 3972 'target_name': 'safe_browsing_chunk_proto',
3978 'type': 'static_library', 3973 'type': 'static_library',
3979 'sources': [ 'browser/safe_browsing/chunk.proto' ], 3974 'sources': [ 'browser/safe_browsing/chunk.proto' ],
3980 'variables': { 3975 'variables': {
3981 'proto_in_dir': 'browser/safe_browsing', 3976 'proto_in_dir': 'browser/safe_browsing',
3982 'proto_out_dir': 'chrome/browser/safe_browsing', 3977 'proto_out_dir': 'chrome/browser/safe_browsing',
3983 }, 3978 },
3984 'includes': [ '../build/protoc.gypi' ] 3979 'includes': [ '../build/protoc.gypi' ]
3985 }, 3980 },
3986 { 3981 {
3987 # Protobuf compiler / generator for the safebrowsing full hash metadata
3988 # protocol buffer.
3989 # GN version: //chrome/browser/safe_browsing:metadata_proto
3990 'target_name': 'safe_browsing_metadata_proto',
3991 'type': 'static_library',
3992 'sources': [ 'browser/safe_browsing/metadata.proto' ],
3993 'variables': {
3994 'proto_in_dir': 'browser/safe_browsing',
3995 'proto_out_dir': 'chrome/browser/safe_browsing',
3996 },
3997 'includes': [ '../build/protoc.gypi' ]
3998 },
3999 {
4000 # Protobuf compiler / generator for the safebrowsing incident reporting 3982 # Protobuf compiler / generator for the safebrowsing incident reporting
4001 # service state store data protocol buffer. 3983 # service state store data protocol buffer.
4002 # GN version: //chrome/browser/safe_browsing/incident_reporting:state_stor e_data_proto 3984 # GN version: //chrome/browser/safe_browsing/incident_reporting:state_stor e_data_proto
4003 'target_name': 'incident_reporting_state_store_data_proto', 3985 'target_name': 'incident_reporting_state_store_data_proto',
4004 'type': 'static_library', 3986 'type': 'static_library',
4005 'sources': [ 'browser/safe_browsing/incident_reporting/state_store_data.pr oto' ], 3987 'sources': [ 'browser/safe_browsing/incident_reporting/state_store_data.pr oto' ],
4006 'variables': { 3988 'variables': {
4007 'proto_in_dir': 'browser/safe_browsing/incident_reporting', 3989 'proto_in_dir': 'browser/safe_browsing/incident_reporting',
4008 'proto_out_dir': 'chrome/browser/safe_browsing/incident_reporting', 3990 'proto_out_dir': 'chrome/browser/safe_browsing/incident_reporting',
4009 }, 3991 },
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
4182 '../components/components.gyp:omnibox_browser', 4164 '../components/components.gyp:omnibox_browser',
4183 '../components/components.gyp:rlz', 4165 '../components/components.gyp:rlz',
4184 '../components/components.gyp:search_engines', 4166 '../components/components.gyp:search_engines',
4185 '../rlz/rlz.gyp:rlz_lib', 4167 '../rlz/rlz.gyp:rlz_lib',
4186 ], 4168 ],
4187 }, 4169 },
4188 ], 4170 ],
4189 }], 4171 }],
4190 ], 4172 ],
4191 } 4173 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698