Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index b2a7693325d5aeebca6bcfe1d138fed3021ee108..1efa8b0e2b18d2f27427f3130d283c331caa589b 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -473,11 +473,13 @@ |
'linux_use_gold_flags%': 0, |
}], |
- # Enable automation on platforms other than Android. |
+ # Enable automation and printing on platforms other than Android. |
['OS=="android"', { |
'enable_automation%': 0, |
+ 'enable_printing%': 0, |
}, { |
'enable_automation%': 1, |
+ 'enable_printing%': 1, |
}], |
# Enable Skia UI text drawing incrementally on different platforms. |
@@ -559,6 +561,7 @@ |
'test_isolation_mode%': '<(test_isolation_mode)', |
'test_isolation_outdir%': '<(test_isolation_outdir)', |
'enable_automation%': '<(enable_automation)', |
+ 'enable_printing%': '<(enable_printing)', |
'force_rlz_use_chrome_net%': '<(force_rlz_use_chrome_net)', |
'enable_task_manager%': '<(enable_task_manager)', |
'platformsdk_path%': '<(platformsdk_path)', |
@@ -1504,6 +1507,9 @@ |
['enable_automation==1', { |
'defines': ['ENABLE_AUTOMATION=1'], |
}], |
+ ['enable_printing==1', { |
+ 'defines': ['ENABLE_PRINTING=1'], |
+ }], |
], # conditions for 'target_defaults' |
'target_conditions': [ |
['enable_wexit_time_destructors==1', { |