Files
hardware_interfaces/camera/device/aidl/Android.bp
Eino-Ville Talvala 50b9157605 Graphics: Add Rust and AIDL defaults for graphics HALS, migrate usages
- Add new defaults for Rust and AIDL graphics HAL library references
- Migrate HAL interfaces to use new AIDL defaults

This is in preparation for upgrading the graphics.common HAL to V6.

Test: Builds
Bug: 368395888
Flag: EXEMPT build changes
Change-Id: I9d312328255226fbd7162b9dfd151dfa823f1858
2024-10-16 17:48:22 -07:00

74 lines
2.1 KiB
Plaintext

package {
default_team: "trendy_team_camera_framework",
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "hardware_interfaces_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
default_applicable_licenses: ["hardware_interfaces_license"],
}
aidl_interface {
name: "android.hardware.camera.device",
host_supported: true,
vendor_available: true,
srcs: ["android/hardware/camera/device/*.aidl"],
frozen: true,
stability: "vintf",
defaults: [
"android.hardware.graphics.common-latest",
],
imports: [
"android.hardware.common-V2",
"android.hardware.common.fmq-V1",
"android.hardware.camera.common-V1",
"android.hardware.camera.metadata-V3",
],
backend: {
cpp: {
enabled: false,
},
java: {
sdk_version: "module_current",
enabled: false,
},
rust: {
enabled: true,
},
},
versions_with_info: [
{
version: "1",
imports: [
"android.hardware.common-V2",
"android.hardware.common.fmq-V1",
"android.hardware.camera.common-V1",
"android.hardware.camera.metadata-V1",
"android.hardware.graphics.common-V5",
],
},
{
version: "2",
imports: [
"android.hardware.common-V2",
"android.hardware.common.fmq-V1",
"android.hardware.camera.common-V1",
"android.hardware.camera.metadata-V2",
"android.hardware.graphics.common-V5",
],
},
{
version: "3",
imports: [
"android.hardware.common-V2",
"android.hardware.common.fmq-V1",
"android.hardware.camera.common-V1",
"android.hardware.camera.metadata-V3",
"android.hardware.graphics.common-V5",
],
},
],
}