mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
- 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
74 lines
2.1 KiB
Plaintext
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",
|
|
],
|
|
},
|
|
|
|
],
|
|
|
|
}
|