| Index: third_party/libpng/BUILD.gn
|
| diff --git a/third_party/libpng/BUILD.gn b/third_party/libpng/BUILD.gn
|
| index 21420596db7fcaae359799e594aec3d1e320947f..365c4558000df86c36ba7e1678bcb38fb89c2021 100644
|
| --- a/third_party/libpng/BUILD.gn
|
| +++ b/third_party/libpng/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//build/config/chromecast_build.gni")
|
| +
|
| config("libpng_config") {
|
| include_dirs = [ "." ]
|
|
|
| @@ -10,7 +12,7 @@ config("libpng_config") {
|
| "PNG_USER_CONFIG",
|
| ]
|
|
|
| - if (is_android) {
|
| + if (is_android || is_chromecast) {
|
| #'toolsets': ['target', 'host'],
|
| defines += [ "CHROME_PNG_READ_PACK_SUPPORT" ] # Required by freetype.
|
| }
|
|
|