diff options
-rw-r--r-- | BUILD.gn | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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 = [] |