blob: a6d534ffe95fc0032d347f2d68c8d9e6304511d9 [file] [log] [blame]
# 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("//build/components.gni")
import("//build/test.gni")
group("test") {
testonly = true
deps = [ ":id_allocator-test" ]
}
test("id_allocator-test") {
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "id_allocator.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/id_allocator",
]
}
fuchsia_unittest_package("id-allocator-test-pkg") {
package_name = "id_allocator-test"
deps = [ ":id_allocator-test" ]
}
group("tests") {
testonly = true
deps = [ ":id-allocator-test-pkg" ]
}