summaryrefslogtreecommitdiffstats
path: root/chrome/chrome_tests.gypi
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 16:42:23 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-04 16:42:23 +0000
commit4d83eb7d97c4b0f530eb82ad3cf6a1952d4183f4 (patch)
tree49055561af0bdb31ac64379adcd50fe726a49900 /chrome/chrome_tests.gypi
parentbbef41f026b0c7aecac8169e40020b892163fd08 (diff)
downloadchromium_src-4d83eb7d97c4b0f530eb82ad3cf6a1952d4183f4.zip
chromium_src-4d83eb7d97c4b0f530eb82ad3cf6a1952d4183f4.tar.gz
chromium_src-4d83eb7d97c4b0f530eb82ad3cf6a1952d4183f4.tar.bz2
Build pyauto only if the architecture of python binary matches.
BUG=none TEST=Building 32-bit pyauto on 64-bit Linux with a 32-bit sysroot works. Review URL: http://codereview.chromium.org/660443 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40630 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/chrome_tests.gypi')
-rw-r--r--chrome/chrome_tests.gypi2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi
index b18ff4c..3865a04 100644
--- a/chrome/chrome_tests.gypi
+++ b/chrome/chrome_tests.gypi
@@ -1879,7 +1879,7 @@
]}, # 'targets'
], # OS=="win"
# Build on linux x86_64 only if linux_fpic==1
- ['OS=="mac" or chromeos==1 or (OS=="linux" and target_arch==host_arch and (target_arch!="x64" or linux_fpic==1))', {
+ ['OS=="mac" or (OS=="linux" and target_arch==python_arch and (target_arch!="x64" or linux_fpic==1))', {
'targets': [
# TODO(nirnimesh): enable for win - crbug.com/32285
{