Chromium Code Reviews| 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, |