blob: c5ecacd516e5c1afdd0eed2d843dd8a1cf291340 [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",
Sungtak Leef36c31c2024-01-12 04:53:17 +000023 "android.hardware.media.bufferpool2-V2",
Sungtak Lee8602fe32022-10-19 17:01:18 +000024 ],
Sungtak Lee91d8a092023-12-16 08:53:34 +000025 include_dirs: [
26 "frameworks/native/aidl/gui",
27 ],
Sungtak Lee8602fe32022-10-19 17:01:18 +000028 stability: "vintf",
29 backend: {
30 cpp: {
31 enabled: false,
32 },
33 java: {
34 enabled: false,
35 },
36 ndk: {
37 enabled: true,
Wonsik Kim98faf552023-08-30 11:15:57 -070038 apex_available: [
39 "//apex_available:platform",
40 "com.android.media.swcodec",
41 "test_com.android.media.swcodec",
42 ],
Sungtak Lee8602fe32022-10-19 17:01:18 +000043 additional_shared_libraries: [
44 "libnativewindow",
45 ],
46 },
Andrew Walbran3a91d2b2023-08-31 17:54:07 +010047 rust: {
Devin Moore763909c2023-12-18 19:28:10 +000048 // No users, and no rust implementation of android.os.Surface yet
49 enabled: false,
Andrew Walbran3a91d2b2023-08-31 17:54:07 +010050 },
Sungtak Lee8602fe32022-10-19 17:01:18 +000051 },
Devin Moorea8efdb12024-02-20 17:31:40 +000052 versions_with_info: [
53 {
54 version: "1",
55 imports: [
56 "android.hardware.common-V2",
57 "android.hardware.media.bufferpool2-V2",
58 ],
59 },
60 ],
61 frozen: true,
62
Sungtak Lee8602fe32022-10-19 17:01:18 +000063}