xref: /aosp_15_r20/hardware/interfaces/camera/device/aidl/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    default_team: "trendy_team_camera_framework",
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.camera.device",
13    host_supported: true,
14    vendor_available: true,
15    srcs: ["android/hardware/camera/device/*.aidl"],
16    frozen: true,
17    stability: "vintf",
18    defaults: [
19        "android.hardware.graphics.common-latest",
20    ],
21    imports: [
22        "android.hardware.common-V2",
23        "android.hardware.common.fmq-V1",
24        "android.hardware.camera.common-V1",
25        "android.hardware.camera.metadata-V3",
26    ],
27    backend: {
28        cpp: {
29            enabled: false,
30        },
31        java: {
32            sdk_version: "module_current",
33            enabled: false,
34        },
35        rust: {
36            enabled: true,
37        },
38    },
39    versions_with_info: [
40        {
41            version: "1",
42            imports: [
43                "android.hardware.common-V2",
44                "android.hardware.common.fmq-V1",
45                "android.hardware.camera.common-V1",
46                "android.hardware.camera.metadata-V1",
47                "android.hardware.graphics.common-V6",
48            ],
49        },
50        {
51            version: "2",
52            imports: [
53                "android.hardware.common-V2",
54                "android.hardware.common.fmq-V1",
55                "android.hardware.camera.common-V1",
56                "android.hardware.camera.metadata-V2",
57                "android.hardware.graphics.common-V6",
58            ],
59        },
60        {
61            version: "3",
62            imports: [
63                "android.hardware.common-V2",
64                "android.hardware.common.fmq-V1",
65                "android.hardware.camera.common-V1",
66                "android.hardware.camera.metadata-V3",
67                "android.hardware.graphics.common-V6",
68            ],
69        },
70
71    ],
72
73}
74