blob: 425f849e2e285fc975a12265d53083acb6045b55 [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: {
31 sdk_version: "module_current",
32 },
33 rust: {
34 enabled: true,
35 },
36 },
37}
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000038
39aidl_interface {
Janis Danisevskis9f10a6a2021-01-18 16:45:21 +000040 name: "android.security.authorization",
41 srcs: [ "android/security/authorization/*.aidl" ],
Janis Danisevskisc3a496b2021-01-05 10:37:22 -080042 imports: [
43 "android.hardware.security.keymint",
44 "android.hardware.security.secureclock",
45 ],
Hasini Gunasinghe594caa32020-11-12 20:25:13 +000046 unstable: true,
47 backend: {
48 java: {
49 sdk_version: "module_current",
50 },
51 rust: {
52 enabled: true,
53 },
54 ndk: {
55 enabled: true,
56 }
57 },
58}
59
Janis Danisevskis7a1cf382020-11-20 11:22:14 -080060aidl_interface {
61 name: "android.security.apc",
62 srcs: [ "android/security/apc/*.aidl" ],
63 unstable: true,
64 backend: {
65 java: {
66 enabled: true,
67 },
68 rust: {
69 enabled: true,
70 },
71 },
72}
Joel Galensonde386b42020-09-30 10:53:05 -070073
74aidl_interface {
75 name: "android.security.compat",
76 srcs: [ "android/security/compat/*.aidl" ],
Joel Galensonf21c0022020-12-11 14:37:52 -080077 imports: [
78 "android.hardware.security.keymint",
79 "android.hardware.security.secureclock",
80 "android.hardware.security.sharedsecret",
81 ],
Joel Galensonde386b42020-09-30 10:53:05 -070082 unstable: true,
83 backend: {
84 java: {
85 sdk_version: "module_current",
86 },
87 rust: {
88 enabled: true,
89 },
90 ndk: {
91 enabled: true,
92 }
93 },
94}
Max Bires148c08e2020-10-13 13:41:41 -070095
96aidl_interface {
97 name: "android.security.remoteprovisioning",
98 srcs: [ "android/security/remoteprovisioning/*.aidl" ],
99 imports: [
100 "android.hardware.security.keymint",
101 ],
102 unstable: true,
103 backend: {
104 java: {
105 enabled: true,
106 sdk_version: "module_current",
107 platform_apis: true,
108 },
109 ndk: {
110 enabled: true,
111 },
112 rust: {
113 enabled: true,
114 },
115 },
116}