blob: 4cec1b1357001915045079fb64587d3988cd664f [file] [log] [blame]
# 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.
# [START imports]
import("//build/components.gni")
import("//build/test.gni")
# [END imports]
# [START test]
test("test") {
testonly = true
output_name = "fidl_example_llcpp_test"
sources = [ "main.cc" ]
deps = [
# For a FIDL library named "fuchsia.examples", the corresponding
# GN target for the LLCPP generated bindings is suffixed with "_llcpp",
# i.e. "fuchsia.examples_llcpp".
"//examples/fidl/fuchsia.examples:fuchsia.examples_llcpp",
"//src/lib/fxl/test:gtest_main",
]
}
# [END test]
# [START package]
fuchsia_unittest_package("fidl-example-llcpp-test") {
deps = [ ":test" ]
}
group("unittests") {
testonly = true
deps = [ ":fidl-example-llcpp-test" ]
}
# [END package]