| # Copyright 2021 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("//sdk/ctf/build/ctf.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":driver_test_realm_cts_test" ] |
| } |
| |
| ctf_executable("bin") { |
| output_name = "driver_test_realm_cts_test" |
| testonly = true |
| sources = [ "test.cc" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.driver.test:fuchsia.driver.test_hlcpp", |
| "//sdk/fidl/fuchsia.io:fuchsia.io_hlcpp", |
| "//sdk/lib/device-watcher/cpp", |
| "//sdk/lib/sys/cpp", |
| "//sdk/lib/syslog/cpp", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| ctf_fuchsia_component("component") { |
| testonly = true |
| component_name = "driver_test_realm_cts_test" |
| manifest = "meta/driver_test_realm_cts_test.cml" |
| deps = [ ":bin" ] |
| } |
| |
| ctf_fuchsia_test_package("driver_test_realm_cts_test") { |
| package_name = "driver_test_realm_cts_test" |
| test_components = [ ":component" ] |
| } |