Index: build/all.gyp |
diff --git a/build/all.gyp b/build/all.gyp |
index bcefc2e2b13f7873dfaa6d0f019eab3b8cf1842a..3b3854d6533edaa14edea550107c2b1216b82528 100644 |
--- a/build/all.gyp |
+++ b/build/all.gyp |
@@ -278,7 +278,7 @@ |
'conditions': [ |
# If you change this condition, make sure you also change it |
# in chrome_tests.gypi |
- ['OS=="mac" or OS=="win" or (os_posix==1 and OS != "android" and target_arch==python_arch)', { |
+ ['enable_automation==1 and (OS=="mac" or OS=="win" or (os_posix==1 and target_arch==python_arch))', { |
'dependencies': [ |
'../chrome/chrome.gyp:pyautolib', |
], |