| # 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/components.gni") |
| import("//build/test.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ |
| ":cxxabi-dynamic-init-test-package", |
| ":cxxabi-dynamic-init-tests($host_toolchain)", |
| ] |
| } |
| |
| test("cxxabi-dynamic-init-tests") { |
| sources = [ "cxxabi-dynamic-init-tests.cc" ] |
| deps = [ |
| "//sdk/lib/fit", |
| "//zircon/kernel/lib/cxxabi-dynamic-init:headers", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("cxxabi-dynamic-init-test-package") { |
| package_name = "cxxabi-dynamic-init-test" |
| deps = [ ":cxxabi-dynamic-init-tests" ] |
| } |