| Index: build/linux/BUILD.gn
|
| diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn
|
| index 97428b4eda155cdb87cc70d91ab057c3f23eefb5..a44c117e85f37ec42285ba3b64d321c873d67975 100644
|
| --- a/build/linux/BUILD.gn
|
| +++ b/build/linux/BUILD.gn
|
| @@ -115,6 +115,13 @@ group("fontconfig") {
|
| }
|
| }
|
|
|
| +if (!is_chromecast) {
|
| + pkg_config("freetype2_config") {
|
| + visibility = [ ":freetype2" ]
|
| + packages = [ "freetype2" ]
|
| + }
|
| +}
|
| +
|
| group("freetype2") {
|
| if (is_chromecast) {
|
| # Chromecast platform doesn't provide freetype, so use Chromium's.
|
| @@ -123,6 +130,6 @@ group("freetype2") {
|
| "//third_party/freetype-android:freetype",
|
| ]
|
| } else {
|
| - public_configs = [ "//build/config/linux:freetype2" ]
|
| + public_configs = [ ":freetype2_config" ]
|
| }
|
| }
|
|
|