blob: 720b8a2479f5e5662ed26d53b438a13b0cf1a7c2 [file] [log] [blame]
Shikha Panwara6eaf552023-10-19 16:32:40 +00001/*
2 * Copyright (C) 2023 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
21rust_test {
22 name: "VtsSecretkeeperTargetTest",
23 srcs: ["secretkeeper_test_client.rs"],
David Drysdale099c8762023-12-20 17:19:19 +000024 defaults: [
25 "rdroidtest.defaults",
26 ],
Shikha Panwara6eaf552023-10-19 16:32:40 +000027 test_suites: [
28 "general-tests",
29 "vts",
30 ],
David Drysdale38174302023-12-13 10:50:03 +000031 test_config: "AndroidTest.xml",
Shikha Panwara6eaf552023-10-19 16:32:40 +000032 rustlibs: [
Shikha Panwar7c53bb32024-01-03 17:58:11 +000033 "libdiced_open_dice",
34 "libdice_policy",
Shikha Panwar3d33a132023-12-20 01:01:04 +000035 "libsecretkeeper_client",
Shikha Panwara6eaf552023-10-19 16:32:40 +000036 "libsecretkeeper_comm_nostd",
David Drysdalebef8d3a2023-11-27 14:08:42 +000037 "libsecretkeeper_core_nostd",
Shikha Panwara6eaf552023-10-19 16:32:40 +000038 "android.hardware.security.secretkeeper-V1-rust",
David Drysdalebef8d3a2023-11-27 14:08:42 +000039 "libauthgraph_boringssl",
David Drysdale8898d2e2023-11-07 15:20:15 +000040 "libauthgraph_core",
Shikha Panwar72e99b72023-12-07 22:22:12 +000041 "libcoset",
David Drysdale8898d2e2023-11-07 15:20:15 +000042 "libauthgraph_vts_test",
Shikha Panwara6eaf552023-10-19 16:32:40 +000043 "libbinder_rs",
Shikha Panwar7c53bb32024-01-03 17:58:11 +000044 "libciborium",
Shikha Panwarcbad9a32023-11-28 11:19:59 +000045 "libcoset",
Shikha Panwara6eaf552023-10-19 16:32:40 +000046 "liblog_rust",
Shikha Panwara6eaf552023-10-19 16:32:40 +000047 ],
48 require_root: true,
49}