mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 21:37:44 +00:00
Merge "Graphics: Add Rust and AIDL defaults for graphics HALS, migrate usages" into main
This commit is contained in:
@@ -28,9 +28,11 @@ aidl_interface {
|
||||
"android/hardware/automotive/evs/*.aidl",
|
||||
],
|
||||
stability: "vintf",
|
||||
defaults: [
|
||||
"android.hardware.graphics.common-latest",
|
||||
],
|
||||
imports: [
|
||||
"android.hardware.common-V2",
|
||||
"android.hardware.graphics.common-V5",
|
||||
],
|
||||
backend: {
|
||||
java: {
|
||||
|
||||
@@ -14,12 +14,14 @@ aidl_interface {
|
||||
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",
|
||||
"android.hardware.graphics.common-V5",
|
||||
],
|
||||
backend: {
|
||||
cpp: {
|
||||
|
||||
@@ -16,6 +16,23 @@ package {
|
||||
default_applicable_licenses: ["hardware_interfaces_license"],
|
||||
}
|
||||
|
||||
aidl_interface_defaults {
|
||||
name: "android.hardware.graphics.allocator-latest",
|
||||
imports: [
|
||||
"android.hardware.graphics.allocator-V2",
|
||||
],
|
||||
}
|
||||
|
||||
rust_defaults {
|
||||
name: "android.hardware.graphics.allocator-latest-rust",
|
||||
rustlibs: [
|
||||
"android.hardware.graphics.allocator-V2-rust",
|
||||
],
|
||||
defaults: [
|
||||
"android.hardware.graphics.common-latest-rust",
|
||||
],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "android.hardware.graphics.allocator-ndk_static",
|
||||
static_libs: [
|
||||
@@ -36,6 +53,20 @@ cc_defaults {
|
||||
],
|
||||
}
|
||||
|
||||
aidl_interface_defaults {
|
||||
name: "android.hardware.graphics.common-latest",
|
||||
imports: [
|
||||
"android.hardware.graphics.common-V5",
|
||||
],
|
||||
}
|
||||
|
||||
rust_defaults {
|
||||
name: "android.hardware.graphics.common-latest-rust",
|
||||
rustlibs: [
|
||||
"android.hardware.graphics.common-V5-rust",
|
||||
],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "android.hardware.graphics.common-ndk_static",
|
||||
static_libs: [
|
||||
@@ -50,6 +81,13 @@ cc_defaults {
|
||||
],
|
||||
}
|
||||
|
||||
aidl_interface_defaults {
|
||||
name: "android.hardware.graphics.composer3-latest",
|
||||
imports: [
|
||||
"android.hardware.graphics.composer3-V4",
|
||||
],
|
||||
}
|
||||
|
||||
cc_defaults {
|
||||
name: "android.hardware.graphics.composer3-ndk_static",
|
||||
static_libs: [
|
||||
|
||||
@@ -13,9 +13,11 @@ aidl_interface {
|
||||
vendor_available: true,
|
||||
double_loadable: true,
|
||||
srcs: ["android/hardware/graphics/allocator/*.aidl"],
|
||||
defaults: [
|
||||
"android.hardware.graphics.common-latest",
|
||||
],
|
||||
imports: [
|
||||
"android.hardware.common-V2",
|
||||
"android.hardware.graphics.common-V5",
|
||||
],
|
||||
stability: "vintf",
|
||||
backend: {
|
||||
|
||||
@@ -34,8 +34,10 @@ aidl_interface {
|
||||
"android/hardware/graphics/composer3/*.aidl",
|
||||
],
|
||||
stability: "vintf",
|
||||
defaults: [
|
||||
"android.hardware.graphics.common-latest",
|
||||
],
|
||||
imports: [
|
||||
"android.hardware.graphics.common-V5",
|
||||
"android.hardware.common-V2",
|
||||
],
|
||||
backend: {
|
||||
|
||||
@@ -16,9 +16,11 @@ aidl_interface {
|
||||
"android/hardware/neuralnetworks/*.aidl",
|
||||
],
|
||||
stability: "vintf",
|
||||
defaults: [
|
||||
"android.hardware.graphics.common-latest",
|
||||
],
|
||||
imports: [
|
||||
"android.hardware.common-V2",
|
||||
"android.hardware.graphics.common-V5",
|
||||
],
|
||||
backend: {
|
||||
java: {
|
||||
|
||||
Reference in New Issue
Block a user