Files
hardware_interfaces/graphics/common/aidl/Android.bp
Steven Moreland b196a659d2 .graphics.common: use versions for imports
This makes sure that when developers add a new version of an interface,
or when interfaces are being frozen, the runtime/buildtime situation of
clients depending on those interfaces remains the same. This is required
for AIDL to continue working at scale.

Bug: 188871598
Test: build
Change-Id: I5d85ed0f8d5cbeb0ec20659def492bc97787d9a9
2021-08-30 17:56:06 -07:00

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