From b90ba6d2f0306a416c729b849f3f5de1c8c8a71d Mon Sep 17 00:00:00 2001 From: klzgrad Date: Sun, 29 May 2022 20:08:58 +0800 Subject: [PATCH] base: Don't depend on partition_alloc on OpenWrt --- src/base/BUILD.gn | 3 +++ 1 file changed, 3 insertions(+) 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.