Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index 46bc7482e80cd37c2330084b65cf96541fc4e777..4c85202dcfab939c61b377188ee0805ba99e918d 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -2187,6 +2187,11 @@ |
['exclude', '^renderer/safe_browsing/'], |
], |
}], |
+ ['enable_automation!=1', { |
+ 'sources/': [ |
+ ['exclude', '^browser/automation/'], |
+ ], |
+ }], |
['chromeos==1', { |
'sources/': [ |
['exclude', '^browser/password_manager/native_backend_gnome_x_unittest.cc'], |
@@ -4257,7 +4262,7 @@ |
], # OS=="win" |
# If you change this condition, make sure you also change it in all.gyp |
# for the chromium_builder_qa target. |
- ['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))', { |
'targets': [ |
{ |
# Documentation: http://dev.chromium.org/developers/testing/pyauto |