Index: build/config/ui.gni |
diff --git a/build/config/ui.gni b/build/config/ui.gni |
index 20ffb958a74bd82a6d3db895f21744f21193643a..92d3d6181717c3941c751d7d26e42b139d5a7e46 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 |
@@ -50,6 +46,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. |