| 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', {
|
|
|