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.
5 action("devtools_protocol_constants") {
6 script = "devtools_protocol_constants_generator.py"
8 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json"
9 browser_protocol = "//content/browser/devtools/browser_protocol.json"
15 "$target_gen_dir/devtools_protocol_constants.cc",
16 "$target_gen_dir/devtools_protocol_constants.h",
20 args += rebase_path(outputs, root_build_dir)
21 args += [ rebase_path(blink_protocol, root_build_dir) ]
22 args += [ rebase_path(browser_protocol, root_build_dir) ]
25 # GYP version: chrome/chrome_debugger.gypi:debugger
26 static_library("devtools") {
27 # Note: new sources and deps should be generally added in (!is_android) below.
29 "devtools_network_conditions.cc",
30 "devtools_network_conditions.h",
31 "devtools_network_controller.cc",
32 "devtools_network_controller.h",
33 "devtools_network_interceptor.cc",
34 "devtools_network_interceptor.h",
35 "devtools_network_protocol_handler.cc",
36 "devtools_network_protocol_handler.h",
37 "devtools_network_transaction.cc",
38 "devtools_network_transaction.h",
39 "devtools_network_transaction_factory.cc",
40 "devtools_network_transaction_factory.h",
41 "devtools_protocol.cc",
42 "devtools_protocol.h",
44 sources += get_target_outputs(":devtools_protocol_constants")
47 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
48 cflags = [ "/wd4267" ]
51 "//build/config/compiler:wexit_time_destructors",
52 "//third_party/WebKit/public:debug_devtools",
56 ":devtools_protocol_constants",
58 "//content/public/browser",
64 "//chrome:extra_resources",
67 "//chrome/app/theme:theme_resources",
68 "//chrome/common/extensions/api",
69 "//chrome/common/extensions/api:api_registration",
73 "//third_party/leveldatabase",
74 "//third_party/libusb",
77 "device/adb/adb_client_socket.cc",
78 "device/adb/adb_client_socket.h",
79 "device/adb/adb_device_info_query.cc",
80 "device/adb/adb_device_info_query.h",
81 "device/adb/adb_device_provider.cc",
82 "device/adb/adb_device_provider.h",
83 "device/android_device_manager.cc",
84 "device/android_device_manager.h",
85 "device/android_web_socket.cc",
86 "device/devtools_android_bridge.cc",
87 "device/devtools_android_bridge.h",
88 "device/port_forwarding_controller.cc",
89 "device/port_forwarding_controller.h",
90 "device/self_device_provider.cc",
91 "device/self_device_provider.h",
92 "device/usb/android_rsa.cc",
93 "device/usb/android_rsa.h",
94 "device/usb/android_usb_device.cc",
95 "device/usb/android_usb_device.h",
96 "device/usb/android_usb_socket.cc",
97 "device/usb/android_usb_socket.h",
98 "device/usb/usb_device_provider.cc",
99 "device/usb/usb_device_provider.h",
100 "browser_list_tabcontents_provider.cc",
101 "browser_list_tabcontents_provider.h",
102 "chrome_devtools_manager_delegate.cc",
103 "chrome_devtools_manager_delegate.h",
104 "devtools_contents_resizing_strategy.cc",
105 "devtools_contents_resizing_strategy.h",
106 "devtools_embedder_message_dispatcher.cc",
107 "devtools_embedder_message_dispatcher.h",
108 "devtools_file_helper.cc",
109 "devtools_file_helper.h",
110 "devtools_file_system_indexer.cc",
111 "devtools_file_system_indexer.h",
112 "devtools_target_impl.cc",
113 "devtools_target_impl.h",
114 "devtools_targets_ui.cc",
115 "devtools_targets_ui.h",
116 "devtools_toggle_action.cc",
117 "devtools_toggle_action.h",
118 "devtools_ui_bindings.cc",
119 "devtools_ui_bindings.h",
120 "devtools_window.cc",
122 "remote_debugging_server.cc",
123 "remote_debugging_server.h",