Fix the coverage build which used to complain about the missing pyautolib target.

In the case pyautolib shouldn't be built, define a fake pyautolib target. This lets other targets
to unconditionally depend on pyautolib.

BUG=307018
R=thakis@chromium.org

Review URL: https://codereview.chromium.org/29013002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@229837 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
glider@chromium.org 2013-10-21 16:37:52 +00:00
Родитель f9c02013ae
Коммит 9b49b233a8
1 изменённых файлов: 2 добавлений и 14 удалений

16
all.gyp
Просмотреть файл

@ -453,15 +453,9 @@
'../chrome/chrome.gyp:chrome',
# Dependencies of pyauto_functional tests.
'../remoting/remoting.gyp:remoting_webapp',
'../chrome/chrome.gyp:pyautolib',
],
'conditions': [
# If you change this condition, make sure you also change it
# in chrome_tests.gypi
['enable_automation==1 and (OS=="mac" or ((OS=="win" or os_posix==1) and target_arch==python_arch))', {
'dependencies': [
'../chrome/chrome.gyp:pyautolib',
],
}],
['OS=="mac"', {
'dependencies': [
'../remoting/remoting.gyp:remoting_me2me_host_archive',
@ -839,15 +833,9 @@
'../cloud_print/cloud_print.gyp:cloud_print',
'../remoting/remoting.gyp:remoting_webapp',
'../third_party/widevine/cdm/widevine_cdm.gyp:widevinecdmadapter',
'../chrome/chrome.gyp:pyautolib',
],
'conditions': [
# If you change this condition, make sure you also change it
# in chrome_tests.gypi
['enable_automation==1 and (OS=="mac" or (os_posix==1 and target_arch==python_arch))', {
'dependencies': [
'../chrome/chrome.gyp:pyautolib',
],
}],
['internal_pdf', {
'dependencies': [
'../pdf/pdf.gyp:pdf',