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

Unified Diff: build/common.gypi

Issue 9110044: chromeos/aura: Handle power button on unofficial hardware. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: show background on shutdown and move gyp variable to a different scope Created 8 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 | « ash/wm/power_button_controller_unittest.cc ('k') | no next file » | 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 bc6b71bb715788b15071d13364961839b434184b..ced9808cd3b096a419c57da38a8996172c819286 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -642,6 +642,10 @@
# 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)
@@ -1040,6 +1044,9 @@
['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'],
}],
« no previous file with comments | « ash/wm/power_button_controller_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698