1// Copyright 2020, The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    // A large-scale-change added 'default_applicable_licenses' to import
18    // all of the 'license_kinds' from "system_security_license"
19    // to get the below license kinds:
20    //   SPDX-license-identifier-Apache-2.0
21    default_applicable_licenses: ["system_security_license"],
22}
23
24aidl_interface {
25    name: "android.security.attestationmanager",
26    srcs: [ "android/security/attestationmanager/*.aidl", ],
27    imports: [ "android.hardware.security.keymint-V1" ],
28    unstable: true,
29    backend: {
30        java: {
31            platform_apis: true,
32            srcs_available: true,
33        },
34        rust: {
35            enabled: true,
36        },
37        ndk: {
38            enabled: true,
39            apps_enabled: false,
40        }
41    },
42}
43
44aidl_interface {
45    name: "android.security.authorization",
46    srcs: [ "android/security/authorization/*.aidl" ],
47    imports: [
48        "android.hardware.security.keymint-V1",
49        "android.hardware.security.secureclock-V1",
50    ],
51    unstable: true,
52    backend: {
53        java: {
54            platform_apis: true,
55            srcs_available: true,
56        },
57        rust: {
58            enabled: true,
59        },
60        ndk: {
61            enabled: true,
62            apps_enabled: false,
63        }
64    },
65}
66
67aidl_interface {
68    name: "android.security.apc",
69    srcs: [ "android/security/apc/*.aidl" ],
70    unstable: true,
71    backend: {
72        java: {
73            enabled: true,
74            srcs_available: true,
75        },
76        rust: {
77            enabled: true,
78        },
79        ndk: {
80            enabled: true,
81        }
82    },
83}
84
85aidl_interface {
86    name: "android.security.compat",
87    srcs: [ "android/security/compat/*.aidl" ],
88    imports: [
89        "android.hardware.security.keymint-V1",
90        "android.hardware.security.secureclock-V1",
91        "android.hardware.security.sharedsecret-V1",
92    ],
93    unstable: true,
94    backend: {
95        java: {
96            platform_apis: true,
97            srcs_available: true,
98        },
99        rust: {
100            enabled: true,
101        },
102        ndk: {
103            enabled: true,
104            apps_enabled: false,
105        },
106    },
107}
108
109aidl_interface {
110    name: "android.security.remoteprovisioning",
111    srcs: [ "android/security/remoteprovisioning/*.aidl" ],
112    imports: [
113        "android.hardware.security.keymint-V1",
114    ],
115    unstable: true,
116    backend: {
117        java: {
118            platform_apis: true,
119            srcs_available: true,
120        },
121        ndk: {
122            enabled: true,
123            apps_enabled: false,
124        },
125        rust: {
126            enabled: true,
127        },
128    },
129}
130
131aidl_interface {
132    name: "android.security.maintenance",
133    srcs: [ "android/security/maintenance/*.aidl" ],
134    imports: [
135        "android.system.keystore2-V1",
136    ],
137    unstable: true,
138    backend: {
139        java: {
140            platform_apis: true,
141            srcs_available: true,
142        },
143        rust: {
144            enabled: true,
145        },
146        ndk: {
147            enabled: true,
148            apps_enabled: false,
149        }
150    },
151}
152
153aidl_interface {
154    name: "android.security.legacykeystore",
155    srcs: [ "android/security/legacykeystore/*.aidl" ],
156    unstable: true,
157    backend: {
158        java: {
159            platform_apis: true,
160            srcs_available: true,
161        },
162        rust: {
163            enabled: true,
164        },
165        ndk: {
166            enabled: true,
167            apps_enabled: false,
168        }
169    },
170}
171
172aidl_interface {
173    name: "android.security.metrics",
174    srcs: [ "android/security/metrics/*.aidl" ],
175    imports: [
176        "android.system.keystore2-V1",
177    ],
178    unstable: true,
179    backend: {
180        java: {
181            platform_apis: true,
182            srcs_available: true,
183        },
184        rust: {
185            enabled: true,
186        },
187        ndk: {
188            enabled: true,
189            apps_enabled: false,
190        }
191    },
192}
193
194