| # Copyright 2020 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("//src/sys/build/components.gni") |
| |
| # [START bin] |
| executable("bin") { |
| testonly = true |
| output_name = "fostr_example_test" |
| sources = [ "main.cc" ] |
| deps = [ |
| "//examples/fidl/fuchsia.examples", |
| "//garnet/public/lib/fostr/fidl/fuchsia.examples", |
| "//src/lib/fxl/test:gtest_main", |
| "//third_party/googletest:gtest_main", |
| ] |
| } |
| |
| # [END bin] |
| |
| fuchsia_unittest_package("fostr-example-test") { |
| deps = [ ":bin" ] |
| } |
| |
| group("fostr") { |
| testonly = true |
| deps = [ ":fostr-example-test" ] |
| } |