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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ash/wm/power_button_controller_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
635 'build_webkit_exes_from_webkit_gyp%': 1, 635 'build_webkit_exes_from_webkit_gyp%': 1,
636 636
637 # This flag is only used when disable_nacl==0 and disables all those 637 # This flag is only used when disable_nacl==0 and disables all those
638 # subcomponents which would require the installation of a native_client 638 # subcomponents which would require the installation of a native_client
639 # untrusted toolchain. 639 # untrusted toolchain.
640 'disable_nacl_untrusted%': 0, 640 'disable_nacl_untrusted%': 0,
641 641
642 # Disable Dart by default. 642 # Disable Dart by default.
643 'enable_dart%': 0, 643 'enable_dart%': 0,
644 644
645 # (Most) Chrome OS hardware reports ACPI power button releases correctly.
646 # Standard hardware reports releases immediately after presses.
647 'chromeos_legacy_power_button%': 0,
648
645 'conditions': [ 649 'conditions': [
646 # Used to disable Native Client at compile time, for platforms where it 650 # Used to disable Native Client at compile time, for platforms where it
647 # isn't supported (ARM) 651 # isn't supported (ARM)
648 ['target_arch=="arm" and chromeos == 1', { 652 ['target_arch=="arm" and chromeos == 1', {
649 'disable_nacl%': 1, 653 'disable_nacl%': 1,
650 }, { 654 }, {
651 'disable_nacl%': 0, 655 'disable_nacl%': 0,
652 }], 656 }],
653 ['os_posix==1 and OS!="mac" and OS!="android"', { 657 ['os_posix==1 and OS!="mac" and OS!="android"', {
654 # This will set gcc_version to XY if you are running gcc X.Y.*. 658 # This will set gcc_version to XY if you are running gcc X.Y.*.
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 'defines': ['TOOLKIT_USES_GTK=1'], 1037 'defines': ['TOOLKIT_USES_GTK=1'],
1034 }], 1038 }],
1035 ['toolkit_uses_gtk==1 and toolkit_views==0', { 1039 ['toolkit_uses_gtk==1 and toolkit_views==0', {
1036 # TODO(erg): We are progressively sealing up use of deprecated features 1040 # TODO(erg): We are progressively sealing up use of deprecated features
1037 # in gtk in preparation for an eventual porting to gtk3. 1041 # in gtk in preparation for an eventual porting to gtk3.
1038 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'], 1042 'defines': ['GTK_DISABLE_SINGLE_INCLUDES=1'],
1039 }], 1043 }],
1040 ['chromeos==1', { 1044 ['chromeos==1', {
1041 'defines': ['OS_CHROMEOS=1'], 1045 'defines': ['OS_CHROMEOS=1'],
1042 }], 1046 }],
1047 ['chromeos_legacy_power_button==1', {
1048 'defines': ['CHROMEOS_LEGACY_POWER_BUTTON=1'],
1049 }],
1043 ['use_virtual_keyboard==1', { 1050 ['use_virtual_keyboard==1', {
1044 'defines': ['USE_VIRTUAL_KEYBOARD=1'], 1051 'defines': ['USE_VIRTUAL_KEYBOARD=1'],
1045 }], 1052 }],
1046 ['use_xi2_mt!=0', { 1053 ['use_xi2_mt!=0', {
1047 'defines': ['USE_XI2_MT=<(use_xi2_mt)'], 1054 'defines': ['USE_XI2_MT=<(use_xi2_mt)'],
1048 }], 1055 }],
1049 ['use_wayland==1', { 1056 ['use_wayland==1', {
1050 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'], 1057 'defines': ['USE_WAYLAND=1', 'WL_EGL_PLATFORM=1'],
1051 }], 1058 }],
1052 ['file_manager_extension==1', { 1059 ['file_manager_extension==1', {
(...skipping 1727 matching lines...) Expand 10 before | Expand all | Expand 10 after
2780 # settings in target dicts. SYMROOT is a special case, because many other 2787 # settings in target dicts. SYMROOT is a special case, because many other
2781 # Xcode variables depend on it, including variables such as 2788 # Xcode variables depend on it, including variables such as
2782 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 2789 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
2783 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 2790 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
2784 # files to appear (when present) in the UI as actual files and not red 2791 # files to appear (when present) in the UI as actual files and not red
2785 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 2792 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
2786 # and therefore SYMROOT, needs to be set at the project level. 2793 # and therefore SYMROOT, needs to be set at the project level.
2787 'SYMROOT': '<(DEPTH)/xcodebuild', 2794 'SYMROOT': '<(DEPTH)/xcodebuild',
2788 }, 2795 },
2789 } 2796 }
OLDNEW
« 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