| Janis Danisevskis | 290463c | 2021-09-27 13:57:18 -0700 | [diff] [blame] | 1 | // Copyright 2021, 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 |  | 
 | 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 |  | 
 | 24 | aidl_interface { | 
 | 25 |     name: "android.security.dice", | 
 | 26 |     srcs: [ "android/security/dice/*.aidl" ], | 
 | 27 |     unstable: true, | 
 | 28 |     imports: ["android.hardware.security.dice-V1"], | 
 | 29 |     backend: { | 
 | 30 |          java: { | 
 | 31 |             enabled: false, | 
 | 32 |             platform_apis: false, | 
 | 33 |         }, | 
 | 34 |         rust: { | 
 | 35 |             enabled: true, | 
| Alan Stokes | 32d4d7e | 2022-01-17 10:38:01 +0000 | [diff] [blame] | 36 |             apex_available: [ | 
 | 37 |                 "//apex_available:platform", | 
 | 38 |                 "com.android.compos", | 
| Andrew Scull | f4a6e28 | 2022-07-12 15:27:00 +0000 | [diff] [blame] | 39 |                 "com.android.virt", | 
| Alan Stokes | 32d4d7e | 2022-01-17 10:38:01 +0000 | [diff] [blame] | 40 |             ], | 
| Janis Danisevskis | 290463c | 2021-09-27 13:57:18 -0700 | [diff] [blame] | 41 |         }, | 
 | 42 |         ndk: { | 
 | 43 |             enabled: true, | 
 | 44 |             apps_enabled: false, | 
| Alan Stokes | cdd1beb | 2022-02-09 14:50:01 +0000 | [diff] [blame] | 45 |             apex_available: [ | 
 | 46 |                 "//apex_available:platform", | 
 | 47 |                 "com.android.compos", | 
 | 48 |             ], | 
| Janis Danisevskis | 290463c | 2021-09-27 13:57:18 -0700 | [diff] [blame] | 49 |         } | 
 | 50 |     }, | 
 | 51 | } |