Force use_ash to 0 if use_aura is 0.
Also remove old Windows gyp workaround to enable Ash if use_aura on Windows (as it is now on by default). BUG=Using use_aura=0 on Windows doesn't compile as it tries to build Ash. Review URL: https://codereview.chromium.org/25665008 git-svn-id: http://src.chromium.org/svn/trunk/src/build@227160 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
feb508892b
Коммит
f6909d2408
15
common.gypi
15
common.gypi
|
@ -75,16 +75,6 @@
|
|||
'use_aura%': 1,
|
||||
}],
|
||||
|
||||
# For now, Windows builds that |use_aura| should also imply using
|
||||
# ash. This rule should be removed for the future when Windows is
|
||||
# using the aura windows without the ash interface.
|
||||
['use_aura==1 and OS=="win"', {
|
||||
'use_ash%': 1,
|
||||
}],
|
||||
['use_ash==1', {
|
||||
'use_aura%': 1,
|
||||
}],
|
||||
|
||||
# Whether we're a traditional desktop unix.
|
||||
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and chromeos==0', {
|
||||
'desktop_linux%': 1,
|
||||
|
@ -137,6 +127,11 @@
|
|||
'arm_version%': 7,
|
||||
|
||||
'conditions': [
|
||||
# Ash needs Aura.
|
||||
['use_aura==0', {
|
||||
'use_ash%': 0,
|
||||
}],
|
||||
|
||||
# Set default value of toolkit_views based on OS.
|
||||
['OS=="win" or chromeos==1 or use_aura==1', {
|
||||
'toolkit_views%': 1,
|
||||
|
|
Загрузка…
Ссылка в новой задаче