xref: /aosp_15_r20/hardware/interfaces/graphics/allocator/aidl/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    default_team: "trendy_team_android_core_graphics_stack",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "hardware_interfaces_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11aidl_interface {
12    name: "android.hardware.graphics.allocator",
13    vendor_available: true,
14    double_loadable: true,
15    srcs: ["android/hardware/graphics/allocator/*.aidl"],
16    defaults: [
17        "android.hardware.graphics.common-latest",
18    ],
19    imports: [
20        "android.hardware.common-V2",
21    ],
22    stability: "vintf",
23    backend: {
24        cpp: {
25            enabled: false,
26        },
27        java: {
28            enabled: false,
29        },
30        ndk: {
31            apex_available: [
32                "//apex_available:platform",
33                "com.android.media.swcodec",
34            ],
35            min_sdk_version: "29",
36        },
37    },
38    frozen: true,
39    versions_with_info: [
40        {
41            version: "1",
42            imports: ["android.hardware.common-V2"],
43        },
44        {
45            version: "2",
46            imports: [
47                "android.hardware.common-V2",
48                "android.hardware.graphics.common-V6",
49            ],
50        },
51
52    ],
53
54}
55