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

Unified Diff: chrome/chrome_common.gypi

Issue 320673002: Printing: Don't build service code when full printing is not enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « chrome/chrome_browser.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_common.gypi
diff --git a/chrome/chrome_common.gypi b/chrome/chrome_common.gypi
index 22a9ef69dfa32af2728742faffd4a9355a971a26..136f5efd8fba21f30ce55576ea83d46cf2cd05c0 100644
--- a/chrome/chrome_common.gypi
+++ b/chrome/chrome_common.gypi
@@ -390,7 +390,6 @@
['exclude', '^common/nacl_'],
['exclude', '^common/pepper_flash\\.'],
['exclude', '^common/profiling\\.'],
- ['exclude', '^common/service_process_util_'],
['exclude', '^common/spellcheck_'],
['exclude', '^common/validation_message_'],
['exclude', '^common/web_apps\\.'],
@@ -408,11 +407,24 @@
'<(DEPTH)/breakpad/src',
],
}],
- ['enable_printing!=0', {
+ ['enable_printing==0', {
+ 'sources!': [
+ 'common/print_messages.cc',
+ 'common/print_messages.h',
+ ]
+ }, {
'dependencies': [
'<(DEPTH)/printing/printing.gyp:printing',
],
}],
+ ['enable_printing!=1', {
+ 'sources!' : [
+ 'common/service_messages.h',
+ ],
+ 'sources/': [
+ ['exclude', '^common/service_process_util_'],
+ ],
+ }],
['enable_service_discovery==1', {
'sources' : [
'common/local_discovery/service_discovery_client.cc',
@@ -490,12 +502,6 @@
'common/media/webrtc_logging_messages.h',
]
}],
- ['enable_printing==0', {
- 'sources!': [
- 'common/print_messages.cc',
- 'common/print_messages.h',
- ]
- }],
['configuration_policy==1', {
'dependencies': [
'<(DEPTH)/components/components.gyp:policy',
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/chrome_tests_unit.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698