# Copyright 2019 The Fuchsia Authors | |
# | |
# Use of this source code is governed by a MIT-style | |
# license that can be found in the LICENSE file or at | |
# https://opensource.org/licenses/MIT | |
import("//build/zircon/migrated_targets.gni") | |
zx_library("pow2_range_allocator") { | |
kernel = true | |
sources = [ "pow2_range_allocator.cc" ] | |
deps = [ ":tests" ] | |
} | |
source_set("tests") { | |
sources = [ "pow2_range_allocator_tests.cc" ] | |
deps = [ | |
":headers", | |
"//zircon/kernel/lib/unittest", | |
] | |
} |