Index: chrome/browser/devtools/BUILD.gn |
diff --git a/chrome/browser/devtools/BUILD.gn b/chrome/browser/devtools/BUILD.gn |
index 976801b0ef17979d367dc05a87e72586b26af6e9..e4862ab2c2cddca6011904da9b0aa2d1adae5f47 100644 |
--- a/chrome/browser/devtools/BUILD.gn |
+++ b/chrome/browser/devtools/BUILD.gn |
@@ -2,7 +2,7 @@ |
# Use of this source code is governed by a BSD-style license that can be |
# found in the LICENSE file. |
-if (!is_android) { |
+if (!is_android || use_aura) { |
import("//tools/grit/grit_rule.gni") |
} |
@@ -63,7 +63,7 @@ static_library("devtools") { |
"//net", |
] |
- if (!is_android) { |
+ if (!is_android || use_aura) { |
deps += [ |
"//chrome/app/theme:theme_resources", |
"//chrome/common/extensions/api", |
@@ -132,10 +132,16 @@ static_library("devtools") { |
"remote_debugging_server.cc", |
"remote_debugging_server.h", |
] |
+ |
+ if (is_android) { |
+ deps -= [ |
+ "//third_party/libusb", |
+ ] |
+ } |
} |
} |
-if (!is_android) { |
+if (!is_android || use_aura) { |
# GYP version: chrome/browser/devtools/webrtc_device_provider_resources.gyp:webrtc_device_provider_resources |
grit("webrtc_device_provider_resources") { |
source = "device/webrtc/resources.grd" |