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

Unified Diff: chrome/chrome_tests_unit.gypi

Issue 22577010: Printing: Add a basic printing mode without print preview and cloud print. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/chrome_utility_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/chrome_tests_unit.gypi
diff --git a/chrome/chrome_tests_unit.gypi b/chrome/chrome_tests_unit.gypi
index c5c831cabb99eb32f1e2d19c62b1680dd4857635..e2dda051306b508bdbfd6d9d31d6331001f6b6fc 100644
--- a/chrome/chrome_tests_unit.gypi
+++ b/chrome/chrome_tests_unit.gypi
@@ -359,11 +359,17 @@
'../build/linux/system.gyp:ssl',
],
}],
- ['OS!="android" and OS!="ios"', {
+ ['enable_printing==1', {
'dependencies': [
'service',
],
}],
+ ['enable_printing==0', {
+ 'sources/': [
+ ['exclude', '^renderer/mock_printer.cc'],
+ ['exclude', '^renderer/mock_printer.h'],
+ ],
+ }],
['OS=="android"', {
'sources/': [
['exclude', '^browser/media_galleries/'],
@@ -2557,10 +2563,6 @@
['exclude', '^browser/ui/webui/signin/'],
['exclude', '^browser/ui/webui/suggestions_internals'],
['exclude', '^browser/ui/webui/sync_promo'],
- # No service process on Android.
- ['exclude', '^browser/service/'],
- ['exclude', '^common/service_'],
- ['exclude', '^service/'],
['exclude', '^utility/importer/'],
],
'conditions': [
@@ -2572,6 +2574,14 @@
}],
],
}], # OS == android
+ ['enable_printing!=1', {
+ 'sources/': [
+ # No need for service process.
+ ['exclude', '^browser/service/'],
+ ['exclude', '^common/service_'],
+ ['exclude', '^service/'],
+ ],
+ }],
['enable_themes==0', {
'sources!': [
'browser/ui/webui/theme_source_unittest.cc',
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | chrome/common/chrome_utility_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698