Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index cb1fa28c9ba58cb1c0d2b1209949ed5eb341ea50..ee65b217061bb883c8a27feb6ab15c64d41a206d 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -87,7 +87,6 @@ static_library("ui") { |
"//chrome/installer/util", |
"//components/autofill/content/browser:risk_proto", |
"//components/power", |
- "//device/bluetooth", |
"//device/nfc", |
"//media", |
"//mojo/edk/system", |
@@ -123,6 +122,12 @@ static_library("ui") { |
deps += [ "//net" ] |
} |
+ if (!is_android && !is_ios) { |
+ sources += rebase_path(gypi_values.chrome_browser_ui_non_mobile_sources, |
+ ".", "//chrome") |
+ deps += [ "//device/bluetooth" ] |
+ } |
+ |
if (printing_mode != 0) { |
deps += [ "//printing" ] |
} |