OLD | NEW |
---|---|
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 if (!is_android) { | 5 if (!is_android) { |
6 import("//build/config/features.gni") | |
6 import("//tools/grit/grit_rule.gni") | 7 import("//tools/grit/grit_rule.gni") |
7 } | 8 } |
8 | 9 |
9 action("devtools_protocol_constants") { | 10 action("devtools_protocol_constants") { |
10 script = "devtools_protocol_constants_generator.py" | 11 script = "devtools_protocol_constants_generator.py" |
11 | 12 |
12 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" | 13 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" |
13 browser_protocol = "//content/browser/devtools/browser_protocol.json" | 14 browser_protocol = "//content/browser/devtools/browser_protocol.json" |
14 inputs = [ | 15 inputs = [ |
15 blink_protocol, | 16 blink_protocol, |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 "chrome_devtools_discovery_provider.cc", | 87 "chrome_devtools_discovery_provider.cc", |
87 "chrome_devtools_discovery_provider.h", | 88 "chrome_devtools_discovery_provider.h", |
88 "device/adb/adb_client_socket.cc", | 89 "device/adb/adb_client_socket.cc", |
89 "device/adb/adb_client_socket.h", | 90 "device/adb/adb_client_socket.h", |
90 "device/adb/adb_device_provider.cc", | 91 "device/adb/adb_device_provider.cc", |
91 "device/adb/adb_device_provider.h", | 92 "device/adb/adb_device_provider.h", |
92 "device/android_device_info_query.cc", | 93 "device/android_device_info_query.cc", |
93 "device/android_device_manager.cc", | 94 "device/android_device_manager.cc", |
94 "device/android_device_manager.h", | 95 "device/android_device_manager.h", |
95 "device/android_web_socket.cc", | 96 "device/android_web_socket.cc", |
96 "device/cast_device_provider.cc", | |
97 "device/cast_device_provider.h", | |
98 "device/devtools_android_bridge.cc", | 97 "device/devtools_android_bridge.cc", |
99 "device/devtools_android_bridge.h", | 98 "device/devtools_android_bridge.h", |
100 "device/port_forwarding_controller.cc", | 99 "device/port_forwarding_controller.cc", |
101 "device/port_forwarding_controller.h", | 100 "device/port_forwarding_controller.h", |
102 "device/tcp_device_provider.cc", | 101 "device/tcp_device_provider.cc", |
103 "device/tcp_device_provider.h", | 102 "device/tcp_device_provider.h", |
104 "device/usb/android_rsa.cc", | 103 "device/usb/android_rsa.cc", |
105 "device/usb/android_rsa.h", | 104 "device/usb/android_rsa.h", |
106 "device/usb/android_usb_device.cc", | 105 "device/usb/android_usb_device.cc", |
107 "device/usb/android_usb_device.h", | 106 "device/usb/android_usb_device.h", |
108 "device/usb/android_usb_socket.cc", | 107 "device/usb/android_usb_socket.cc", |
109 "device/usb/android_usb_socket.h", | 108 "device/usb/android_usb_socket.h", |
110 "device/usb/usb_device_provider.cc", | 109 "device/usb/usb_device_provider.cc", |
111 "device/usb/usb_device_provider.h", | 110 "device/usb/usb_device_provider.h", |
112 "device/webrtc/devtools_bridge_client.cc", | |
113 "device/webrtc/devtools_bridge_client.h", | |
114 "device/webrtc/devtools_bridge_instances_request.cc", | |
115 "device/webrtc/devtools_bridge_instances_request.h", | |
116 "device/webrtc/send_command_request.cc", | |
117 "device/webrtc/send_command_request.h", | |
118 "device/webrtc/webrtc_device_provider.cc", | |
119 "device/webrtc/webrtc_device_provider.h", | |
120 "devtools_contents_resizing_strategy.cc", | 111 "devtools_contents_resizing_strategy.cc", |
121 "devtools_contents_resizing_strategy.h", | 112 "devtools_contents_resizing_strategy.h", |
122 "devtools_embedder_message_dispatcher.cc", | 113 "devtools_embedder_message_dispatcher.cc", |
123 "devtools_embedder_message_dispatcher.h", | 114 "devtools_embedder_message_dispatcher.h", |
124 "devtools_file_helper.cc", | 115 "devtools_file_helper.cc", |
125 "devtools_file_helper.h", | 116 "devtools_file_helper.h", |
126 "devtools_file_system_indexer.cc", | 117 "devtools_file_system_indexer.cc", |
127 "devtools_file_system_indexer.h", | 118 "devtools_file_system_indexer.h", |
128 "devtools_file_watcher.cc", | 119 "devtools_file_watcher.cc", |
129 "devtools_file_watcher.h", | 120 "devtools_file_watcher.h", |
130 "devtools_target_impl.cc", | 121 "devtools_target_impl.cc", |
131 "devtools_target_impl.h", | 122 "devtools_target_impl.h", |
132 "devtools_targets_ui.cc", | 123 "devtools_targets_ui.cc", |
133 "devtools_targets_ui.h", | 124 "devtools_targets_ui.h", |
134 "devtools_toggle_action.cc", | 125 "devtools_toggle_action.cc", |
135 "devtools_toggle_action.h", | 126 "devtools_toggle_action.h", |
136 "devtools_ui_bindings.cc", | 127 "devtools_ui_bindings.cc", |
137 "devtools_ui_bindings.h", | 128 "devtools_ui_bindings.h", |
138 "devtools_window.cc", | 129 "devtools_window.cc", |
139 "devtools_window.h", | 130 "devtools_window.h", |
140 "global_confirm_info_bar.cc", | 131 "global_confirm_info_bar.cc", |
141 "global_confirm_info_bar.h", | 132 "global_confirm_info_bar.h", |
142 "remote_debugging_server.cc", | 133 "remote_debugging_server.cc", |
143 "remote_debugging_server.h", | 134 "remote_debugging_server.h", |
144 ] | 135 ] |
136 if (enable_service_discovery) { | |
Vitaly Buka (NO REVIEWS)
2016/01/04 23:10:46
I guess it's always enabled on platforms with devt
| |
137 sources += [ | |
138 "device/cast_device_provider.cc", | |
139 "device/cast_device_provider.h", | |
140 "device/webrtc/devtools_bridge_client.cc", | |
141 "device/webrtc/devtools_bridge_client.h", | |
Vitaly Buka (NO REVIEWS)
2016/01/04 23:10:46
Some of these files depend on gcd_api_flow.cc only
| |
142 "device/webrtc/devtools_bridge_instances_request.cc", | |
143 "device/webrtc/devtools_bridge_instances_request.h", | |
144 "device/webrtc/send_command_request.cc", | |
Vitaly Buka (NO REVIEWS)
2016/01/05 01:18:13
Actually this code is obsolete and going away:
htt
Lei Zhang
2016/01/05 02:36:10
I'll wait for that to land and see what we end up
| |
145 "device/webrtc/send_command_request.h", | |
146 "device/webrtc/webrtc_device_provider.cc", | |
147 "device/webrtc/webrtc_device_provider.h", | |
148 ] | |
149 } | |
145 } | 150 } |
146 } | 151 } |
147 | 152 |
148 if (!is_android) { | 153 if (!is_android) { |
149 # GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:we brtc_device_provider_resources | 154 # GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:we brtc_device_provider_resources |
150 grit("webrtc_device_provider_resources") { | 155 grit("webrtc_device_provider_resources") { |
151 source = "device/webrtc/resources.grd" | 156 source = "device/webrtc/resources.grd" |
152 output_dir = "$root_gen_dir/chrome" | 157 output_dir = "$root_gen_dir/chrome" |
153 outputs = [ | 158 outputs = [ |
154 "grit/webrtc_device_provider_resources.h", | 159 "grit/webrtc_device_provider_resources.h", |
155 "grit/webrtc_device_provider_resources_map.cc", | 160 "grit/webrtc_device_provider_resources_map.cc", |
156 "grit/webrtc_device_provider_resources_map.h", | 161 "grit/webrtc_device_provider_resources_map.h", |
157 "webrtc_device_provider_resources.pak", | 162 "webrtc_device_provider_resources.pak", |
158 ] | 163 ] |
159 } | 164 } |
160 } | 165 } |
OLD | NEW |