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

Unified Diff: skia/BUILD.gn

Issue 1842473002: Use SkDocument_PDF_None if pdf support is not enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Use SkDoucment_PDF_None Created 4 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skia/BUILD.gn
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index 5fd3cae06e88892069f98a1b9d03bb7a14f9a246..e3601f18003c09d88e1d61446d0ce6c758022aa1 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -491,6 +491,8 @@ component("skia") {
if (skia_support_pdf) {
deps += [ "//third_party/sfntly" ]
sources += gypi_skia_pdf.sources
+ } else {
+ sources += [ "//third_party/skia/src/pdf/SkDocument_PDF_None.cpp" ]
}
if (is_android && !is_debug) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698