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

Unified Diff: BUILD.gn

Issue 2346483006: Create a subset of skia support for paths only (Closed)
Patch Set: use skia only for paths Created 4 years, 3 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 | README.md » ('j') | core/fxge/skia/fx_skia_device.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: BUILD.gn
diff --git a/BUILD.gn b/BUILD.gn
index ccb1e0cca388a98e8a7410350dc1ed3d125ace31..3741c3c16a7629cea385d48dde0758fabc3e0ab5 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -23,6 +23,10 @@ config("pdfium_common_config") {
defines += [ "_SKIA_SUPPORT_" ]
}
+ if (pdf_use_skia_paths) {
+ defines += [ "_SKIA_SUPPORT_PATHS_" ]
+ }
+
if (pdf_enable_v8) {
defines += [ "PDF_ENABLE_V8" ]
}
@@ -842,7 +846,7 @@ static_library("fxge") {
]
}
- if (pdf_use_skia) {
+ if (pdf_use_skia || pdf_use_skia_paths) {
sources += [ "core/fxge/skia/fx_skia_device.cpp" ]
deps += [ "//skia" ]
} else {
@@ -1683,7 +1687,7 @@ test("pdfium_unittests") {
"xfa/fxfa/parser/xfa_utils_unittest.cpp",
]
}
- if (pdf_use_skia) {
+ if (pdf_use_skia || pdf_use_skia_paths) {
sources += [ "core/fxge/skia/fx_skia_device_unittest.cpp" ]
deps += [ "//skia" ]
}
« no previous file with comments | « no previous file | README.md » ('j') | core/fxge/skia/fx_skia_device.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698