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