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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 2561013002: Remove the enable_themes build flag and define. (Closed)
Patch Set: Merge Created 4 years 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 | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) {
« no previous file with comments | « chrome/browser/sync/profile_sync_service_factory.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698