Index: third_party/harfbuzz-ng/BUILD.gn |
diff --git a/third_party/harfbuzz-ng/BUILD.gn b/third_party/harfbuzz-ng/BUILD.gn |
index 87f51acc62e225439c68c4cb7aa5ca2809a8ef77..4824a4f864bfcb16e24cc7571d7bbef7be739726 100644 |
--- a/third_party/harfbuzz-ng/BUILD.gn |
+++ b/third_party/harfbuzz-ng/BUILD.gn |
@@ -201,11 +201,9 @@ if (use_system_harfbuzz) { |
# See crbug.com/462689. |
if (is_linux && use_pango && !is_chromeos && !is_official_build && |
current_cpu != "arm" && current_cpu != "mipsel") { |
+ deps += [ "//build/linux:freetype2" ] |
configs -= [ "//build/config/gcc:symbol_visibility_hidden" ] |
- configs += [ |
- "//build/config/linux:freetype2", |
- "//build/config/linux:glib", |
- ] |
+ configs += [ "//build/config/linux:glib" ] |
sources += [ |
"src/hb-ft.cc", |
"src/hb-ft.h", |