Janis Danisevskis | 672d983 | 2020-12-09 13:25:36 -0800 | [diff] [blame] | 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 | |
Bob Badour | 4c7858c | 2021-02-12 15:40:29 -0800 | [diff] [blame] | 15 | package { |
| 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 Danisevskis | 672d983 | 2020-12-09 13:25:36 -0800 | [diff] [blame] | 24 | aidl_interface { |
| 25 | name: "android.security.attestationmanager", |
Janis Danisevskis | 7a1cf38 | 2020-11-20 11:22:14 -0800 | [diff] [blame] | 26 | srcs: [ "android/security/attestationmanager/*.aidl", ], |
Shawn Willden | 708744a | 2020-12-11 13:05:27 +0000 | [diff] [blame] | 27 | imports: [ "android.hardware.security.keymint" ], |
Janis Danisevskis | 672d983 | 2020-12-09 13:25:36 -0800 | [diff] [blame] | 28 | unstable: true, |
| 29 | backend: { |
| 30 | java: { |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 31 | platform_apis: true, |
| 32 | srcs_available: true, |
Janis Danisevskis | 672d983 | 2020-12-09 13:25:36 -0800 | [diff] [blame] | 33 | }, |
| 34 | rust: { |
| 35 | enabled: true, |
| 36 | }, |
Janis Danisevskis | 7bfa6b3 | 2021-04-06 11:09:07 -0700 | [diff] [blame] | 37 | ndk: { |
| 38 | enabled: true, |
| 39 | apps_enabled: false, |
| 40 | } |
Janis Danisevskis | 672d983 | 2020-12-09 13:25:36 -0800 | [diff] [blame] | 41 | }, |
| 42 | } |
Hasini Gunasinghe | 594caa3 | 2020-11-12 20:25:13 +0000 | [diff] [blame] | 43 | |
| 44 | aidl_interface { |
Janis Danisevskis | 9f10a6a | 2021-01-18 16:45:21 +0000 | [diff] [blame] | 45 | name: "android.security.authorization", |
| 46 | srcs: [ "android/security/authorization/*.aidl" ], |
Janis Danisevskis | c3a496b | 2021-01-05 10:37:22 -0800 | [diff] [blame] | 47 | imports: [ |
| 48 | "android.hardware.security.keymint", |
| 49 | "android.hardware.security.secureclock", |
| 50 | ], |
Hasini Gunasinghe | 594caa3 | 2020-11-12 20:25:13 +0000 | [diff] [blame] | 51 | unstable: true, |
| 52 | backend: { |
| 53 | java: { |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 54 | platform_apis: true, |
| 55 | srcs_available: true, |
Hasini Gunasinghe | 594caa3 | 2020-11-12 20:25:13 +0000 | [diff] [blame] | 56 | }, |
| 57 | rust: { |
| 58 | enabled: true, |
| 59 | }, |
| 60 | ndk: { |
| 61 | enabled: true, |
Janis Danisevskis | 2929457 | 2021-03-17 09:53:57 -0700 | [diff] [blame] | 62 | apps_enabled: false, |
Hasini Gunasinghe | 594caa3 | 2020-11-12 20:25:13 +0000 | [diff] [blame] | 63 | } |
| 64 | }, |
| 65 | } |
| 66 | |
Janis Danisevskis | 7a1cf38 | 2020-11-20 11:22:14 -0800 | [diff] [blame] | 67 | aidl_interface { |
| 68 | name: "android.security.apc", |
| 69 | srcs: [ "android/security/apc/*.aidl" ], |
| 70 | unstable: true, |
| 71 | backend: { |
| 72 | java: { |
| 73 | enabled: true, |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 74 | srcs_available: true, |
Janis Danisevskis | 7a1cf38 | 2020-11-20 11:22:14 -0800 | [diff] [blame] | 75 | }, |
| 76 | rust: { |
| 77 | enabled: true, |
| 78 | }, |
Janis Danisevskis | 2437fde | 2021-03-08 11:30:11 -0800 | [diff] [blame] | 79 | ndk: { |
| 80 | enabled: true, |
| 81 | } |
Janis Danisevskis | 7a1cf38 | 2020-11-20 11:22:14 -0800 | [diff] [blame] | 82 | }, |
| 83 | } |
Joel Galenson | de386b4 | 2020-09-30 10:53:05 -0700 | [diff] [blame] | 84 | |
| 85 | aidl_interface { |
| 86 | name: "android.security.compat", |
| 87 | srcs: [ "android/security/compat/*.aidl" ], |
Joel Galenson | f21c002 | 2020-12-11 14:37:52 -0800 | [diff] [blame] | 88 | imports: [ |
| 89 | "android.hardware.security.keymint", |
| 90 | "android.hardware.security.secureclock", |
| 91 | "android.hardware.security.sharedsecret", |
| 92 | ], |
Joel Galenson | de386b4 | 2020-09-30 10:53:05 -0700 | [diff] [blame] | 93 | unstable: true, |
| 94 | backend: { |
| 95 | java: { |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 96 | platform_apis: true, |
| 97 | srcs_available: true, |
Joel Galenson | de386b4 | 2020-09-30 10:53:05 -0700 | [diff] [blame] | 98 | }, |
| 99 | rust: { |
| 100 | enabled: true, |
| 101 | }, |
| 102 | ndk: { |
| 103 | enabled: true, |
Janis Danisevskis | 2929457 | 2021-03-17 09:53:57 -0700 | [diff] [blame] | 104 | apps_enabled: false, |
Janis Danisevskis | 7bfa6b3 | 2021-04-06 11:09:07 -0700 | [diff] [blame] | 105 | }, |
Joel Galenson | de386b4 | 2020-09-30 10:53:05 -0700 | [diff] [blame] | 106 | }, |
| 107 | } |
Max Bires | 148c08e | 2020-10-13 13:41:41 -0700 | [diff] [blame] | 108 | |
| 109 | aidl_interface { |
| 110 | name: "android.security.remoteprovisioning", |
| 111 | srcs: [ "android/security/remoteprovisioning/*.aidl" ], |
| 112 | imports: [ |
| 113 | "android.hardware.security.keymint", |
| 114 | ], |
| 115 | unstable: true, |
| 116 | backend: { |
| 117 | java: { |
Max Bires | 148c08e | 2020-10-13 13:41:41 -0700 | [diff] [blame] | 118 | platform_apis: true, |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 119 | srcs_available: true, |
Max Bires | 148c08e | 2020-10-13 13:41:41 -0700 | [diff] [blame] | 120 | }, |
| 121 | ndk: { |
| 122 | enabled: true, |
Janis Danisevskis | 7bfa6b3 | 2021-04-06 11:09:07 -0700 | [diff] [blame] | 123 | apps_enabled: false, |
Max Bires | 148c08e | 2020-10-13 13:41:41 -0700 | [diff] [blame] | 124 | }, |
| 125 | rust: { |
| 126 | enabled: true, |
| 127 | }, |
| 128 | }, |
| 129 | } |
Hasini Gunasinghe | d31e437 | 2021-01-26 21:25:12 +0000 | [diff] [blame] | 130 | |
| 131 | aidl_interface { |
Janis Danisevskis | 34a0cf2 | 2021-03-08 09:19:03 -0800 | [diff] [blame] | 132 | name: "android.security.maintenance", |
| 133 | srcs: [ "android/security/maintenance/*.aidl" ], |
Janis Danisevskis | ddd6e75 | 2021-02-22 18:46:55 -0800 | [diff] [blame] | 134 | imports: [ |
| 135 | "android.system.keystore2", |
| 136 | ], |
Hasini Gunasinghe | d31e437 | 2021-01-26 21:25:12 +0000 | [diff] [blame] | 137 | unstable: true, |
| 138 | backend: { |
| 139 | java: { |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 140 | platform_apis: true, |
| 141 | srcs_available: true, |
Hasini Gunasinghe | d31e437 | 2021-01-26 21:25:12 +0000 | [diff] [blame] | 142 | }, |
| 143 | rust: { |
| 144 | enabled: true, |
| 145 | }, |
| 146 | ndk: { |
| 147 | enabled: true, |
Janis Danisevskis | 2929457 | 2021-03-17 09:53:57 -0700 | [diff] [blame] | 148 | apps_enabled: false, |
Hasini Gunasinghe | d31e437 | 2021-01-26 21:25:12 +0000 | [diff] [blame] | 149 | } |
| 150 | }, |
| 151 | } |
Janis Danisevskis | c0e7dfb | 2021-01-20 10:54:38 -0800 | [diff] [blame] | 152 | |
| 153 | aidl_interface { |
Janis Danisevskis | 3eb829d | 2021-06-14 14:18:20 -0700 | [diff] [blame] | 154 | name: "android.security.legacykeystore", |
| 155 | srcs: [ "android/security/legacykeystore/*.aidl" ], |
Janis Danisevskis | c0e7dfb | 2021-01-20 10:54:38 -0800 | [diff] [blame] | 156 | unstable: true, |
| 157 | backend: { |
| 158 | java: { |
Janis Danisevskis | aedee5d | 2021-03-15 15:54:50 -0700 | [diff] [blame] | 159 | platform_apis: true, |
| 160 | srcs_available: true, |
Janis Danisevskis | c0e7dfb | 2021-01-20 10:54:38 -0800 | [diff] [blame] | 161 | }, |
| 162 | rust: { |
| 163 | enabled: true, |
| 164 | }, |
Janis Danisevskis | 3eb829d | 2021-06-14 14:18:20 -0700 | [diff] [blame] | 165 | ndk: { |
| 166 | enabled: true, |
| 167 | apps_enabled: false, |
| 168 | } |
Janis Danisevskis | c0e7dfb | 2021-01-20 10:54:38 -0800 | [diff] [blame] | 169 | }, |
| 170 | } |
| 171 | |
Hasini Gunasinghe | 15891e6 | 2021-06-10 16:23:27 +0000 | [diff] [blame^] | 172 | aidl_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 | |