blob: 471a27ec87391d24169b528e1eef1263bc516e59 [file] [edit]
# Copyright 2021 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/cpp/library_headers.gni")
source_set("cxxabi-dynamic-init") {
sources = [ "cxxabi-dynamic-init.cc" ]
public_deps = [ ":headers" ]
}
library_headers("headers") {
headers = [ "lib/cxxabi-dynamic-init/cxxabi-dynamic-init.h" ]
}
group("tests") {
testonly = true
# TODO(https://fxbug.dev/42101573): This dependency is conditional because
# when built with GCC the kernel uses function scoped statics requiring
# dynamic initialization. Once https://fxbug.dev/42101573 is fixed, this
# dependency can be made unconditional.
if (!is_gcc) {
deps = [ "tests" ]
}
}
group("kernel-tests") {
testonly = true
}
group("phys-tests") {
testonly = true
}
group("boot_tests") {
testonly = true
}