# Copyright 2019 The Fuchsia Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("$zx_build/public/gn/migrated_targets.gni") | |
zx_library("region-alloc") { | |
sdk = "source" | |
sdk_headers = [ "region-alloc/region-alloc.h" ] | |
sdk_migrated = true | |
kernel = true | |
static = true | |
sources = [ "region-alloc.cc" ] | |
if (!is_kernel) { | |
deps = [ "$zx/system/ulib/fbl" ] | |
} | |
} | |
group("tests") { | |
testonly = true | |
deps = [ "test:tests" ] | |
} |