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