• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1//
2// Copyright (C) 2020 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_test {
18    name: "vts_kernel_encryption_test",
19    srcs: [
20        "adiantum.cpp",
21        "aes_256_xts.cpp",
22        "file_based_encryption_tests.cpp",
23        "Keymaster.cpp",
24        "metadata_encryption_tests.cpp",
25        "utils.cpp",
26    ],
27    cflags: [
28        "-D_FILE_OFFSET_BITS=64",
29        "-Wall",
30        "-Werror",
31    ],
32    shared_libs: [
33        "libbase",
34        "libcrypto",
35        "libhidlbase",
36        "libkeymaster4_1support",
37        "libkeymaster4support",
38        "liblog",
39        "libutils",
40    ],
41    static_libs: [
42        "libdm",
43        "libext4_utils",
44        "libfs_mgr",
45        "liblzma",
46    ],
47    test_suites: [
48        "general-tests",
49        "vts",
50    ],
51    require_root: true,
52    auto_gen_config: true,
53}
54
55vts_config {
56    name: "VtsKernelEncryptionTest",
57}
58