| # 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. |
| |
| load( |
| "@rules_fuchsia//fuchsia:defs.bzl", |
| "fuchsia_cc_binary", |
| "fuchsia_component", |
| "fuchsia_component_manifest", |
| "fuchsia_package", |
| ) |
| |
| fuchsia_cc_binary( |
| name = "multiply_client", |
| srcs = [ |
| "main.cc", |
| ], |
| deps = [ |
| "//src/acpi_multiply/fidl:examples.acpi.multiply_cc", |
| "@fuchsia_sdk//pkg/fdio", |
| "@fuchsia_sdk//pkg/fidl_cpp_wire", |
| ], |
| ) |
| |
| fuchsia_component_manifest( |
| name = "manifest", |
| src = "meta/multiply_client.cml", |
| includes = [ |
| "@fuchsia_sdk//pkg/syslog:client", |
| ], |
| ) |
| |
| fuchsia_component( |
| name = "component", |
| manifest = ":manifest", |
| deps = [ |
| ":multiply_client", |
| ], |
| ) |
| |
| fuchsia_package( |
| name = "pkg", |
| package_name = "multiply_client", |
| visibility = ["//visibility:public"], |
| components = [ |
| ":component", |
| ], |
| ) |