| # 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("devmgr-launcher") { |
| testonly = true |
| sdk = "shared" |
| sdk_headers = [ |
| "lib/devmgr-launcher/launch.h", |
| "lib/devmgr-launcher/processargs.h", |
| ] |
| |
| # This is a helper library, we would like clients to use devmgr-integration-test |
| # instead. |
| visibility = [ |
| "//src/devices/bin/driver_manager:lib", |
| "//src/devices/testing/devmgr-integration-test-shim/*", |
| "//zircon/system/ulib/devmgr-integration-test/*", |
| ] |
| |
| sources = [ "launcher.cc" ] |
| public_deps = [ "//sdk/lib/fit" ] |
| deps = [ |
| "//sdk/fidl/fuchsia.io:fuchsia.io_llcpp", |
| "//sdk/lib/fdio", |
| "//sdk/lib/fdio:fdio-spawn-actions", |
| "//sdk/lib/fit", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zx", |
| ] |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] |
| } |