diff --git a/skia/BUILD.gn b/skia/BUILD.gn index 617b8c4513781..bb4d1edef5401 100644 --- a/skia/BUILD.gn +++ b/skia/BUILD.gn @@ -561,7 +561,7 @@ optional("png_encode") { public = skia_encode_png_public deps = [ "//flutter/third_party/libpng" ] - sources = skia_encode_png_srcs + sources = skia_encode_png_base + skia_encode_libpng_srcs } optional("typeface_freetype") {