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

Unified Diff: build/common.gypi

Issue 23116003: Adds PrintingContext implementation stub for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes some build targets and try bots. Some other nits. Created 7 years, 4 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 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
« no previous file with comments | « no previous file | chrome/android/testshell/testshell_stubs.cc » ('j') | chrome/browser/printing/print_view_manager_basic.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698