From c8f237fb835acb5e79214b99986a8ceb68e8f909 Mon Sep 17 00:00:00 2001 From: Dana Dahlstrom Date: Thu, 9 May 2024 17:00:00 -0700 Subject: [PATCH] Add missing build dependency on Starboard headers MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit … for use of starboard/system.h in timsort.h left by Change Ia9e981ac. --- third_party/libxml/BUILD.gn | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/third_party/libxml/BUILD.gn b/third_party/libxml/BUILD.gn index f25c4c211d94..1c33ab78f643 100644 --- a/third_party/libxml/BUILD.gn +++ b/third_party/libxml/BUILD.gn @@ -334,6 +334,10 @@ if (!use_cobalt_customizations) { public_deps = [ "//third_party/icu:icuuc" ] deps = [ "//third_party/zlib" ] + if (is_starboard) { + deps += [ "//starboard:starboard_headers_only" ] + } + if (is_apple || is_android || is_fuchsia) { # http://www.xmlsoft.org/threads.html says that this is required when using # libxml from several threads, which can possibly happen in chrome. On