blob: e435712097f197d52494abb95fd2963f513f04dd [file] [log] [blame] [edit]
# Copyright 2022 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")
executable("bin") {
testonly = true
output_name = "server_suite_under_test_cpp"
sources = [ "main.cc" ]
deps = [
"//sdk/lib/component/outgoing/cpp",
"//src/tests/fidl/server_suite/cpp_util",
"//src/tests/fidl/server_suite/fidl:fidl.serversuite_cpp",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
}
fuchsia_component("cpp_server") {
testonly = true
component_name = "server"
manifest = "meta/server.cml"
deps = [ ":bin" ]
}
fuchsia_component("harness_cpp") {
testonly = true
component_name = "harness"
manifest = "meta/harness_cpp.cml"
deps = [ "//src/tests/fidl/server_suite/harness:bin" ]
}
fuchsia_test_package("fidl-server-suite-cpp-test") {
test_components = [ ":harness_cpp" ]
deps = [ ":cpp_server" ]
}
group("cpp") {
testonly = true
deps = [ ":fidl-server-suite-cpp-test" ]
}