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        },
28        cpp: {
29            enabled: false,
30        },
31        ndk: {
32            apex_available: [
33                "//apex_available:platform",
34                "com.android.media.swcodec",
35                "com.android.neuralnetworks",
36            ],
37            min_sdk_version: "29",
38        },
39        rust: {
40            enabled: true,
41        },
42    },
43    frozen: true,
44    versions_with_info: [
45        {
46            version: "1",
47            imports: [
48                "android.hardware.common-V2",
49            ],
50        },
51        {
52            version: "2",
53            imports: [
54                "android.hardware.common-V2",
55            ],
56        },
57        {
58            version: "3",
59            imports: [
60                "android.hardware.common-V2",
61            ],
62        },
63        {
64            version: "4",
65            imports: ["android.hardware.common-V2"],
66        },
67        {
68            version: "5",
69            imports: ["android.hardware.common-V2"],
70        },
71
72    ],
73}
74