Index: chrome/browser/ui/BUILD.gn |
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn |
index c29cffcd916984e28e4984aec49ec6593906578f..559b0fa9df031146e1978dd710f3ed8d0df0aa4c 100644 |
--- a/chrome/browser/ui/BUILD.gn |
+++ b/chrome/browser/ui/BUILD.gn |
@@ -2101,13 +2101,6 @@ split_static_library("ui") { |
"webui/settings/native_certificates_handler.h", |
] |
} |
- if (enable_themes) { |
- sources += [ |
- "webui/theme_source.cc", |
- "webui/theme_source.h", |
- ] |
- deps += [ "//chrome/browser:theme_properties" ] |
- } |
if (enable_print_preview) { |
sources += [ |
"webui/print_preview/extension_printer_handler.cc", |
@@ -2274,7 +2267,13 @@ split_static_library("ui") { |
deps -= [ "//ui/events" ] |
} |
} else { |
- sources += [ "browser_window.h" ] |
+ # !is_android |
+ sources += [ |
+ "browser_window.h", |
+ "webui/theme_source.cc", |
+ "webui/theme_source.h", |
+ ] |
+ deps += [ "//chrome/browser:theme_properties" ] |
} |
if (is_mac) { |