diff --git a/base/BUILD.gn b/base/BUILD.gn index df4a030e4328..0afa1d812bc1 100644 --- a/base/BUILD.gn +++ b/base/BUILD.gn @@ -105,6 +105,7 @@ if (is_apple) { "mac requires mach absolute time ticks") } +# TODO: b/384652502 - Cobalt: Fix compiler errors building hermetically. # ../../third_party/libevent/signal.c:43:10: fatal error: 'sys/queue.h' file not found # #include # Determines whether libevent should be dep. @@ -207,11 +208,7 @@ buildflag_header("ios_cronet_buildflags") { flags = [ "CRONET_BUILD=$is_cronet_build" ] } -if (is_cobalt && is_starboard && use_custom_libc) { - enable_message_pump_epoll = false -} else { - enable_message_pump_epoll = is_linux || is_chromeos || is_android -} +enable_message_pump_epoll = is_linux || is_chromeos || is_android buildflag_header("message_pump_buildflags") { header = "message_pump_buildflags.h" @@ -1121,7 +1118,8 @@ component("base") { "//third_party/abseil-cpp:absl", ] - if (is_cobalt && is_starboard && use_custom_libc && current_toolchain == cobalt_toolchain) { + if (is_cobalt && is_starboard && use_custom_libc && + current_toolchain == cobalt_toolchain) { deps -= [ "//base/allocator/partition_allocator:raw_ptr" ] deps += [ "//starboard:starboard_group" ] } @@ -1705,7 +1703,8 @@ component("base") { } # TODO: b/384652502 - Cobalt: Fix compiler errors building hermetically. - if (is_cobalt && is_starboard && use_custom_libc && current_toolchain == cobalt_toolchain) { + if (is_cobalt && is_starboard && use_custom_libc && + current_toolchain == cobalt_toolchain) { sources -= [ "base_paths_posix.h", "memory/madv_free_discardable_memory_allocator_posix.cc",