xref: /aosp_15_r20/hardware/interfaces/graphics/common/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.common",
13    host_supported: true,
14    vendor_available: true,
15    double_loadable: true,
16    srcs: [
17        "android/hardware/graphics/common/*.aidl",
18    ],
19    stability: "vintf",
20    imports: [
21        "android.hardware.common-V2",
22    ],
23    backend: {
24        java: {
25            enabled: true,
26            platform_apis: true,
27            apex_available: [
28                "//apex_available:anyapex",
29                "//apex_available:platform",
30            ],
31        },
32        cpp: {
33            enabled: false,
34        },
35        ndk: {
36            apex_available: [
37                "//apex_available:anyapex",
38                "//apex_available:platform",
39            ],
40            min_sdk_version: "29",
41        },
42        rust: {
43            enabled: true,
44        },
45    },
46    frozen: false,
47    versions_with_info: [
48        {
49            version: "1",
50            imports: [
51                "android.hardware.common-V2",
52            ],
53        },
54        {
55            version: "2",
56            imports: [
57                "android.hardware.common-V2",
58            ],
59        },
60        {
61            version: "3",
62            imports: [
63                "android.hardware.common-V2",
64            ],
65        },
66        {
67            version: "4",
68            imports: ["android.hardware.common-V2"],
69        },
70        {
71            version: "5",
72            imports: ["android.hardware.common-V2"],
73        },
74
75    ],
76}
77