| # Copyright 2019 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. |
| |
| source_set("camera-task") { |
| visibility = [ "*" ] |
| sources = [ |
| "task.cc", |
| "task.h", |
| ] |
| public_deps = [ |
| "//sdk/banjo/fuchsia.hardware.camerahwaccel:fuchsia.hardware.camerahwaccel_banjo_cpp", |
| "//sdk/banjo/fuchsia.sysmem:fuchsia.sysmem_banjo_c", |
| "//sdk/fidl/fuchsia.sysmem:fuchsia.sysmem_c", |
| "//sdk/lib/fit-promise", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/fzl", |
| ] |
| deps = [ |
| "//src/camera/lib/vmo_pool_wrapper", |
| "//zircon/system/ulib/image-format", |
| "//zircon/system/ulib/syslog", |
| "//zircon/system/ulib/zx", |
| ] |
| |
| # TODO(fxbug.dev/95833): This target uses the deprecated C bindings. |
| # Consider switching to the C++ bindings. See linked bug for details. |
| configs += [ "//build/c:fidl-deprecated-c-bindings" ] |
| } |