• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Unit test for AuthTokenTable
2
3cc_test {
4    cflags: [
5        "-Wall",
6        "-Werror",
7        "-Wextra",
8        "-O0",
9    ],
10    srcs: [
11        "aaid_truncation_test.cpp",
12        "auth_token_table_test.cpp",
13        "auth_token_formatting_test.cpp",
14        "blob_test.cpp",
15        "confirmationui_rate_limiting_test.cpp",
16        "verification_token_seralization_test.cpp",
17        "gtest_main.cpp",
18    ],
19    name: "keystore_unit_tests",
20    static_libs: [
21        "android.hardware.confirmationui@1.0",
22        "libbase",
23        "libcrypto_static",
24        "libcutils",
25        "libgtest_main",
26        "libhidlbase",
27        "libkeymaster4support",
28        "libkeymaster4_1support",
29        "libkeystore_test",
30        "liblog",
31        "libutils",
32    ],
33    shared_libs: [
34        "libbinder",
35        "libkeymaster_messages",
36        "libkeystore-attestation-application-id",
37        "libvndksupport",
38    ],
39   sanitize: {
40     cfi: false,
41   }
42}
43
44cc_test {
45    cflags: [
46        "-Wall",
47        "-Werror",
48        "-Wextra",
49        "-O0",
50    ],
51    srcs: [
52        "confirmationui_invocation_test.cpp",
53        "gtest_main.cpp",
54    ],
55    name: "confirmationui_invocation_test",
56    static_libs: [
57        "android.hardware.confirmationui@1.0",
58        "libbase",
59        "libgtest_main",
60        "libutils",
61        "liblog",
62    ],
63    shared_libs: [
64        "libbinder",
65        "libkeystore_aidl", // for IKeyStoreService.asInterface()
66        "libkeystore_binder",
67        "libkeystore_parcelables",
68    ],
69   sanitize: {
70     cfi: false,
71   }
72}
73