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

Unified Diff: build/common.gypi

Issue 10540033: Add ENABLE_PRINTING and disable it on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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 | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | chrome/browser/browser_about_handler.cc » ('J')
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 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', {
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | chrome/browser/browser_about_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698