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