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:
gab@chromium.org 2013-10-05 01:01:32 +00:00
Родитель feb508892b
Коммит f6909d2408
1 изменённых файлов: 5 добавлений и 10 удалений

Просмотреть файл

@ -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,