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

Side by Side Diff: build/common.gypi

Issue 25665008: Force use_ash to 0 if use_aura is 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one layer lower... Created 7 years, 2 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
« no previous file with comments | « no previous file | 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 # Override branding to select the desired branding flavor. 68 # Override branding to select the desired branding flavor.
69 'branding%': 'Chromium', 69 'branding%': 'Chromium',
70 70
71 'conditions': [ 71 'conditions': [
72 # ChromeOS and Windows use Aura and Ash. 72 # ChromeOS and Windows use Aura and Ash.
73 ['chromeos==1 or OS=="win"', { 73 ['chromeos==1 or OS=="win"', {
74 'use_ash%': 1, 74 'use_ash%': 1,
75 'use_aura%': 1, 75 'use_aura%': 1,
76 }], 76 }],
77 77
78 # For now, Windows builds that |use_aura| should also imply using
79 # ash. This rule should be removed for the future when Windows is
80 # using the aura windows without the ash interface.
81 ['use_aura==1 and OS=="win"', {
82 'use_ash%': 1,
83 }],
84 ['use_ash==1', {
85 'use_aura%': 1,
86 }],
87
88 # Whether we're a traditional desktop unix. 78 # Whether we're a traditional desktop unix.
89 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a nd chromeos==0', { 79 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a nd chromeos==0', {
90 'desktop_linux%': 1, 80 'desktop_linux%': 1,
91 }, { 81 }, {
92 'desktop_linux%': 0, 82 'desktop_linux%': 0,
93 }], 83 }],
94 84
95 # Compute the architecture that we're building on. 85 # Compute the architecture that we're building on.
96 ['OS=="win" or OS=="mac" or OS=="ios"', { 86 ['OS=="win" or OS=="mac" or OS=="ios"', {
97 'host_arch%': 'ia32', 87 'host_arch%': 'ia32',
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 # build system. 120 # build system.
131 'android_webview_build%': 0, 121 'android_webview_build%': 0,
132 122
133 # Sets whether chrome is built for google tv device. 123 # Sets whether chrome is built for google tv device.
134 'google_tv%': 0, 124 'google_tv%': 0,
135 125
136 # Set ARM architecture version. 126 # Set ARM architecture version.
137 'arm_version%': 7, 127 'arm_version%': 7,
138 128
139 'conditions': [ 129 'conditions': [
130 # Ash needs Aura.
gab 2013/10/04 17:54:15 So it actually looks like the first block above de
scottmg 2013/10/04 18:20:31 Yeah, that's what I was trying to say before. Craz
131 ['use_aura==0', {
132 'use_ash%': 0,
133 }],
134
140 # Set default value of toolkit_views based on OS. 135 # Set default value of toolkit_views based on OS.
141 ['OS=="win" or chromeos==1 or use_aura==1', { 136 ['OS=="win" or chromeos==1 or use_aura==1', {
142 'toolkit_views%': 1, 137 'toolkit_views%': 1,
143 }, { 138 }, {
144 'toolkit_views%': 0, 139 'toolkit_views%': 0,
145 }], 140 }],
146 141
147 # Set toolkit_uses_gtk for the Chromium browser on Linux. 142 # Set toolkit_uses_gtk for the Chromium browser on Linux.
148 ['desktop_linux==1 and use_aura==0 and use_ozone==0', { 143 ['desktop_linux==1 and use_aura==0 and use_ozone==0', {
149 'toolkit_uses_gtk%': 1, 144 'toolkit_uses_gtk%': 1,
(...skipping 4592 matching lines...) Expand 10 before | Expand all | Expand 10 after
4742 # settings in target dicts. SYMROOT is a special case, because many other 4737 # settings in target dicts. SYMROOT is a special case, because many other
4743 # Xcode variables depend on it, including variables such as 4738 # Xcode variables depend on it, including variables such as
4744 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 4739 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
4745 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 4740 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
4746 # files to appear (when present) in the UI as actual files and not red 4741 # files to appear (when present) in the UI as actual files and not red
4747 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 4742 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
4748 # and therefore SYMROOT, needs to be set at the project level. 4743 # and therefore SYMROOT, needs to be set at the project level.
4749 'SYMROOT': '<(DEPTH)/xcodebuild', 4744 'SYMROOT': '<(DEPTH)/xcodebuild',
4750 }, 4745 },
4751 } 4746 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698