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) { |
| 6 import("//tools/grit/grit_rule.gni") |
| 7 } |
| 8 |
5 action("devtools_protocol_constants") { | 9 action("devtools_protocol_constants") { |
6 script = "devtools_protocol_constants_generator.py" | 10 script = "devtools_protocol_constants_generator.py" |
7 | 11 |
8 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" | 12 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" |
9 browser_protocol = "//content/browser/devtools/browser_protocol.json" | 13 browser_protocol = "//content/browser/devtools/browser_protocol.json" |
10 inputs = [ | 14 inputs = [ |
11 blink_protocol, | 15 blink_protocol, |
12 browser_protocol, | 16 browser_protocol, |
13 ] | 17 ] |
14 outputs = [ | 18 outputs = [ |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 | 58 |
55 deps = [ | 59 deps = [ |
56 ":devtools_protocol_constants", | 60 ":devtools_protocol_constants", |
57 "//base", | 61 "//base", |
58 "//content/public/browser", | 62 "//content/public/browser", |
59 "//net", | 63 "//net", |
60 ] | 64 ] |
61 | 65 |
62 if (!is_android) { | 66 if (!is_android) { |
63 deps += [ | 67 deps += [ |
| 68 "//chrome/app/theme:theme_resources", |
| 69 "//chrome/common/extensions/api", |
| 70 "//chrome/common/extensions/api:api_registration", |
64 "//chrome:extra_resources", | 71 "//chrome:extra_resources", |
65 "//chrome:resources", | 72 "//chrome:resources", |
66 "//chrome:strings", | 73 "//chrome:strings", |
67 "//chrome/app/theme:theme_resources", | |
68 "//chrome/common/extensions/api", | |
69 "//chrome/common/extensions/api:api_registration", | |
70 "//net:http_server", | 74 "//net:http_server", |
71 "//skia", | 75 "//skia", |
72 "//third_party/icu", | 76 "//third_party/icu", |
73 "//third_party/leveldatabase", | 77 "//third_party/leveldatabase", |
74 "//third_party/libusb", | 78 "//third_party/libusb", |
| 79 ":webrtc_device_provider_resources", |
75 ] | 80 ] |
76 sources += [ | 81 sources += [ |
| 82 "browser_list_tabcontents_provider.cc", |
| 83 "browser_list_tabcontents_provider.h", |
| 84 "chrome_devtools_manager_delegate.cc", |
| 85 "chrome_devtools_manager_delegate.h", |
77 "device/adb/adb_client_socket.cc", | 86 "device/adb/adb_client_socket.cc", |
78 "device/adb/adb_client_socket.h", | 87 "device/adb/adb_client_socket.h", |
79 "device/adb/adb_device_info_query.cc", | 88 "device/adb/adb_device_info_query.cc", |
80 "device/adb/adb_device_info_query.h", | 89 "device/adb/adb_device_info_query.h", |
81 "device/adb/adb_device_provider.cc", | 90 "device/adb/adb_device_provider.cc", |
82 "device/adb/adb_device_provider.h", | 91 "device/adb/adb_device_provider.h", |
83 "device/android_device_manager.cc", | 92 "device/android_device_manager.cc", |
84 "device/android_device_manager.h", | 93 "device/android_device_manager.h", |
85 "device/android_web_socket.cc", | 94 "device/android_web_socket.cc", |
| 95 "device/webrtc/webrtc_device_provider.cc", |
| 96 "device/webrtc/webrtc_device_provider.h", |
86 "device/devtools_android_bridge.cc", | 97 "device/devtools_android_bridge.cc", |
87 "device/devtools_android_bridge.h", | 98 "device/devtools_android_bridge.h", |
88 "device/port_forwarding_controller.cc", | 99 "device/port_forwarding_controller.cc", |
89 "device/port_forwarding_controller.h", | 100 "device/port_forwarding_controller.h", |
90 "device/self_device_provider.cc", | 101 "device/self_device_provider.cc", |
91 "device/self_device_provider.h", | 102 "device/self_device_provider.h", |
92 "device/usb/android_rsa.cc", | 103 "device/usb/android_rsa.cc", |
93 "device/usb/android_rsa.h", | 104 "device/usb/android_rsa.h", |
94 "device/usb/android_usb_device.cc", | 105 "device/usb/android_usb_device.cc", |
95 "device/usb/android_usb_device.h", | 106 "device/usb/android_usb_device.h", |
96 "device/usb/android_usb_socket.cc", | 107 "device/usb/android_usb_socket.cc", |
97 "device/usb/android_usb_socket.h", | 108 "device/usb/android_usb_socket.h", |
98 "device/usb/usb_device_provider.cc", | 109 "device/usb/usb_device_provider.cc", |
99 "device/usb/usb_device_provider.h", | 110 "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", | 111 "devtools_contents_resizing_strategy.cc", |
105 "devtools_contents_resizing_strategy.h", | 112 "devtools_contents_resizing_strategy.h", |
106 "devtools_embedder_message_dispatcher.cc", | 113 "devtools_embedder_message_dispatcher.cc", |
107 "devtools_embedder_message_dispatcher.h", | 114 "devtools_embedder_message_dispatcher.h", |
108 "devtools_file_helper.cc", | 115 "devtools_file_helper.cc", |
109 "devtools_file_helper.h", | 116 "devtools_file_helper.h", |
110 "devtools_file_system_indexer.cc", | 117 "devtools_file_system_indexer.cc", |
111 "devtools_file_system_indexer.h", | 118 "devtools_file_system_indexer.h", |
112 "devtools_target_impl.cc", | 119 "devtools_target_impl.cc", |
113 "devtools_target_impl.h", | 120 "devtools_target_impl.h", |
114 "devtools_targets_ui.cc", | 121 "devtools_targets_ui.cc", |
115 "devtools_targets_ui.h", | 122 "devtools_targets_ui.h", |
116 "devtools_toggle_action.cc", | 123 "devtools_toggle_action.cc", |
117 "devtools_toggle_action.h", | 124 "devtools_toggle_action.h", |
118 "devtools_ui_bindings.cc", | 125 "devtools_ui_bindings.cc", |
119 "devtools_ui_bindings.h", | 126 "devtools_ui_bindings.h", |
120 "devtools_window.cc", | 127 "devtools_window.cc", |
121 "devtools_window.h", | 128 "devtools_window.h", |
122 "remote_debugging_server.cc", | 129 "remote_debugging_server.cc", |
123 "remote_debugging_server.h", | 130 "remote_debugging_server.h", |
124 ] | 131 ] |
125 } | 132 } |
126 } | 133 } |
| 134 |
| 135 if (!is_android) { |
| 136 # GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:we
brtc_device_provider_resources |
| 137 grit("webrtc_device_provider_resources") { |
| 138 source = "device/webrtc/resources.grd" |
| 139 output_dir = "$root_gen_dir/chrome" |
| 140 outputs = [ |
| 141 "grit/webrtc_device_provider_resources_map.cc", |
| 142 "grit/webrtc_device_provider_resources_map.h", |
| 143 "webrtc_device_provider_resources.pak", |
| 144 ] |
| 145 } |
| 146 } |
OLD | NEW |