Files
hardware_interfaces/common/aidl/Android.bp
Andrew Walbran 2d425674b5 Support Rust builds of some AIDL interfaces.
For now android.hardware.common, android.hardware.common.fmq and
android.hardware.media.bufferpool2. These are prerequisites for
android.hardware.media.c2, which I'm splitting out to a separate CL to
simplify merging.

Bug: 295245772
Test: m android.hardware.common android.hardware.common.fmq android.hardware.media.bufferpool2
Change-Id: I23018cf198ae126ced8358d562fd8e8a7c6e78ad
Merged-In: I1ab9ed45b0b500065c0f18b810c3aa266878b80f
2023-09-14 16:46:00 +01:00

49 lines
1.2 KiB
Plaintext

package {
// 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.common",
host_supported: true,
vendor_available: true,
vndk: {
enabled: true,
support_system_process: true,
},
vndk_use_version: "2",
srcs: [
"android/hardware/common/*.aidl",
],
stability: "vintf",
backend: {
java: {
sdk_version: "module_current",
},
cpp: {
enabled: false,
},
ndk: {
apex_available: [
"//apex_available:platform",
"com.android.btservices",
"com.android.media.swcodec",
"com.android.neuralnetworks",
],
min_sdk_version: "29",
},
rust: {
enabled: true,
},
},
frozen: true,
versions: [
"1",
"2",
],
}