Files
hardware_interfaces/media/c2/aidl/Android.bp
Devin Moore 763909c378 Disable the rust backend of android.hardware.media.c2
There are currently no users of it. Enabling it will require adding rust
support for the android.os.Surface type that uses ANativeWindow
underneath.

Test: m
Bug: 315556623
Change-Id: Ib9954b1bf476b391919db994bc2dc1483d972670
2023-12-18 19:28:10 +00:00

50 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-V1",
],
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,
},
},
}