Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2239)

Unified Diff: build/common.gypi

Issue 9696049: Add enable_automation build switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 1eaa78a174e4e157a83fda3971dfad03f8995548..34b9e4d2dee5187b8908adfc59bd3c7e73f5afa9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -429,6 +429,13 @@
}, {
'linux_use_gold_flags%': 0,
}],
+
+ # Enable automation on platforms other than Android.
+ ['OS=="android"', {
+ 'enable_automation%': 0,
+ }, {
+ 'enable_automation%': 1,
+ }],
],
},
@@ -495,6 +502,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,
@@ -1353,6 +1361,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', {

Powered by Google App Engine
This is Rietveld 408576698