base: Don't depend on partition_alloc on OpenWrt

This commit is contained in:
klzgrad 2022-05-29 20:08:58 +08:00
parent 6e06879ea4
commit c32759a194

View File

@ -1936,6 +1936,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.