| Index: third_party/harfbuzz-ng/BUILD.gn
|
| diff --git a/third_party/harfbuzz-ng/BUILD.gn b/third_party/harfbuzz-ng/BUILD.gn
|
| index 4b88d7c47c8d120fb68a4aacb5573b6a3512e486..682c192f58779b409c363802c706a10aed244fca 100644
|
| --- a/third_party/harfbuzz-ng/BUILD.gn
|
| +++ b/third_party/harfbuzz-ng/BUILD.gn
|
| @@ -3,6 +3,7 @@
|
| # found in the LICENSE file.
|
|
|
| import("//build/config/chrome_build.gni")
|
| +import("//build/config/features.gni")
|
| import("//build/config/linux/pkg_config.gni")
|
| import("//build/config/ui.gni")
|
| import("//testing/libfuzzer/fuzzer_test.gni")
|
| @@ -197,10 +198,14 @@ if (use_system_harfbuzz) {
|
| deps += [ "//build/linux:freetype2" ]
|
| configs -= [ "//build/config/gcc:symbol_visibility_hidden" ]
|
| configs += [ "//build/config/gcc:symbol_visibility_default" ]
|
| - configs += [ "//build/config/linux:glib" ]
|
| sources += [
|
| "src/hb-ft.cc",
|
| "src/hb-ft.h",
|
| + ]
|
| + }
|
| + if (use_glib) {
|
| + configs += [ "//build/config/linux:glib" ]
|
| + sources += [
|
| "src/hb-glib.cc",
|
| "src/hb-glib.h",
|
| ]
|
|
|