| Index: skia/BUILD.gn
|
| diff --git a/skia/BUILD.gn b/skia/BUILD.gn
|
| index a4692e8b3254cfab05b4ded5fc40e4e02365cafb..b9409f6520fbc13db484a7e65db916d874e388d0 100644
|
| --- a/skia/BUILD.gn
|
| +++ b/skia/BUILD.gn
|
| @@ -44,6 +44,10 @@ config("skia_config") {
|
| "//third_party/skia/third_party/vulkan",
|
| ]
|
|
|
| + if (!is_ios) {
|
| + include_dirs += [ "//third_party/skia/include/codec" ]
|
| + }
|
| +
|
| defines = skia_for_chromium_defines
|
| defines += [
|
| "SK_HAS_PNG_LIBRARY",
|
| @@ -111,6 +115,7 @@ config("skia_library_config") {
|
| "//third_party/skia/src/sfnt",
|
| "//third_party/skia/src/utils",
|
| "//third_party/skia/src/lazy",
|
| + "//third_party/skia/third_party/gif",
|
| ]
|
| if (is_mac || is_ios) {
|
| include_dirs += [ "//third_party/skia/include/utils/mac" ]
|
| @@ -286,6 +291,30 @@ component("skia") {
|
| "//third_party/skia/src/sfnt/SkOTTable_name.cpp",
|
| "//third_party/skia/src/sfnt/SkOTUtils.cpp",
|
| ]
|
| + if (!is_ios) {
|
| + sources += [
|
| + "//third_party/skia/src/codec/SkBmpBaseCodec.cpp",
|
| + "//third_party/skia/src/codec/SkBmpCodec.cpp",
|
| + "//third_party/skia/src/codec/SkBmpMaskCodec.cpp",
|
| + "//third_party/skia/src/codec/SkBmpRLECodec.cpp",
|
| + "//third_party/skia/src/codec/SkBmpStandardCodec.cpp",
|
| + "//third_party/skia/src/codec/SkCodec.cpp",
|
| + "//third_party/skia/src/codec/SkGifCodec.cpp",
|
| + "//third_party/skia/src/codec/SkIcoCodec.cpp",
|
| + "//third_party/skia/src/codec/SkJpegCodec.cpp",
|
| + "//third_party/skia/src/codec/SkJpegDecoderMgr.cpp",
|
| + "//third_party/skia/src/codec/SkJpegUtility.cpp",
|
| + "//third_party/skia/src/codec/SkMaskSwizzler.cpp",
|
| + "//third_party/skia/src/codec/SkMasks.cpp",
|
| + "//third_party/skia/src/codec/SkPngCodec.cpp",
|
| + "//third_party/skia/src/codec/SkSampler.cpp",
|
| + "//third_party/skia/src/codec/SkStreamBuffer.cpp",
|
| + "//third_party/skia/src/codec/SkSwizzler.cpp",
|
| + "//third_party/skia/src/codec/SkWbmpCodec.cpp",
|
| + "//third_party/skia/src/codec/SkWebpCodec.cpp",
|
| + "//third_party/skia/third_party/gif/SkGifImageReader.cpp",
|
| + ]
|
| + }
|
|
|
| # This and skia_opts are really the same conceptual target so share headers.
|
| allow_circular_includes_from = [ ":skia_opts" ]
|
|
|