blob: b3463e60be3f6261cd8c77300e15e04588ee029e [file] [log] [blame]
# 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") {
# TODO: testonly = true
}
group("phys-tests") {
testonly = true
}
group("boot_tests") {
testonly = true
}