Rajesh Nyamagoud | 3b64279 | 2022-02-25 17:39:29 +0000 | [diff] [blame] | 1 | // Copyright 2022, 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 | rust_test { |
| 16 | name: "keystore2_legacy_blobs_test", |
| 17 | srcs: ["keystore2_legacy_blob_tests.rs"], |
| 18 | test_suites: [ |
| 19 | "general-tests", |
| 20 | ], |
| 21 | // auto_gen_config: true, |
| 22 | test_config: "AndroidTest.xml", |
| 23 | |
| 24 | rustlibs: [ |
| 25 | "libkeystore2_with_test_utils", |
| 26 | "libkeystore2_crypto_rust", |
| 27 | "android.system.keystore2-V2-rust", |
| 28 | "android.hardware.security.keymint-V2-rust", |
| 29 | "android.security.maintenance-rust", |
| 30 | "android.security.authorization-rust", |
| 31 | "librustutils", |
| 32 | "libkeystore2_test_utils", |
| 33 | "libnix", |
| 34 | "libanyhow", |
| 35 | "libbinder_rs", |
| 36 | "liblazy_static", |
| 37 | "liblibc", |
| 38 | "libserde", |
| 39 | "libthiserror", |
| 40 | ], |
| 41 | require_root: true, |
| 42 | } |