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

Unified Diff: extensions/common/BUILD.gn

Issue 1409033007: Aura on Android: Stub implementation of UsbPrinterManifestHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/common/api/printer_provider/usb_printer_manifest_handler_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/BUILD.gn
diff --git a/extensions/common/BUILD.gn b/extensions/common/BUILD.gn
index c0bff59ac0ef77a74bbc8378df84ce60a1ffae05..f9f21bad9511c04c7feb1a02fbf45cfca5c59684 100644
--- a/extensions/common/BUILD.gn
+++ b/extensions/common/BUILD.gn
@@ -56,7 +56,6 @@ if (enable_extensions) {
"//content/public/common",
"//crypto",
"//device/bluetooth",
- "//device/usb",
"//extensions/common/api",
"//extensions/strings",
"//extensions:extensions_resources",
@@ -72,6 +71,18 @@ if (enable_extensions) {
"//url",
]
+ if (!is_android) {
+ deps += [ "//device/usb" ]
mfomitchev 2015/11/03 15:23:29 Remove this conditionally rather than adding it co
Hadi 2015/11/03 16:31:53 Done.
+ } else {
+ sources -= [
+ "api/printer_provider/usb_printer_manifest_data.cc",
+ "api/printer_provider/usb_printer_manifest_data.h",
+ "api/printer_provider/usb_printer_manifest_handler.cc",
+ ]
+ sources +=
+ [ "api/printer_provider/usb_printer_manifest_handler_android.cc" ]
mfomitchev 2015/11/03 15:23:29 Add this in gypi, then you won't need a special ru
Hadi 2015/11/03 16:31:53 Done.
+ }
+
if (enable_nacl) {
nacl_sources =
rebase_path(extensions_gypi_values.extensions_common_sources_nacl,
« no previous file with comments | « no previous file | extensions/common/api/printer_provider/usb_printer_manifest_handler_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698