blob: 84cb38298aaea39a8b3b6223e5920f65a60edc15 [file] [log] [blame]
Sungtak Lee8602fe32022-10-19 17:01:18 +00001// This is the expected build file, but it may not be right in all cases
2
Bob Badour0468ee62022-12-15 07:20:02 -08003package {
4 // See: http://go/android-license-faq
5 // A large-scale-change added 'default_applicable_licenses' to import
6 // all of the 'license_kinds' from "hardware_interfaces_license"
7 // to get the below license kinds:
8 // SPDX-license-identifier-Apache-2.0
9 default_applicable_licenses: ["hardware_interfaces_license"],
10}
11
Sungtak Lee8602fe32022-10-19 17:01:18 +000012aidl_interface {
13 name: "android.hardware.media.c2",
Sungtak Lee007122b2023-10-04 17:25:48 +000014 min_sdk_version: "30",
Sungtak Lee8602fe32022-10-19 17:01:18 +000015 vendor_available: true,
Wonsik Kimc14558d2022-12-06 12:29:54 -080016 double_loadable: true,
Sungtak Lee8602fe32022-10-19 17:01:18 +000017 srcs: ["android/hardware/media/c2/*.aidl"],
Wonsik Kim98faf552023-08-30 11:15:57 -070018 headers: [
19 "HardwareBuffer_aidl",
Sungtak Lee8602fe32022-10-19 17:01:18 +000020 ],
21 imports: [
22 "android.hardware.common-V2",
23 "android.hardware.media.bufferpool2-V1",
24 ],
25 stability: "vintf",
26 backend: {
27 cpp: {
28 enabled: false,
29 },
30 java: {
31 enabled: false,
32 },
33 ndk: {
34 enabled: true,
Wonsik Kim98faf552023-08-30 11:15:57 -070035 apex_available: [
36 "//apex_available:platform",
37 "com.android.media.swcodec",
38 "test_com.android.media.swcodec",
39 ],
Sungtak Lee8602fe32022-10-19 17:01:18 +000040 additional_shared_libraries: [
41 "libnativewindow",
42 ],
43 },
Andrew Walbran3a91d2b2023-08-31 17:54:07 +010044 rust: {
Devin Moore763909c2023-12-18 19:28:10 +000045 // No users, and no rust implementation of android.os.Surface yet
46 enabled: false,
Andrew Walbran3a91d2b2023-08-31 17:54:07 +010047 },
Sungtak Lee8602fe32022-10-19 17:01:18 +000048 },
49}