blob: 2546c8683e98ed63fbb71d49f6aa50b4662f7b3c [file] [log] [blame]
# 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.
source_set("unit") {
testonly = true
sources = [
"component_context_for_test.cc",
"component_context_for_test.h",
"service_directory_for_test.cc",
"service_directory_for_test.h",
"startup_context_for_test.h",
"test_with_context.cc",
"test_with_context.h",
]
public_deps = [
"//garnet/public/lib/gtest",
"//sdk/lib/sys/cpp",
"//sdk/lib/vfs/cpp",
"//zircon/public/fidl/fuchsia-io",
"//zircon/public/lib/fit",
"//zircon/public/lib/zx",
]
deps = [
"//zircon/public/lib/fdio",
]
public_configs = [ "//sdk/config" ]
}
source_set("integration") {
testonly = true
sources = [
"test_with_environment.cc",
"test_with_environment.h",
]
public_deps = [
":enclosing_environment",
"//garnet/public/lib/gtest",
]
public_configs = [ "//sdk/config" ]
}
source_set("enclosing_environment") {
testonly = true
sources = [
"component_interceptor.cc",
"component_interceptor.h",
"enclosing_environment.cc",
"enclosing_environment.h",
"launcher_impl.cc",
"launcher_impl.h",
]
deps = [
"//sdk/lib/sys/cpp/testing/environment_delegating_runner:bin",
"//third_party/rapidjson",
]
public_configs = [ "//sdk/config" ]
public_deps = [
"//sdk/fidl/fuchsia.sys",
"//sdk/lib/fidl/cpp",
"//sdk/lib/sys/cpp",
"//sdk/lib/vfs/cpp",
"//sdk/lib/vfs/cpp",
"//zircon/public/lib/async-default",
]
}