| # 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. |
| |
| import("//build/zircon/zx_library.gni") |
| |
| zx_library("driver-integration-test") { |
| testonly = true |
| sdk = "shared" |
| sdk_headers = [ "lib/driver-integration-test/fixture.h" ] |
| |
| sources = [ "launcher.cc" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/lib/ddk", |
| "//zircon/system/ulib/devmgr-integration-test", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/inspector", |
| "//zircon/system/ulib/zx", |
| ] |
| public_deps = [ |
| "//sdk/fidl/fuchsia.io:fuchsia.io_llcpp", |
| "//sdk/lib/fit", |
| "//src/lib/ddk", |
| "//src/lib/ddk:ddk-metadata-headers", |
| "//zircon/system/ulib/devmgr-integration-test", |
| "//zircon/system/ulib/fbl", |
| ] |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] |
| |
| # STOP: Do not add any new entries to this allow list. Use //sdk/lib/driver_test_realm instead. |
| visibility = [ |
| "//src/devices/tests/ddk-power/*", |
| "//src/diagnostics/validator/logs/ddk/sink/puppet/cpp/*", |
| "//zircon/system/ulib/driver-integration-test/test/*", |
| ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ "test:driver-integration-test" ] |
| } |