2021-02-12 20:13:01 -08:00
|
|
|
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"],
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-20 20:01:54 +01:00
|
|
|
aidl_interface {
|
|
|
|
|
name: "android.hardware.neuralnetworks",
|
2021-08-11 21:29:20 +00:00
|
|
|
host_supported: true,
|
2020-07-20 20:01:54 +01:00
|
|
|
vendor_available: true,
|
|
|
|
|
srcs: [
|
|
|
|
|
"android/hardware/neuralnetworks/*.aidl",
|
|
|
|
|
],
|
|
|
|
|
stability: "vintf",
|
|
|
|
|
imports: [
|
2021-08-30 18:02:43 -07:00
|
|
|
"android.hardware.common-V2",
|
2023-09-27 03:13:04 +00:00
|
|
|
"android.hardware.graphics.common-V5",
|
2020-07-20 20:01:54 +01:00
|
|
|
],
|
|
|
|
|
backend: {
|
|
|
|
|
java: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
|
|
|
|
cpp: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
2020-11-11 18:28:50 +00:00
|
|
|
ndk: {
|
|
|
|
|
apex_available: [
|
|
|
|
|
"//apex_available:platform",
|
|
|
|
|
"com.android.neuralnetworks",
|
|
|
|
|
"test_com.android.neuralnetworks",
|
|
|
|
|
],
|
|
|
|
|
min_sdk_version: "30",
|
|
|
|
|
},
|
2020-07-20 20:01:54 +01:00
|
|
|
},
|
2022-03-22 14:18:48 +09:00
|
|
|
versions_with_info: [
|
|
|
|
|
{
|
|
|
|
|
version: "1",
|
|
|
|
|
imports: [
|
|
|
|
|
"android.hardware.common-V2",
|
2023-09-27 03:13:04 +00:00
|
|
|
"android.hardware.graphics.common-V5",
|
2022-03-22 14:18:48 +09:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
version: "2",
|
|
|
|
|
imports: [
|
|
|
|
|
"android.hardware.common-V2",
|
2023-09-27 03:13:04 +00:00
|
|
|
"android.hardware.graphics.common-V5",
|
2022-03-22 14:18:48 +09:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
version: "3",
|
|
|
|
|
imports: [
|
|
|
|
|
"android.hardware.common-V2",
|
2023-09-27 03:13:04 +00:00
|
|
|
"android.hardware.graphics.common-V5",
|
2022-03-22 14:18:48 +09:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
version: "4",
|
|
|
|
|
imports: [
|
|
|
|
|
"android.hardware.common-V2",
|
2023-09-27 03:13:04 +00:00
|
|
|
"android.hardware.graphics.common-V5",
|
2022-03-22 14:18:48 +09:00
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
|
2021-11-03 11:00:26 -07:00
|
|
|
],
|
2022-03-22 14:18:48 +09:00
|
|
|
|
2020-07-20 20:01:54 +01:00
|
|
|
}
|