Index: build/all.gyp |
diff --git a/build/all.gyp b/build/all.gyp |
index 737f04873a710833cb3e99ec1195eeb6dfb94510..63b4fa30e30df5f2cf2255f7b6a2d6f66be956f9 100644 |
--- a/build/all.gyp |
+++ b/build/all.gyp |
@@ -271,7 +271,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', |
], |