blob: 829971d50bea19d34608d4f1d3ca30e30544ea1a [file] [log] [blame]
Sungtak Lee90584d22022-09-06 16:05:58 +00001// Copyright (C) 2022 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Bob Badour18c8b0e2022-11-10 11:40:27 -080015package {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000016 default_team: "trendy_team_android_media_codec_framework",
Bob Badour18c8b0e2022-11-10 11:40:27 -080017 // See: http://go/android-license-faq
18 // A large-scale-change added 'default_applicable_licenses' to import
19 // all of the 'license_kinds' from "hardware_interfaces_license"
20 // to get the below license kinds:
21 // SPDX-license-identifier-Apache-2.0
22 default_applicable_licenses: ["hardware_interfaces_license"],
23}
24
Sungtak Lee90584d22022-09-06 16:05:58 +000025aidl_interface {
26 name: "android.hardware.media.bufferpool2",
27 vendor_available: true,
Wonsik Kim4f5dd1c2022-12-06 12:29:54 -080028 double_loadable: true,
Sungtak Lee90584d22022-09-06 16:05:58 +000029 srcs: ["android/hardware/media/bufferpool2/*.aidl"],
Sungtak Lee71ef1c12024-01-11 21:26:07 +000030 headers: [
31 "HardwareBuffer_aidl",
32 ],
Sungtak Lee90584d22022-09-06 16:05:58 +000033 imports: [
34 "android.hardware.common-V2",
35 "android.hardware.common.fmq-V1",
36 ],
37 stability: "vintf",
38 backend: {
39 cpp: {
40 enabled: false,
41 },
42 java: {
43 enabled: false,
44 },
45 ndk: {
46 enabled: true,
Sungtak Lee34254e52022-12-15 01:25:46 +000047 apex_available: [
48 "//apex_available:platform",
49 "com.android.media.swcodec",
50 ],
Sungtak Lee71ef1c12024-01-11 21:26:07 +000051 additional_shared_libraries: [
52 "libnativewindow",
53 ],
Sungtak Lee34254e52022-12-15 01:25:46 +000054 min_sdk_version: "29",
Sungtak Lee90584d22022-09-06 16:05:58 +000055 },
Andrew Walbranfcb6c412023-09-14 15:44:57 +000056 rust: {
Sungtak Lee71ef1c12024-01-11 21:26:07 +000057 enabled: false,
Andrew Walbranfcb6c412023-09-14 15:44:57 +000058 },
Sungtak Lee90584d22022-09-06 16:05:58 +000059 },
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000060 versions_with_info: [
61 {
62 version: "1",
63 imports: [
64 "android.hardware.common-V2",
65 "android.hardware.common.fmq-V1",
66 ],
67 },
Devin Moorea8efdb12024-02-20 17:31:40 +000068 {
69 version: "2",
70 imports: [
71 "android.hardware.common-V2",
72 "android.hardware.common.fmq-V1",
73 ],
74 },
75
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000076 ],
Devin Moorea8efdb12024-02-20 17:31:40 +000077 frozen: true,
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000078
Sungtak Lee90584d22022-09-06 16:05:58 +000079}