aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--BUILD.gn14
1 files changed, 7 insertions, 7 deletions
diff --git a/BUILD.gn b/BUILD.gn
index d6e25626b3..8c519d929e 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -56,6 +56,13 @@ config("skia_private") {
"third_party/etc1",
"third_party/ktx",
]
+
+ defines = [
+ "SK_HAS_GIF_LIBRARY",
+ "SK_HAS_JPEG_LIBRARY",
+ "SK_HAS_PNG_LIBRARY",
+ "SK_HAS_WEBP_LIBRARY",
+ ]
}
# Any code that's linked into Skia-the-library should use this config via += skia_library_configs.
@@ -161,13 +168,6 @@ component("skia") {
"//third_party/zlib",
]
- defines = [
- "SK_HAS_GIF_LIBRARY",
- "SK_HAS_JPEG_LIBRARY",
- "SK_HAS_PNG_LIBRARY",
- "SK_HAS_WEBP_LIBRARY",
- ]
-
libs = [ "pthread" ]
sources = []