blob: 62005e9355293d1c508504a5e75f4db4582d28b7 [file] [log] [blame]
# 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.
import("//src/sys/core/build/core_shard.gni")
group("camera") {
testonly = true
deps = [
":tools",
"bin",
"drivers",
"lib",
"testing",
]
}
group("tests") {
testonly = true
deps = [
"bin:tests",
"drivers:tests",
"lib:tests",
]
}
group("drivers") {
deps = [
"drivers/bus/aml_mipicsi:aml_mipicsi_driver",
"drivers/controller/sherlock:sherlock-camera-controller",
"drivers/hw_accel/gdc:driver",
"drivers/hw_accel/ge2d:ge2d-driver",
"drivers/sensors/imx227:driver",
]
}
group("service") {
public_deps = [
"//src/camera/bin/device",
"//src/camera/bin/device_watcher",
]
}
# Add targets here that are useful for general development.
group("tools") {
testonly = true
public_deps = [
"//src/camera/bin/benchmark",
"//src/camera/bin/sensor_cli",
]
}
# The camera service is not relevant to all configurations, so products
# that require it should include this shard to expose its protocols.
core_shard("camera_core_shard") {
shard_file = "meta/camera.core_shard.cml"
}
# TODO(b/236962910) - Must clean this up later.
# Temporary core shard designed to accommodate USB webcam's.
# This is likely not the final form of capabilities routing for USB webcam's
# because the routing structure must support both Sherlock and USB webcam's.
core_shard("usb_webcam_core_shard") {
shard_file = "meta/usb_webcam.core_shard.cml"
}