1
2header_libraries = [
3    "libdvr_headers",
4]
5
6shared_libraries = [
7    "libbase",
8    "libbinder",
9    "libbufferhubqueue",
10    "libcutils",
11    "libgui",
12    "liblog",
13    "libhardware",
14    "libui",
15    "libutils",
16    "libnativewindow",
17    "libpdx_default_transport",
18]
19
20static_libraries = [
21    "libchrome",
22    "libdvrcommon",
23    "libperformance",
24]
25
26cc_test {
27    srcs: ["buffer_hub_queue-test.cpp"],
28    header_libs: header_libraries,
29    static_libs: static_libraries,
30    shared_libs: shared_libraries,
31    cflags: [
32        "-DLOG_TAG=\"buffer_hub_queue-test\"",
33        "-DTRACE=0",
34        "-O0",
35        "-g",
36        "-Wall",
37        "-Werror",
38        "-Wno-error=sign-compare", // to fix later
39    ],
40    name: "buffer_hub_queue-test",
41    tags: ["optional"],
42}
43
44cc_test {
45    srcs: ["buffer_hub_queue_producer-test.cpp"],
46    header_libs: header_libraries,
47    static_libs: static_libraries,
48    shared_libs: shared_libraries,
49    cflags: [
50        "-DLOG_TAG=\"buffer_hub_queue_producer-test\"",
51        "-DTRACE=0",
52        "-O0",
53        "-g",
54        "-Wall",
55        "-Werror",
56    ],
57    name: "buffer_hub_queue_producer-test",
58    tags: ["optional"],
59}
60