blob: 9dcc90e9c074540786b39e1be5ee7f4777bd44af [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 {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "hardware_interfaces_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["hardware_interfaces_license"],
22}
23
Sungtak Lee90584d22022-09-06 16:05:58 +000024aidl_interface {
25 name: "android.hardware.media.bufferpool2",
26 vendor_available: true,
Wonsik Kim4f5dd1c2022-12-06 12:29:54 -080027 double_loadable: true,
Sungtak Lee90584d22022-09-06 16:05:58 +000028 srcs: ["android/hardware/media/bufferpool2/*.aidl"],
Sungtak Lee71ef1c12024-01-11 21:26:07 +000029 headers: [
30 "HardwareBuffer_aidl",
31 ],
Sungtak Lee90584d22022-09-06 16:05:58 +000032 imports: [
33 "android.hardware.common-V2",
34 "android.hardware.common.fmq-V1",
35 ],
36 stability: "vintf",
37 backend: {
38 cpp: {
39 enabled: false,
40 },
41 java: {
42 enabled: false,
43 },
44 ndk: {
45 enabled: true,
Sungtak Lee34254e52022-12-15 01:25:46 +000046 apex_available: [
47 "//apex_available:platform",
48 "com.android.media.swcodec",
49 ],
Sungtak Lee71ef1c12024-01-11 21:26:07 +000050 additional_shared_libraries: [
51 "libnativewindow",
52 ],
Sungtak Lee34254e52022-12-15 01:25:46 +000053 min_sdk_version: "29",
Sungtak Lee90584d22022-09-06 16:05:58 +000054 },
Andrew Walbranfcb6c412023-09-14 15:44:57 +000055 rust: {
Sungtak Lee71ef1c12024-01-11 21:26:07 +000056 enabled: false,
Andrew Walbranfcb6c412023-09-14 15:44:57 +000057 },
Sungtak Lee90584d22022-09-06 16:05:58 +000058 },
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000059 versions_with_info: [
60 {
61 version: "1",
62 imports: [
63 "android.hardware.common-V2",
64 "android.hardware.common.fmq-V1",
65 ],
66 },
67 ],
Sungtak Lee71ef1c12024-01-11 21:26:07 +000068 frozen: false,
Alex Buynytskyyec1198d2023-04-04 19:52:27 +000069
Sungtak Lee90584d22022-09-06 16:05:58 +000070}