| # 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/components.gni") | |
| group("sensor_cli") { | |
| deps = [ ":camera_sensor_cli" ] | |
| } | |
| executable("camera_sensor_cli_bin") { | |
| output_name = "camera_sensor_cli_bin" | |
| sources = [ | |
| "debug_client.cc", | |
| "debug_client.h", | |
| "main.cc", | |
| ] | |
| deps = [ | |
| "//sdk/fidl/fuchsia.camera2.debug:fuchsia.camera2.debug_hlcpp", | |
| "//sdk/fidl/fuchsia.camera2.hal:fuchsia.camera2.hal_hlcpp", | |
| "//sdk/fidl/fuchsia.hardware.camera:fuchsia.hardware.camera_cpp", | |
| "//sdk/fidl/fuchsia.hardware.camera:fuchsia.hardware.camera_hlcpp", | |
| "//sdk/lib/async-loop:async-loop-cpp", | |
| "//sdk/lib/async-loop:async-loop-default", | |
| "//sdk/lib/component/incoming/cpp", | |
| "//sdk/lib/sys/cpp", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/lib/fxl:fxl_cli", | |
| ] | |
| } | |
| fuchsia_package("camera_sensor_cli") { | |
| deps = [ ":camera_sensor_cli_bin" ] | |
| } |