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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 "chrome_devtools_discovery_provider.cc", | 86 "chrome_devtools_discovery_provider.cc", |
86 "chrome_devtools_discovery_provider.h", | 87 "chrome_devtools_discovery_provider.h", |
87 "device/adb/adb_client_socket.cc", | 88 "device/adb/adb_client_socket.cc", |
88 "device/adb/adb_client_socket.h", | 89 "device/adb/adb_client_socket.h", |
89 "device/adb/adb_device_provider.cc", | 90 "device/adb/adb_device_provider.cc", |
90 "device/adb/adb_device_provider.h", | 91 "device/adb/adb_device_provider.h", |
91 "device/android_device_info_query.cc", | 92 "device/android_device_info_query.cc", |
92 "device/android_device_manager.cc", | 93 "device/android_device_manager.cc", |
93 "device/android_device_manager.h", | 94 "device/android_device_manager.h", |
94 "device/android_web_socket.cc", | 95 "device/android_web_socket.cc", |
95 "device/cast_device_provider.cc", | |
96 "device/cast_device_provider.h", | |
97 "device/devtools_android_bridge.cc", | 96 "device/devtools_android_bridge.cc", |
98 "device/devtools_android_bridge.h", | 97 "device/devtools_android_bridge.h", |
99 "device/port_forwarding_controller.cc", | 98 "device/port_forwarding_controller.cc", |
100 "device/port_forwarding_controller.h", | 99 "device/port_forwarding_controller.h", |
101 "device/tcp_device_provider.cc", | 100 "device/tcp_device_provider.cc", |
102 "device/tcp_device_provider.h", | 101 "device/tcp_device_provider.h", |
103 "device/usb/android_rsa.cc", | 102 "device/usb/android_rsa.cc", |
104 "device/usb/android_rsa.h", | 103 "device/usb/android_rsa.h", |
105 "device/usb/android_usb_device.cc", | 104 "device/usb/android_usb_device.cc", |
106 "device/usb/android_usb_device.h", | 105 "device/usb/android_usb_device.h", |
(...skipping 19 matching lines...) Expand all Loading... |
126 "devtools_toggle_action.h", | 125 "devtools_toggle_action.h", |
127 "devtools_ui_bindings.cc", | 126 "devtools_ui_bindings.cc", |
128 "devtools_ui_bindings.h", | 127 "devtools_ui_bindings.h", |
129 "devtools_window.cc", | 128 "devtools_window.cc", |
130 "devtools_window.h", | 129 "devtools_window.h", |
131 "global_confirm_info_bar.cc", | 130 "global_confirm_info_bar.cc", |
132 "global_confirm_info_bar.h", | 131 "global_confirm_info_bar.h", |
133 "remote_debugging_server.cc", | 132 "remote_debugging_server.cc", |
134 "remote_debugging_server.h", | 133 "remote_debugging_server.h", |
135 ] | 134 ] |
| 135 if (enable_service_discovery) { |
| 136 sources += [ |
| 137 "device/cast_device_provider.cc", |
| 138 "device/cast_device_provider.h", |
| 139 ] |
| 140 } |
136 } | 141 } |
137 } | 142 } |
OLD | NEW |