| # 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/components.gni") |
| |
| source_set("fidl") { |
| sources = [ "hanging_getter.h" ] |
| |
| public_deps = [ "//sdk/lib/fit" ] |
| } |
| |
| executable("tests_bin") { |
| testonly = true |
| output_name = "bt-lib-fidl-unittests" |
| |
| sources = [ "hanging_getter_unittest.cc" ] |
| |
| deps = [ |
| ":fidl", |
| "//sdk/lib/fidl/cpp", |
| "//src/lib/fxl/test:gtest_main", |
| "//third_party/googletest:gtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("bt-lib-fidl-tests") { |
| deps = [ ":tests_bin" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":bt-lib-fidl-tests" ] |
| } |