| Index: content/common/BUILD.gn
|
| diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
|
| index 3e9cdd60b8ddfcf66ae4af90e44155b1a62804b7..e48bbee46db546a33a305e6dde45cd3d1e4b184e 100644
|
| --- a/content/common/BUILD.gn
|
| +++ b/content/common/BUILD.gn
|
| @@ -143,10 +143,7 @@ source_set("common") {
|
| if (use_ozone) {
|
| deps += [ "//ui/ozone" ]
|
| } else {
|
| - sources -= [
|
| - "cursors/webcursor_ozone.cc",
|
| - "font_list_ozone.cc",
|
| - ]
|
| + sources -= [ "cursors/webcursor_ozone.cc" ]
|
| }
|
|
|
| if (!use_aura || is_android) {
|
| @@ -157,15 +154,8 @@ source_set("common") {
|
| sources -= [ "cursors/webcursor_aurax11.cc" ]
|
| }
|
|
|
| - if (use_pango) {
|
| - configs += [ "//build/config/linux/pangocairo" ]
|
| - if (use_ozone) {
|
| - # If we're using pango, never use this ozone file (it was removed in all
|
| - # non-ozone cases above).
|
| - sources -= [ "font_list_ozone.cc" ]
|
| - }
|
| - } else {
|
| - sources -= [ "font_list_pango.cc" ]
|
| + if (is_linux) {
|
| + deps += [ "//build/linux:fontconfig" ]
|
| }
|
|
|
| if (enable_plugins) {
|
|
|