1package {
2    default_applicable_licenses: ["Android-Apache-2.0"],
3}
4
5cc_test {
6    cflags: [
7        "-Wall",
8        "-Werror",
9        "-Wextra",
10        "-O0",
11    ],
12    srcs: [
13        "teeui_test.cpp",
14        "gtest_main.cpp",
15    ],
16    name: "teeui_unit_tests",
17    static_libs: [
18        "libteeui",
19        "libft2.nodep",
20    ],
21    host_supported: true,
22}
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