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" ] |
} |