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

Unified Diff: build/config/ui.gni

Issue 1558123002: Allow enable_topchrome_md to be overridden in gn build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add flag doc Created 4 years, 11 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/ui.gni
diff --git a/build/config/ui.gni b/build/config/ui.gni
index fa4f142ea9f19a00e6597caaf51300a03dc42505..42d59a46c14796cf63509532f77ff3b09a1f40f5 100644
--- a/build/config/ui.gni
+++ b/build/config/ui.gni
@@ -47,6 +47,10 @@ declare_args() {
# Whether we should use glib, a low level C utility library.
use_glib = is_linux
+ # Indicates if material design elements in the top chrome of the browser are
+ # enabled.
+ enable_topchrome_md = is_chromeos || is_win || is_linux
+
# Indicates if Wayland display server support is enabled.
enable_wayland_server = is_chromeos
}
@@ -88,5 +92,3 @@ use_atk = is_desktop_linux && use_x11
use_clipboard_aurax11 = is_linux && use_aura && use_x11
enable_hidpi = is_mac || is_win || is_linux
-
-enable_topchrome_md = is_chromeos || is_win || is_linux
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698