Chromium Code Reviews| Index: build/linux/BUILD.gn |
| diff --git a/build/linux/BUILD.gn b/build/linux/BUILD.gn |
| index 6a1939dd15b933f40123dd6992facfddc3ccb976..8665294324d5b363ecd170f1fe41a7c05bccde0f 100644 |
| --- a/build/linux/BUILD.gn |
| +++ b/build/linux/BUILD.gn |
| @@ -12,6 +12,7 @@ gypi_values = exec_script("//build/gypi_to_gn.py", |
| [ "system.gyp" ]) |
| use_system_fontconfig = !is_chromecast |
|
slan
2016/01/25 17:35:16
Could you add a comment above these two vars expla
bcf
2016/01/25 19:51:33
Done.
In addition, I just changed freetype2 to ch
slan
2016/01/27 23:57:06
Though I understand that directly checking for Chr
|
| +use_system_freetype = !is_chromecast |
| # If brlapi isn't needed, don't require it to be installed. |
| if (use_brlapi) { |
| @@ -115,3 +116,13 @@ group("fontconfig") { |
| ] |
| } |
| } |
| + |
| +group("freetype2") { |
| + if (use_system_freetype) { |
| + public_configs = [ "//build/config/linux:freetype2" ] |
| + } else { |
| + public_deps = [ |
| + "//third_party/freetype2", |
|
slan
2016/01/25 17:35:16
This should be freetype-android target.
Also, the
bcf
2016/01/25 19:51:33
I haven't update GN yet in PS1. Its done now thoug
|
| + ] |
| + } |
| +} |