Prepare for Skia include path shakeup.
This is the equivalent to https://crrev.com/653353
Change-Id: I5cfc06f5df1b093fe7c2e79201da4e98016b04b7
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/57630
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: Lei Zhang <thestig@chromium.org>
diff --git a/skia/BUILD.gn b/skia/BUILD.gn
index c219b7b..ee1826b 100644
--- a/skia/BUILD.gn
+++ b/skia/BUILD.gn
@@ -23,9 +23,9 @@
include_dirs = [
"config",
"ext",
+ "//third_party/skia",
"//third_party/skia/include/c",
"//third_party/skia/include/codec",
- "//third_party/skia/include/config",
"//third_party/skia/include/core",
"//third_party/skia/include/effects",
"//third_party/skia/include/encode",
@@ -40,7 +40,7 @@
"//third_party/skia/third_party/vulkan",
]
- defines = []
+ defines = [ "SK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\"" ]
if (is_win) {
defines += [ "SK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x01000000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" ]