Index: build/config/freetype/BUILD.gn |
diff --git a/build/config/freetype/BUILD.gn b/build/config/freetype/BUILD.gn |
index 976661a7cb84a80ee949f141fc95efdf711a20d1..4f052646cd6b72544e9a3fe71262039f45def3c3 100644 |
--- a/build/config/freetype/BUILD.gn |
+++ b/build/config/freetype/BUILD.gn |
@@ -4,19 +4,8 @@ |
import("//build/config/features.gni") |
-declare_args() { |
- # Blink needs a recent and properly build-configured FreeType version to |
- # support OpenType variations, color emoji and avoid security bugs. By default |
- # we ship and link such a version as part of Chrome. For distributions that |
- # prefer to keep linking to the version the system, FreeType must be newer |
- # than version 2.7.1 and have color bitmap support compiled in. WARNING: |
- # System FreeType configurations other than as described WILL INTRODUCE TEXT |
- # RENDERING AND SECURITY REGRESSIONS. |
- use_system_freetype = false |
-} |
- |
group("freetype") { |
- if (use_system_freetype) { |
+ if (is_linux && !is_chromecast) { |
public_configs = [ "//build/linux:freetype_from_pkgconfig" ] |
} else { |
public_deps = [ |