blob: 994656ca001201e5a7420b8b6ce4f4f1dbd68cc9 [file] [log] [blame]
# Copyright 2021 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")
import("//build/fidl/fidl.gni")
import("//build/test.gni")
group("dispatcher") {
testonly = true
deps = [ ":fidl_cpp_dispatcher_tests" ]
}
test("fidl_cpp_dispatcher_tests_bin") {
output_name = "fidl_cpp_dispatcher_tests"
sources = [
"client_test.cc",
"natural_client_messenger_test.cc",
"test_messages.h",
]
deps = [
"//sdk/lib/stdcompat",
"//src/lib/fidl/cpp",
"//zircon/public/lib/async-cpp",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/async-loop",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
]
# TODO(https://fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}
fuchsia_unittest_package("fidl_cpp_dispatcher_tests") {
deps = [ ":fidl_cpp_dispatcher_tests_bin" ]
}