[Downloads] Gracefully handle SafeBrowsing check failures.
[chromium-blink-merge.git] / chrome / chrome_debugger.gypi
blob817496f480175485e965af7f3910846a0cca9b67
1 # Copyright 2014 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.
6   'targets': [
7     {
8       # GN version: //chrome/browser/devtools
9       'target_name': 'debugger',
10       'type': 'static_library',
11       'variables': { 'enable_wexit_time_destructors': 1, },
12       'dependencies': [
13         '../base/base.gyp:base',
14         '../content/content.gyp:content_browser',
15         '../net/net.gyp:net',
16         'browser/devtools/devtools_protocol_constants.gyp:devtools_protocol_constants',
17       ],
18       'include_dirs': [
19         '..',
20       ],
21       'sources': [
22         'browser/devtools/chrome_devtools_manager_delegate.cc',
23         'browser/devtools/chrome_devtools_manager_delegate.h',
24         'browser/devtools/devtools_network_conditions.cc',
25         'browser/devtools/devtools_network_conditions.h',
26         'browser/devtools/devtools_network_controller.cc',
27         'browser/devtools/devtools_network_controller.h',
28         'browser/devtools/devtools_network_interceptor.cc',
29         'browser/devtools/devtools_network_interceptor.h',
30         'browser/devtools/devtools_network_protocol_handler.cc',
31         'browser/devtools/devtools_network_protocol_handler.h',
32         'browser/devtools/devtools_network_transaction.cc',
33         'browser/devtools/devtools_network_transaction.h',
34         'browser/devtools/devtools_network_transaction_factory.cc',
35         'browser/devtools/devtools_network_transaction_factory.h',
36         'browser/devtools/devtools_protocol.cc',
37         'browser/devtools/devtools_protocol.h',
38         # These files are generated by devtools_protocol_constants_generator.py.
39         '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.cc',
40         '<(SHARED_INTERMEDIATE_DIR)/chrome/browser/devtools/devtools_protocol_constants.h',
41       ],
42       'conditions': [
43         ['OS!="android"', {
44           'dependencies': [
45             '../net/net.gyp:http_server',
46             '../skia/skia.gyp:skia',
47             '../third_party/icu/icu.gyp:icui18n',
48             '../third_party/icu/icu.gyp:icuuc',
49             '../third_party/leveldatabase/leveldatabase.gyp:leveldatabase',
50             '../third_party/libusb/libusb.gyp:libusb',
51             'chrome_resources.gyp:chrome_extra_resources',
52             'chrome_resources.gyp:chrome_resources',
53             'chrome_resources.gyp:chrome_strings',
54             'chrome_resources.gyp:theme_resources',
55             'common/extensions/api/api.gyp:chrome_api',
56           ],
57           'sources': [
58             'browser/devtools/device/adb/adb_client_socket.cc',
59             'browser/devtools/device/adb/adb_client_socket.h',
60             'browser/devtools/device/adb/adb_device_info_query.cc',
61             'browser/devtools/device/adb/adb_device_info_query.h',
62             'browser/devtools/device/adb/adb_device_provider.cc',
63             'browser/devtools/device/adb/adb_device_provider.h',
64             'browser/devtools/device/android_device_manager.cc',
65             'browser/devtools/device/android_device_manager.h',
66             'browser/devtools/device/android_web_socket.cc',
67             'browser/devtools/device/devtools_android_bridge.cc',
68             'browser/devtools/device/devtools_android_bridge.h',
69             'browser/devtools/device/port_forwarding_controller.cc',
70             'browser/devtools/device/port_forwarding_controller.h',
71             'browser/devtools/device/self_device_provider.cc',
72             'browser/devtools/device/self_device_provider.h',
73             'browser/devtools/device/usb/android_rsa.cc',
74             'browser/devtools/device/usb/android_rsa.h',
75             'browser/devtools/device/usb/android_usb_device.cc',
76             'browser/devtools/device/usb/android_usb_device.h',
77             'browser/devtools/device/usb/android_usb_socket.cc',
78             'browser/devtools/device/usb/android_usb_socket.h',
79             'browser/devtools/device/usb/usb_device_provider.cc',
80             'browser/devtools/device/usb/usb_device_provider.h',
81             'browser/devtools/browser_list_tabcontents_provider.cc',
82             'browser/devtools/browser_list_tabcontents_provider.h',
83             'browser/devtools/devtools_contents_resizing_strategy.cc',
84             'browser/devtools/devtools_contents_resizing_strategy.h',
85             'browser/devtools/devtools_embedder_message_dispatcher.cc',
86             'browser/devtools/devtools_embedder_message_dispatcher.h',
87             'browser/devtools/devtools_file_helper.cc',
88             'browser/devtools/devtools_file_helper.h',
89             'browser/devtools/devtools_file_system_indexer.cc',
90             'browser/devtools/devtools_file_system_indexer.h',
91             'browser/devtools/devtools_target_impl.cc',
92             'browser/devtools/devtools_target_impl.h',
93             'browser/devtools/devtools_targets_ui.cc',
94             'browser/devtools/devtools_targets_ui.h',
95             'browser/devtools/devtools_toggle_action.cc',
96             'browser/devtools/devtools_toggle_action.h',
97             'browser/devtools/devtools_ui_bindings.cc',
98             'browser/devtools/devtools_ui_bindings.h',
99             'browser/devtools/devtools_window.cc',
100             'browser/devtools/devtools_window.h',
101             'browser/devtools/remote_debugging_server.cc',
102             'browser/devtools/remote_debugging_server.h',
103           ],
104         }], # OS!="android"
105         ['debug_devtools==1', {
106           'defines': [
107             'DEBUG_DEVTOOLS=1',
108            ],
109         }],
110       ],
111       # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
112       'msvs_disabled_warnings': [ 4267, ],
113     },
114   ],