File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -260,34 +260,34 @@ source_set("harfbuzz_sources") {
260260 defines += [ " HAVE_CORETEXT" ]
261261 }
262262
263+ if (is_linux || is_android || is_fuchsia ) {
264+ defines += [ " HAVE_PTHREAD" ]
265+ }
266+
263267 configs += [ " :harfbuzz_warnings" ]
264268
265269 # Without this modification, almost everything ends up hidden in the shared library, making it
266270 # useless for linking.
267271 if (current_toolchain == shlib_toolchain ) {
268272 # Avoid failure when subtracting if not already present.
269- configs += [" //build/config:symbol_visibility_hidden" ]
270- configs -= [" //build/config:symbol_visibility_hidden" ]
273+ configs += [ " //build/config:symbol_visibility_hidden" ]
274+ configs -= [ " //build/config:symbol_visibility_hidden" ]
271275 }
272276
273277 public_configs = [ " :harfbuzz_config" ]
274278
275279 deps = [
280+ " //third_party/freetype2" ,
276281 " //third_party/icu:icuuc" ,
277- " //third_party/freetype2"
278282 ]
279283}
280284
281285source_set (" harfbuzz" ) {
282286 output_name = " harfbuzz"
283- public_deps = [
284- " :harfbuzz_sources"
285- ]
287+ public_deps = [ " :harfbuzz_sources" ]
286288}
287289
288290shared_library (" harfbuzz_shared" ) {
289291 output_name = " harfbuzz"
290- public_deps = [
291- " :harfbuzz_sources" ,
292- ]
292+ public_deps = [ " :harfbuzz_sources" ]
293293}
You can’t perform that action at this time.
0 commit comments