1//
2// Copyright (C) 2021 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
21cc_test {
22    name: "WifiLegacyKeystoreIntegrationTest",
23    srcs: [
24        "WifiLegacyKeystoreIntegrationTest.cpp",
25    ],
26    defaults: ["VtsHalTargetTestDefaults"],
27    shared_libs: [
28        "libbase",
29        "liblog",
30        "libcrypto",
31        "libcutils",
32        "libhidlbase",
33        "libnativehelper",
34        "libutils",
35        "libbinder_ndk",
36    ],
37    static_libs: [
38        "VtsHalHidlTargetTestBase",
39        "android.hardware.security.keymint-V1-ndk_platform",
40        "android.security.legacykeystore-ndk_platform",
41        "android.system.keystore2-V1-ndk_platform",
42        "android.system.wifi.keystore@1.0",
43        "libkeymint_support",
44    ],
45    cflags: [
46        "-O0",
47        "-g",
48        "-Wall",
49        "-Werror",
50    ],
51    test_suites: ["general-tests"],
52}
53