| # 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") | |
| fuchsia_package("llcpp") { | |
| package_name = "fidl-compatibility-test-llcpp" | |
| testonly = true | |
| deps = [ ":impl" ] | |
| } | |
| export_fuchsia_package_to_bazel("llcpp.bazel_input") { | |
| testonly = true | |
| package = ":llcpp" | |
| } | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| executable("bin") { | |
| testonly = true | |
| sources = [ "main.cc" ] | |
| output_name = "llcpp-impl" | |
| 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", | |
| "//src/tests/fidl/compatibility/fidl:fidl_service_cpp_testing", | |
| ] | |
| output_dir = target_out_dir | |
| } | |
| fuchsia_component_manifest("impl_manifest") { | |
| testonly = true | |
| component_name = "impl" | |
| manifest = "meta/impl.cml" | |
| } | |
| fuchsia_component("impl") { | |
| testonly = true | |
| cm_label = ":impl_manifest" | |
| deps = [ ":bin" ] | |
| } |