| # Copyright 2020 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. |
| |
| executable("encode_camera") { |
| testonly = true |
| |
| output_name = "encode_camera" |
| |
| sources = [ |
| "camera_client.cc", |
| "camera_client.h", |
| "encoder_client.cc", |
| "encoder_client.h", |
| "main.cc", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.camera3:fuchsia.camera3_hlcpp", |
| "//sdk/fidl/fuchsia.mediacodec:fuchsia.mediacodec_hlcpp", |
| "//sdk/lib/fit-promise", |
| "//sdk/lib/sys/cpp", |
| "//src/lib/fxl:fxl_cli", |
| "//src/media/lib/test:codec_buffer", |
| "//zircon/system/ulib/async", |
| "//zircon/system/ulib/async:async-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-cpp", |
| "//zircon/system/ulib/async-loop:async-loop-default", |
| ] |
| } |