base: Don't depend on partition_alloc on OpenWrt

This commit is contained in:
klzgrad 2022-05-29 20:08:58 +08:00
parent 301f7847b1
commit b90ba6d2f0

View File

@ -1925,6 +1925,9 @@ mixed_component("base") {
# partition_alloc code if use_partition_alloc = false because no code uses # partition_alloc code if use_partition_alloc = false because no code uses
# partition_alloc. # partition_alloc.
public_deps += [ "allocator/partition_allocator:partition_alloc" ] public_deps += [ "allocator/partition_allocator:partition_alloc" ]
if (current_os == "openwrt") {
public_deps -= [ "allocator/partition_allocator:partition_alloc" ]
}
} }
# Windows. # Windows.