blob: c4ffb41385cf900aebb96bdd1ea0ea8c8cedbe6a [file] [log] [blame]
Stephen Kiazyke77dce22017-03-14 15:38:12 -07001
Corey Tabaka52ea25c2017-09-13 18:02:48 -07002header_libraries = [
3 "libdvr_headers",
4]
Stephen Kiazyke77dce22017-03-14 15:38:12 -07005
6shared_libraries = [
7 "libbase",
8 "libbinder",
9 "libcutils",
10 "libgui",
11 "liblog",
12 "libhardware",
13 "libui",
14 "libutils",
Jiwen 'Steve' Cai9665d912017-09-01 10:19:47 -070015 "libnativewindow",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070016]
17
18static_libraries = [
19 "libbufferhubqueue",
20 "libbufferhub",
21 "libchrome",
22 "libdvrcommon",
23 "libpdx_default_transport",
Jiwen 'Steve' Cai9665d912017-09-01 10:19:47 -070024 "libperformance",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070025]
26
27cc_test {
28 srcs: ["buffer_hub_queue-test.cpp"],
Corey Tabaka52ea25c2017-09-13 18:02:48 -070029 header_libs: header_libraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070030 static_libs: static_libraries,
31 shared_libs: shared_libraries,
32 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070033 "-DLOG_TAG=\"buffer_hub_queue-test\"",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070034 "-DTRACE=0",
35 "-O0",
36 "-g",
37 ],
38 name: "buffer_hub_queue-test",
39 tags: ["optional"],
40}
41
42cc_test {
43 srcs: ["buffer_hub_queue_producer-test.cpp"],
Corey Tabaka52ea25c2017-09-13 18:02:48 -070044 header_libs: header_libraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070045 static_libs: static_libraries,
46 shared_libs: shared_libraries,
47 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070048 "-DLOG_TAG=\"buffer_hub_queue_producer-test\"",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070049 "-DTRACE=0",
50 "-O0",
51 "-g",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070052 ],
53 name: "buffer_hub_queue_producer-test",
54 tags: ["optional"],
55}
Jiwen 'Steve' Cai9665d912017-09-01 10:19:47 -070056
57cc_test {
58 srcs: ["buffer_transport_benchmark.cpp"],
59 static_libs: static_libraries,
60 shared_libs: shared_libraries,
61 header_libs: header_libraries,
62 cflags: [
63 "-DLOG_TAG=\"buffer_transport_benchmark\"",
64 "-DTRACE=0",
65 "-O2",
66 ],
67 name: "buffer_transport_benchmark",
68 tags: ["optional"],
69}