| # Copyright 2021 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/assembly/bootfs_files_for_assembly.gni") |
| import("//build/components.gni") |
| |
| executable("bin") { |
| visibility = [ ":*" ] |
| output_name = "lights-cli" |
| |
| sources = [ |
| "lights-cli.cc", |
| "lights-cli.h", |
| "main.cc", |
| ] |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.light:fuchsia.hardware.light_cpp", |
| "//sdk/lib/component/incoming/cpp", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/fzl", |
| "//zircon/system/ulib/zx", |
| ] |
| } |
| |
| bootfs_files_for_assembly("bootfs") { |
| deps = [ ":bin" ] |
| } |