blob: f5402b65f39ec6f6ec7cf83fd12d1ae97b5e5e54 [file] [log] [blame]
Janis Danisevskis672d9832020-12-09 13:25:36 -08001// 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
Bob Badour4c7858c2021-02-12 15:40:29 -080015package {
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
Janis Danisevskis672d9832020-12-09 13:25:36 -080024aidl_interface {
25 name: "android.security.attestationmanager",
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080026 srcs: [ "android/security/attestationmanager/*.aidl", ],
Shawn Willden708744a2020-12-11 13:05:27 +000027 imports: [ "android.hardware.security.keymint" ],
Janis Danisevskis672d9832020-12-09 13:25:36 -080028 unstable: true,
29 backend: {
30 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070031 platform_apis: true,
32 srcs_available: true,
Janis Danisevskis672d9832020-12-09 13:25:36 -080033 },
34 rust: {
35 enabled: true,
36 },
Janis Danisevskis7bfa6b32021-04-06 11:09:07 -070037 ndk: {
38 enabled: true,
39 apps_enabled: false,
40 }
Janis Danisevskis672d9832020-12-09 13:25:36 -080041 },
42}
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000043
44aidl_interface {
Janis Danisevskis9f10a6a2021-01-18 16:45:21 +000045 name: "android.security.authorization",
46 srcs: [ "android/security/authorization/*.aidl" ],
Janis Danisevskisc3a496b2021-01-05 10:37:22 -080047 imports: [
48 "android.hardware.security.keymint",
49 "android.hardware.security.secureclock",
50 ],
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000051 unstable: true,
52 backend: {
53 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070054 platform_apis: true,
55 srcs_available: true,
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000056 },
57 rust: {
58 enabled: true,
59 },
60 ndk: {
61 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -070062 apps_enabled: false,
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000063 }
64 },
65}
66
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080067aidl_interface {
68 name: "android.security.apc",
69 srcs: [ "android/security/apc/*.aidl" ],
70 unstable: true,
71 backend: {
72 java: {
73 enabled: true,
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070074 srcs_available: true,
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080075 },
76 rust: {
77 enabled: true,
78 },
79 },
80}
Joel Galensonde386b42020-09-30 10:53:05 -070081
82aidl_interface {
83 name: "android.security.compat",
84 srcs: [ "android/security/compat/*.aidl" ],
Joel Galensonf21c0022020-12-11 14:37:52 -080085 imports: [
86 "android.hardware.security.keymint",
87 "android.hardware.security.secureclock",
88 "android.hardware.security.sharedsecret",
89 ],
Joel Galensonde386b42020-09-30 10:53:05 -070090 unstable: true,
91 backend: {
92 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070093 platform_apis: true,
94 srcs_available: true,
Joel Galensonde386b42020-09-30 10:53:05 -070095 },
96 rust: {
97 enabled: true,
98 },
99 ndk: {
100 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -0700101 apps_enabled: false,
Janis Danisevskis7bfa6b32021-04-06 11:09:07 -0700102 },
Joel Galensonde386b42020-09-30 10:53:05 -0700103 },
104}
Max Bires148c08e2020-10-13 13:41:41 -0700105
106aidl_interface {
107 name: "android.security.remoteprovisioning",
108 srcs: [ "android/security/remoteprovisioning/*.aidl" ],
109 imports: [
110 "android.hardware.security.keymint",
111 ],
112 unstable: true,
113 backend: {
114 java: {
Max Bires148c08e2020-10-13 13:41:41 -0700115 platform_apis: true,
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700116 srcs_available: true,
Max Bires148c08e2020-10-13 13:41:41 -0700117 },
118 ndk: {
119 enabled: true,
Janis Danisevskis7bfa6b32021-04-06 11:09:07 -0700120 apps_enabled: false,
Max Bires148c08e2020-10-13 13:41:41 -0700121 },
122 rust: {
123 enabled: true,
124 },
125 },
126}
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000127
128aidl_interface {
Janis Danisevskis34a0cf22021-03-08 09:19:03 -0800129 name: "android.security.maintenance",
130 srcs: [ "android/security/maintenance/*.aidl" ],
Janis Danisevskisddd6e752021-02-22 18:46:55 -0800131 imports: [
132 "android.system.keystore2",
133 ],
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000134 unstable: true,
135 backend: {
136 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700137 platform_apis: true,
138 srcs_available: true,
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000139 },
140 rust: {
141 enabled: true,
142 },
143 ndk: {
144 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -0700145 apps_enabled: false,
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000146 }
147 },
148}
Janis Danisevskisc0e7dfb2021-01-20 10:54:38 -0800149
150aidl_interface {
151 name: "android.security.vpnprofilestore",
152 srcs: [ "android/security/vpnprofilestore/*.aidl" ],
153 unstable: true,
154 backend: {
155 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700156 platform_apis: true,
157 srcs_available: true,
Janis Danisevskisc0e7dfb2021-01-20 10:54:38 -0800158 },
159 rust: {
160 enabled: true,
161 },
162 },
163}
164