| # 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") |
| import("//build/fidl/fidl.gni") |
| import("//build/test.gni") |
| |
| group("fpromise") { |
| testonly = true |
| deps = [ ":fidl_cpp_fpromise_tests" ] |
| } |
| |
| test("fidl_cpp_fpromise_tests_bin") { |
| output_name = "fidl_cpp_fpromise_tests" |
| sources = [ "client_test.cc" ] |
| deps = [ |
| "//sdk/lib/async:async-cpp", |
| "//sdk/lib/async-loop:async-loop-cpp", |
| "//sdk/lib/fit-promise", |
| "//sdk/testing/fidl/protocols_tests:test.basic.protocol_cpp", |
| "//sdk/testing/fidl/protocols_tests:test.error.methods_cpp", |
| "//src/lib/fidl/contrib/fpromise", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("fidl_cpp_fpromise_tests") { |
| deps = [ ":fidl_cpp_fpromise_tests_bin" ] |
| } |