Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(431)

Unified Diff: device/usb/BUILD.gn

Issue 1416513006: Aura on Android: compile gn target extensions/browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@content_unittests
Patch Set: Revert the changes in features.gni. Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/browser/api/serial/serial_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/usb/BUILD.gn
diff --git a/device/usb/BUILD.gn b/device/usb/BUILD.gn
index c30ae56e500287be62767bb69e5106600a5f36a4..8a9f47f78786249dddb20b845e858dc44772fb36 100644
--- a/device/usb/BUILD.gn
+++ b/device/usb/BUILD.gn
@@ -4,7 +4,7 @@
import("//build/config/features.gni")
-assert(!is_android && !is_ios)
+assert(!is_ios)
source_ids = "//third_party/usb_ids/usb.ids"
generated_ids = "$target_gen_dir/usb_ids_gen.cc"
@@ -57,6 +57,11 @@ source_set("usb") {
"//dbus",
]
}
+
+ # TODO(moshayedi): crbug.com/549257. Add USB support for Aura on Android.
+ if (is_android) {
+ deps -= [ "//third_party/libusb" ]
+ }
}
source_set("mocks") {
« no previous file with comments | « no previous file | extensions/browser/api/serial/serial_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698