Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 50144f4e63ce5c421f6814a2eb6f8b0bbef59952..a1ad05d4c68604c7912526770ff938f2e43bd150 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -523,7 +523,6 @@ |
'enable_automation%': 0, |
'enable_extensions%': 0, |
'enable_google_now%': 0, |
- 'enable_printing%': 0, |
'enable_spellcheck%': 0, |
'enable_themes%': 0, |
'proprietary_codecs%': 1, |
@@ -534,6 +533,15 @@ |
'native_memory_pressure_signals%': 1, |
}], |
+ # Enable basic printing for Chrome for Android but disable printing |
+ # completely for WebView. |
+ ['OS=="android" and android_webview_build==0', { |
+ 'enable_printing%': 2, |
+ }], |
+ ['OS=="android" and android_webview_build==1', { |
+ 'enable_printing%': 0, |
+ }], |
+ |
# Enable autofill dialog for Android, Mac and Views-enabled platforms. |
['toolkit_views==1 or (OS=="android" and android_webview_build==0) or OS=="mac"', { |
'enable_autofill_dialog%': 1 |