Index: build/config/ui.gni |
diff --git a/build/config/ui.gni b/build/config/ui.gni |
index 973860005427193ad9c4e34aebdfeb81866aa135..dd6145c041357599136f36c15f07cbf3eb670469 100644 |
--- a/build/config/ui.gni |
+++ b/build/config/ui.gni |
@@ -33,10 +33,6 @@ declare_args() { |
# of a replacement for GDI or GTK. |
use_aura = is_win || is_linux |
- # True means the UI is built using the "views" framework. |
- toolkit_views = |
- (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast |
- |
# Whether the entire browser uses toolkit-views on Mac instead of Cocoa. |
mac_views_browser = false |
@@ -53,6 +49,12 @@ declare_args() { |
enable_vulkan = false |
} |
+declare_args() { |
+ # True means the UI is built using the "views" framework. |
+ toolkit_views = |
+ (is_mac || is_win || is_chromeos || use_aura) && !is_chromecast |
+} |
+ |
# Additional dependent variables ----------------------------------------------- |
# |
# These variables depend on other variables and can't be set externally. |