Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index ab23f942ae60ef2398b4a70740a05e64290dc68c..3735d55fbe6f3a8f9f58111c35cc7cb1a7aee140 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -425,6 +425,13 @@ |
}, { |
'linux_use_gold_flags%': 0, |
}], |
+ |
+ # Enable automation on platforms other than Android. |
+ ['OS=="android"', { |
+ 'enable_automation%': 0, |
+ }, { |
+ 'enable_automation%': 1, |
+ }], |
], |
}, |
@@ -490,6 +497,7 @@ |
'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', |
'tests_run%': '<(tests_run)', |
+ 'enable_automation%': '<(enable_automation)', |
# Whether to build for Wayland display server |
'use_wayland%': 0, |
@@ -1349,6 +1357,9 @@ |
['enable_plugin_installation==1', { |
'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
}], |
+ ['enable_automation==1', { |
+ 'defines': ['ENABLE_AUTOMATION=1'], |
+ }], |
], # conditions for 'target_defaults' |
'target_conditions': [ |
['enable_wexit_time_destructors==1', { |