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

Unified Diff: build/common.gypi

Issue 9351004: Reverting Gyp simplifications in chrome/chrome_browser.gypi (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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 | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 778ece46f31ed19e110c97b9432eb071e07a37d6..d815a4c0703ed59c1dbf4e63626afd4a8cb86122 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -68,7 +68,7 @@
'use_aura%': 1,
}],
- # Set value of toolkit_views based on OS.
+ # Set default value of toolkit_views based on OS.
['OS=="win" or chromeos==1 or use_aura==1', {
'toolkit_views%': 1,
}, {
@@ -294,32 +294,31 @@
# Flags to use X11 on non-Mac POSIX platforms
['OS=="win" or OS=="mac" or OS=="android"', {
'use_glib%': 0,
+ 'toolkit_uses_gtk%': 0,
'use_x11%': 0,
}, {
- # TODO(dnicoara/msb) Wayland build should have these disabled.
+ # TODO(dnicoara) Wayland build should have these disabled, but
+ # currently GTK and X is too spread and it's hard to completely
+ # remove every dependency.
'use_glib%': 1,
- 'use_x11%': 1,
- }],
-
- # Aura and most platforms never use GTK.
- ['use_aura==1 or OS=="win" or OS=="mac" or OS=="android"', {
- 'toolkit_uses_gtk%': 0,
- }, {
'toolkit_uses_gtk%': 1,
+ 'use_x11%': 1,
}],
-
# We always use skia text rendering in Aura on Windows, since GDI
# doesn't agree with our BackingStore.
# TODO(beng): remove once skia text rendering is on by default.
['use_aura==1 and OS=="win"', {
'enable_skia_text%': 1,
}],
+ ['use_aura==1 and OS!="win"', {
+ 'toolkit_uses_gtk%': 0,
+ }],
# A flag to enable or disable our compile-time dependency
# on gnome-keyring. If that dependency is disabled, no gnome-keyring
# support will be available. This option is useful
# for Linux distributions and for Aura.
- ['use_aura==1', {
+ ['chromeos==1 or use_aura==1', {
'use_gnome_keyring%': 0,
}, {
'use_gnome_keyring%': 1,
@@ -331,17 +330,26 @@
}],
# Enable some hacks to support Flapper only on Chrome OS.
- # Enable file manager extension on ChromeOS.
['chromeos==1', {
'enable_flapper_hacks%': 1,
- 'file_manager_extension%': 1,
}, {
'enable_flapper_hacks%': 0,
+ }],
+
+ # Enable file manager extension on Chrome OS or Aura.
+ ['chromeos==1 or use_aura==1', {
+ 'file_manager_extension%': 1,
+ }, {
+ 'file_manager_extension%': 0,
+ }],
+
+ # ... except on Windows even with Aura.
+ ['use_aura==1 and OS=="win"', {
'file_manager_extension%': 0,
}],
- # Enable WebUI TaskManager on Aura.
- ['use_aura==1', {
+ # Enable WebUI TaskManager on Chrome OS or Aura.
+ ['chromeos==1 or use_aura==1', {
'webui_task_manager%': 1,
}],
@@ -363,8 +371,7 @@
'chromium_win_pch%': 1
}],
- # No plugin installation allowed under Aura.
- ['use_aura==1', {
+ ['use_aura==1 or chromeos==1', {
'enable_plugin_installation%': 0,
}, {
'enable_plugin_installation%': 1,
« no previous file with comments | « no previous file | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698