summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 22:20:39 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-20 22:20:39 +0000
commiteaae8b461225ee3733f642143c3bf728d8763655 (patch)
tree757f2e89f13010eba83e9446c4b40aef2e7f67d2 /build
parent70b5ecaf5554037b5470b3ca64896eaa1b369063 (diff)
downloadchromium_src-eaae8b461225ee3733f642143c3bf728d8763655.zip
chromium_src-eaae8b461225ee3733f642143c3bf728d8763655.tar.gz
chromium_src-eaae8b461225ee3733f642143c3bf728d8763655.tar.bz2
aura: Replace UI-feature GYP flags with switches.
This replaces the aura_show_about_flag_window_mode and chromeos_legacy_power_button GYP flags with --aura-force-compact-window-mode and --aura-legacy-power-button command-line switches. There is concern that using compile-time flags to control these features will greatly increase the workload on the Chrome OS builders; we apparently currently share Chrome binaries across all Chrome OS boards with the same architecture. BUG=109209,109052,chrome-os-partner:7570 TEST=manual Review URL: https://chromiumcodereview.appspot.com/9264025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118522 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi26
1 files changed, 0 insertions, 26 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 7a124b5..c2cc6d4 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -45,15 +45,9 @@
# Default setting for use_skia on mac platform.
# This is typically overridden in use_skia_on_mac.gypi.
'use_skia_on_mac%': 0,
-
- # Whether or not to show the aura-window-mode flag in about://flags.
- # TODO(alicet): Remove this when we can expose the flag to
- # all chromeos platforms.
- 'aura_show_about_flag_window_mode': 0,
},
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
- 'aura_show_about_flag_window_mode%': '<(aura_show_about_flag_window_mode)',
'views_compositor%': '<(views_compositor)',
'use_aura%': '<(use_aura)',
'use_ash%': '<(use_ash)',
@@ -78,11 +72,6 @@
'use_aura%': 1,
}],
- # show aura-window-mode about flag by default.
- ['use_aura==1', {
- 'aura_show_about_flag_window_mode': 1,
- }],
-
# Set default value of toolkit_views based on OS.
['OS=="win" or chromeos==1 or use_aura==1', {
'toolkit_views%': 1,
@@ -107,7 +96,6 @@
# Copy conditionally-set variables out one scope.
'chromeos%': '<(chromeos)',
'host_arch%': '<(host_arch)',
- 'aura_show_about_flag_window_mode%': '<(aura_show_about_flag_window_mode)',
'toolkit_views%': '<(toolkit_views)',
'views_compositor%': '<(views_compositor)',
'use_webkit_compositor%': '<(use_webkit_compositor)',
@@ -400,7 +388,6 @@
'target_arch%': '<(target_arch)',
'host_arch%': '<(host_arch)',
'library%': 'static_library',
- 'aura_show_about_flag_window_mode%': '<(aura_show_about_flag_window_mode)',
'toolkit_views%': '<(toolkit_views)',
'views_compositor%': '<(views_compositor)',
'ui_compositor_image_transport%': '<(ui_compositor_image_transport)',
@@ -682,10 +669,6 @@
# Disable Dart by default.
'enable_dart%': 0,
- # (Most) Chrome OS hardware reports ACPI power button releases correctly.
- # Standard hardware reports releases immediately after presses.
- 'chromeos_legacy_power_button%': 0,
-
'conditions': [
# Used to disable Native Client at compile time, for platforms where it
# isn't supported (ARM)
@@ -884,9 +867,6 @@
['chromeos==1', {
'grit_defines': ['-D', 'chromeos'],
}],
- ['aura_show_about_flag_window_mode==1', {
- 'grit_defines': ['-D', 'aura_show_about_flag_window_mode'],
- }],
['toolkit_views==1', {
'grit_defines': ['-D', 'toolkit_views'],
}],
@@ -1055,9 +1035,6 @@
# See http://code.google.com/p/chromium/issues/detail?id=98755 .
'defines': ['COMPILE_CONTENT_STATICALLY'],
}],
- ['aura_show_about_flag_window_mode==1', {
- 'defines': ['AURA_SHOW_ABOUT_FLAG_WINDOW_MODE=1'],
- }],
['toolkit_views==1', {
'defines': ['TOOLKIT_VIEWS=1'],
}],
@@ -1090,9 +1067,6 @@
['chromeos==1', {
'defines': ['OS_CHROMEOS=1'],
}],
- ['chromeos_legacy_power_button==1', {
- 'defines': ['CHROMEOS_LEGACY_POWER_BUTTON=1'],
- }],
['use_virtual_keyboard==1', {
'defines': ['USE_VIRTUAL_KEYBOARD=1'],
}],