Chromium Code Reviews

Side by Side Diff: chrome/browser/devtools/BUILD.gn

Issue 1391893003: NOT FOR REVIEW: Aura on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
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 || use_aura) {
6 import("//tools/grit/grit_rule.gni") 6 import("//tools/grit/grit_rule.gni")
7 } 7 }
8 8
9 action("devtools_protocol_constants") { 9 action("devtools_protocol_constants") {
10 script = "devtools_protocol_constants_generator.py" 10 script = "devtools_protocol_constants_generator.py"
11 11
12 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json" 12 blink_protocol = "//third_party/WebKit/Source/devtools/protocol.json"
13 browser_protocol = "//content/browser/devtools/browser_protocol.json" 13 browser_protocol = "//content/browser/devtools/browser_protocol.json"
14 inputs = [ 14 inputs = [
15 blink_protocol, 15 blink_protocol,
(...skipping 40 matching lines...)
56 "//third_party/WebKit/public:debug_devtools", 56 "//third_party/WebKit/public:debug_devtools",
57 ] 57 ]
58 58
59 deps = [ 59 deps = [
60 ":devtools_protocol_constants", 60 ":devtools_protocol_constants",
61 "//base", 61 "//base",
62 "//content/public/browser", 62 "//content/public/browser",
63 "//net", 63 "//net",
64 ] 64 ]
65 65
66 if (!is_android) { 66 if (!is_android || use_aura) {
67 deps += [ 67 deps += [
68 "//chrome/app/theme:theme_resources", 68 "//chrome/app/theme:theme_resources",
69 "//chrome/common/extensions/api", 69 "//chrome/common/extensions/api",
70 "//chrome:extra_resources", 70 "//chrome:extra_resources",
71 "//chrome:resources", 71 "//chrome:resources",
72 "//chrome:strings", 72 "//chrome:strings",
73 "//components/devtools_http_handler", 73 "//components/devtools_http_handler",
74 "//net:http_server", 74 "//net:http_server",
75 "//skia", 75 "//skia",
76 "//third_party/icu", 76 "//third_party/icu",
(...skipping 48 matching lines...)
125 "devtools_targets_ui.h", 125 "devtools_targets_ui.h",
126 "devtools_toggle_action.cc", 126 "devtools_toggle_action.cc",
127 "devtools_toggle_action.h", 127 "devtools_toggle_action.h",
128 "devtools_ui_bindings.cc", 128 "devtools_ui_bindings.cc",
129 "devtools_ui_bindings.h", 129 "devtools_ui_bindings.h",
130 "devtools_window.cc", 130 "devtools_window.cc",
131 "devtools_window.h", 131 "devtools_window.h",
132 "remote_debugging_server.cc", 132 "remote_debugging_server.cc",
133 "remote_debugging_server.h", 133 "remote_debugging_server.h",
134 ] 134 ]
135
136 if (is_android) {
137 deps -= [
138 "//third_party/libusb",
139 ]
140 }
135 } 141 }
136 } 142 }
137 143
138 if (!is_android) { 144 if (!is_android || use_aura) {
139 # GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:we brtc_device_provider_resources 145 # GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:we brtc_device_provider_resources
140 grit("webrtc_device_provider_resources") { 146 grit("webrtc_device_provider_resources") {
141 source = "device/webrtc/resources.grd" 147 source = "device/webrtc/resources.grd"
142 output_dir = "$root_gen_dir/chrome" 148 output_dir = "$root_gen_dir/chrome"
143 outputs = [ 149 outputs = [
144 "grit/webrtc_device_provider_resources.h", 150 "grit/webrtc_device_provider_resources.h",
145 "grit/webrtc_device_provider_resources_map.cc", 151 "grit/webrtc_device_provider_resources_map.cc",
146 "grit/webrtc_device_provider_resources_map.h", 152 "grit/webrtc_device_provider_resources_map.h",
147 "webrtc_device_provider_resources.pak", 153 "webrtc_device_provider_resources.pak",
148 ] 154 ]
149 } 155 }
150 } 156 }
OLDNEW

Powered by Google App Engine