Chromium Code Reviews| Index: build/config/freetype/BUILD.gn |
| diff --git a/build/config/freetype/BUILD.gn b/build/config/freetype/BUILD.gn |
| index 4f052646cd6b72544e9a3fe71262039f45def3c3..b8ff26f781e52cc9d34c70efe084741fee31b1b0 100644 |
| --- a/build/config/freetype/BUILD.gn |
| +++ b/build/config/freetype/BUILD.gn |
| @@ -4,8 +4,19 @@ |
| 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 |
|
bungeman-chromium
2017/05/05 20:59:54
Should this (or its negation) be used in skia/BUIL
|
| +} |
| + |
| group("freetype") { |
| - if (is_linux && !is_chromecast) { |
| + if (is_chromeos || use_system_freetype) { |
|
Dirk Pranke
2017/05/05 16:37:18
Nit: is_chromeos does not mean this is an actual c
vapier
2017/05/05 17:50:51
we should just update the Chrome OS ebuild to pass
|
| public_configs = [ "//build/linux:freetype_from_pkgconfig" ] |
| } else { |
| public_deps = [ |