| Index: build/linux/BUILD.gn
|
| diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn
|
| index c81172e427fbf77f68ca33f400b0d359e8942646..9d4851bb0f5a7acd14e6ead931bd050ef4817248 100644
|
| --- a/build/linux/BUILD.gn
|
| +++ b/build/linux/BUILD.gn
|
| @@ -54,13 +54,6 @@ 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.
|
| @@ -69,6 +62,8 @@ group("freetype2") {
|
| "//third_party/freetype-android:freetype",
|
| ]
|
| } else {
|
| - public_configs = [ ":freetype2_config" ]
|
| + public_deps = [
|
| + "//third_party/freetype2",
|
| + ]
|
| }
|
| }
|
|
|