blob: 644dfce18ca6cd57d56763e0c381a481aa3061bc [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/test.gni")
import("//build/unification/zbi/bootfs_test.gni")
test("namespace") {
output_name = "namespace-test"
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "namespace-test.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
]
# TODO(47453): Fix the leaks and remove this.
deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ]
}
bootfs_test("namespace-bootfs-test") {
name = "namespace-test"
deps = [ ":namespace" ]
}