| # 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/cpp/sdk_source_set.gni") |
| |
| sdk_source_set("cpp") { |
| category = "partner" |
| |
| sdk_name = "sys_cpp_testing" |
| |
| include_base = "//sdk" |
| stable = true |
| |
| sources = [ |
| "component_context_provider.cc", |
| "component_context_provider.h", |
| "service_directory_provider.cc", |
| "service_directory_provider.h", |
| ] |
| |
| public_deps = [ |
| "//sdk/fidl/fuchsia.io:fuchsia.io_hlcpp", |
| "//sdk/lib/fidl/cpp", |
| "//sdk/lib/fit", |
| "//sdk/lib/sys/cpp", |
| "//zircon/system/ulib/zx", |
| ] |
| |
| deps = [ |
| "//sdk/lib/fdio", |
| "//sdk/lib/vfs/cpp", |
| ] |
| |
| public_configs = [ "//sdk/config" ] |
| } |
| |
| # DEPRECATED, use `:cpp` instead. |
| group("unit") { |
| # TODO(https://fxbug.dev/42162818): Remove or refactor deprecated references to `:unit`. |
| testonly = true |
| |
| public_deps = [ ":cpp" ] |
| } |