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