Index: chrome/chrome_tests.gypi |
diff --git a/chrome/chrome_tests.gypi b/chrome/chrome_tests.gypi |
index 3079712142386a9b32208cc3cb35713dff596871..1e4bcd8a89b1b6f2a2a8e5cc44f11803b4fa3ef8 100644 |
--- a/chrome/chrome_tests.gypi |
+++ b/chrome/chrome_tests.gypi |
@@ -2218,6 +2218,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'], |
@@ -4445,7 +4450,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 |