Skip to content

Commit

Permalink
Renable enable_message_pump_epoll
Browse files Browse the repository at this point in the history
  • Loading branch information
niranjanyardi committed Jan 14, 2025
1 parent 3a2e5ec commit 46d469b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions base/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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 <sys/queue.h>
# Determines whether libevent should be dep.
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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" ]
}
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 46d469b

Please sign in to comment.