mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 10:44:41 +00:00
53 lines
1.4 KiB
Plaintext
53 lines
1.4 KiB
Plaintext
// This is the expected build file, but it may not be right in all cases
|
|
|
|
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.media.c2",
|
|
min_sdk_version: "30",
|
|
vendor_available: true,
|
|
double_loadable: true,
|
|
srcs: ["android/hardware/media/c2/*.aidl"],
|
|
headers: [
|
|
"HardwareBuffer_aidl",
|
|
],
|
|
imports: [
|
|
"android.hardware.common-V2",
|
|
"android.hardware.media.bufferpool2-V2",
|
|
],
|
|
include_dirs: [
|
|
"frameworks/native/aidl/gui",
|
|
],
|
|
stability: "vintf",
|
|
backend: {
|
|
cpp: {
|
|
enabled: false,
|
|
},
|
|
java: {
|
|
enabled: false,
|
|
},
|
|
ndk: {
|
|
enabled: true,
|
|
apex_available: [
|
|
"//apex_available:platform",
|
|
"com.android.media.swcodec",
|
|
"test_com.android.media.swcodec",
|
|
],
|
|
additional_shared_libraries: [
|
|
"libnativewindow",
|
|
],
|
|
},
|
|
rust: {
|
|
// No users, and no rust implementation of android.os.Surface yet
|
|
enabled: false,
|
|
},
|
|
},
|
|
}
|