xref: /aosp_15_r20/system/teeui/test/Android.bp (revision 20bfefbe1966c142a35ae1ab84a8af250b3fd403)
1package {
2    default_team: "trendy_team_android_hardware_backed_security",
3    default_applicable_licenses: ["Android-Apache-2.0"],
4}
5
6cc_test {
7    cflags: [
8        "-Wall",
9        "-Werror",
10        "-Wextra",
11        "-O0",
12    ],
13    srcs: [
14        "teeui_test.cpp",
15        "gtest_main.cpp",
16    ],
17    name: "teeui_unit_tests",
18    static_libs: [
19        "libteeui",
20        "libft2.nodep",
21    ],
22    host_supported: true,
23}
24
25cc_library_host_shared {
26    name: "libteeui_localization_rendering_test",
27    cflags: [
28        "-Wall",
29        "-Werror",
30        "-Wextra",
31        "-O0",
32    ],
33    export_include_dirs: ["include"],
34    srcs: [
35        "teeui_locale_test.cpp",
36        "teeui_device_config.cpp",
37        "teeui_draw_label_text_test.cpp",
38    ],
39    static_libs: [
40        "libteeui_example_layout",
41        "libteeui",
42        "libft2.nodep",
43        "libteeui_localization",
44        "libgtest",
45    ],
46}
47