blob: 0db2f9dc22d50a7d4f6ec0faf9afb329dd901ef2 [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 },
37 },
38}
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000039
40aidl_interface {
Janis Danisevskis9f10a6a2021-01-18 16:45:21 +000041 name: "android.security.authorization",
42 srcs: [ "android/security/authorization/*.aidl" ],
Janis Danisevskisc3a496b2021-01-05 10:37:22 -080043 imports: [
44 "android.hardware.security.keymint",
45 "android.hardware.security.secureclock",
46 ],
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000047 unstable: true,
48 backend: {
49 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070050 platform_apis: true,
51 srcs_available: true,
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000052 },
53 rust: {
54 enabled: true,
55 },
56 ndk: {
57 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -070058 apps_enabled: false,
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000059 }
60 },
61}
62
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080063aidl_interface {
64 name: "android.security.apc",
65 srcs: [ "android/security/apc/*.aidl" ],
66 unstable: true,
67 backend: {
68 java: {
69 enabled: true,
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070070 srcs_available: true,
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080071 },
72 rust: {
73 enabled: true,
74 },
75 },
76}
Joel Galensonde386b42020-09-30 10:53:05 -070077
78aidl_interface {
79 name: "android.security.compat",
80 srcs: [ "android/security/compat/*.aidl" ],
Joel Galensonf21c0022020-12-11 14:37:52 -080081 imports: [
82 "android.hardware.security.keymint",
83 "android.hardware.security.secureclock",
84 "android.hardware.security.sharedsecret",
85 ],
Joel Galensonde386b42020-09-30 10:53:05 -070086 unstable: true,
87 backend: {
88 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -070089 platform_apis: true,
90 srcs_available: true,
Joel Galensonde386b42020-09-30 10:53:05 -070091 },
92 rust: {
93 enabled: true,
94 },
95 ndk: {
96 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -070097 apps_enabled: false,
Joel Galensonde386b42020-09-30 10:53:05 -070098 }
99 },
100}
Max Bires148c08e2020-10-13 13:41:41 -0700101
102aidl_interface {
103 name: "android.security.remoteprovisioning",
104 srcs: [ "android/security/remoteprovisioning/*.aidl" ],
105 imports: [
106 "android.hardware.security.keymint",
107 ],
108 unstable: true,
109 backend: {
110 java: {
Max Bires148c08e2020-10-13 13:41:41 -0700111 platform_apis: true,
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700112 srcs_available: true,
Max Bires148c08e2020-10-13 13:41:41 -0700113 },
114 ndk: {
115 enabled: true,
116 },
117 rust: {
118 enabled: true,
119 },
120 },
121}
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000122
123aidl_interface {
Janis Danisevskis34a0cf22021-03-08 09:19:03 -0800124 name: "android.security.maintenance",
125 srcs: [ "android/security/maintenance/*.aidl" ],
Janis Danisevskisddd6e752021-02-22 18:46:55 -0800126 imports: [
127 "android.system.keystore2",
128 ],
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000129 unstable: true,
130 backend: {
131 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700132 platform_apis: true,
133 srcs_available: true,
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000134 },
135 rust: {
136 enabled: true,
137 },
138 ndk: {
139 enabled: true,
Janis Danisevskis29294572021-03-17 09:53:57 -0700140 apps_enabled: false,
Hasini Gunasinghed31e4372021-01-26 21:25:12 +0000141 }
142 },
143}
Janis Danisevskisc0e7dfb2021-01-20 10:54:38 -0800144
145aidl_interface {
146 name: "android.security.vpnprofilestore",
147 srcs: [ "android/security/vpnprofilestore/*.aidl" ],
148 unstable: true,
149 backend: {
150 java: {
Janis Danisevskisaedee5d2021-03-15 15:54:50 -0700151 platform_apis: true,
152 srcs_available: true,
Janis Danisevskisc0e7dfb2021-01-20 10:54:38 -0800153 },
154 rust: {
155 enabled: true,
156 },
157 },
158}
159