1//
2// Copyright (C) 2019 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
17cc_defaults {
18    name: "vts_security_avb_defaults",
19    srcs: ["VtsSecurityAvbTest.cpp"],
20    shared_libs: [
21        "libbase",
22        "liblog",
23    ],
24    static_libs: [
25        "libavb",
26        "libcrypto_static",
27        "libfs_avb",
28        "libfs_mgr",
29    ],
30}
31
32cc_test {
33    name: "vts_security_avb_test",
34    defaults: ["vts_security_avb_defaults"],
35    test_config: "vts_security_avb_test.xml",
36    test_suites: [
37        "device-tests",
38        "vts",
39    ],
40    data: [
41        ":q-gsi_avbpubkey",
42        ":r-gsi_avbpubkey",
43        ":s-gsi_avbpubkey",
44    ],
45}
46
47cc_test {
48    name: "VtsSecurityAvbTest",
49    defaults: ["vts_security_avb_defaults"],
50}
51
52vts_config {
53    name: "VtsSecurityAvb",
54}
55