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

Unified Diff: printing/BUILD.gn

Issue 1421493002: Printing: Move some printing code out of pdf/ and into printing/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add missing test file Created 5 years, 2 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: printing/BUILD.gn
diff --git a/printing/BUILD.gn b/printing/BUILD.gn
index ca35327851d53d2e064fed39ee545431292151cf..d8255be842de4e725a7145c28b9b333d23e8c082 100644
--- a/printing/BUILD.gn
+++ b/printing/BUILD.gn
@@ -184,6 +184,11 @@ component("printing") {
]
deps += [ ":printing_jni_headers" ]
+ } else {
+ sources += [
+ "pdf_transform.cc",
+ "pdf_transform.h",
+ ]
}
}
@@ -212,11 +217,6 @@ test("printing_unittests") {
configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
- if (use_cups) {
- configs += [ ":cups" ]
- sources += [ "backend/cups_helper_unittest.cc" ]
- }
-
deps = [
":printing",
"//base/allocator",
@@ -228,6 +228,15 @@ test("printing_unittests") {
"//ui/gfx:test_support",
"//ui/gfx/geometry",
]
+
+ if (!is_android) {
+ sources += [ "pdf_transform_unittest.cc" ]
+ }
+
+ if (use_cups) {
+ configs += [ ":cups" ]
+ sources += [ "backend/cups_helper_unittest.cc" ]
+ }
}
if (use_cups) {
« no previous file with comments | « pdf/pdfium/pdfium_engine.cc ('k') | printing/pdf_transform.h » ('j') | printing/pdf_transform.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698