| # 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. |
| |
| # [START imports] |
| load( |
| "@fuchsia_sdk//fuchsia:defs.bzl", |
| "fuchsia_cc_binary", |
| "fuchsia_component", |
| "fuchsia_component_manifest", |
| "fuchsia_driver_tool", |
| "fuchsia_package", |
| ) |
| # [END imports] |
| |
| # [START binary] |
| fuchsia_cc_binary( |
| name = "eductl", |
| srcs = [ |
| "eductl.cc", |
| ], |
| deps = [ |
| "//src/qemu_edu/fidl:examples.qemuedu_cc", |
| "@fuchsia_sdk//pkg/component_incoming_cpp", |
| "@fuchsia_sdk//pkg/fdio", |
| "@fuchsia_sdk//pkg/fidl_cpp_wire", |
| ], |
| ) |
| # [END binary] |
| |
| # [START component] |
| fuchsia_driver_tool( |
| name = "eductl_tool", |
| binary = ":eductl", |
| visibility = ["//visibility:public"], |
| ) |
| # [END component] |
| |
| # [START package] |
| fuchsia_package( |
| name = "pkg", |
| package_name = "eductl", |
| tools = [ |
| ":eductl_tool", |
| ], |
| visibility = ["//visibility:public"], |
| ) |
| # [END package] |