blob: 02fd6142b65569f323bd4bb13449a20b738973bc [file] [log] [blame]
# 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/bazel/export_fuchsia_package_to_bazel.gni")
import("//build/components.gni")
import("//build/go/toolchain.gni")
import("//build/rust/rustc_binary.gni")
executable("bin") {
output_name = "llcpp-impl"
output_dir = target_out_dir
testonly = true
sources = [ "main.cc" ]
deps = [
"//sdk/lib/async-default",
"//sdk/lib/async-loop",
"//sdk/lib/async-loop:async-loop-cpp",
"//sdk/lib/async-loop:async-loop-default",
"//sdk/lib/fdio",
"//sdk/lib/sys/cpp",
"//sdk/lib/vfs/cpp",
"//src/tests/fidl/compatibility/fidl:fidl_service_cpp_testing",
]
}
fuchsia_component("impl") {
testonly = true
manifest = "meta/impl.cml"
deps = [ ":bin" ]
}
fuchsia_package("llcpp") {
testonly = true
package_name = "fidl-compatibility-test-llcpp"
deps = [ ":impl" ]
}
export_fuchsia_package_to_bazel("llcpp.bazel_input") {
testonly = true
package = ":llcpp"
}