diff --git a/src/base/BUILD.gn b/src/base/BUILD.gn index 92440b50d3..2a65e2fb79 100644 --- a/src/base/BUILD.gn +++ b/src/base/BUILD.gn @@ -1925,6 +1925,9 @@ mixed_component("base") { # partition_alloc code if use_partition_alloc = false because no code uses # partition_alloc. public_deps += [ "allocator/partition_allocator:partition_alloc" ] + if (current_os == "openwrt") { + public_deps -= [ "allocator/partition_allocator:partition_alloc" ] + } } # Windows.