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

Unified Diff: build/common.gypi

Issue 9696049: Add enable_automation build switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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
« no previous file with comments | « build/all.gyp ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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', {
« no previous file with comments | « build/all.gyp ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698