blob: 39678865cba32be829b0b419be5a3c4f9e0fd348 [file] [log] [blame]
Fan Xu574a6852018-11-02 13:22:42 -07001cc_test {
2 name: "BufferNode_test",
3 srcs: ["BufferNode_test.cpp"],
4 cflags: [
5 "-DLOG_TAG=\"BufferNode_test\"",
6 "-DTRACE=0",
7 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
8 ],
9 header_libs: [
10 "libbufferhub_headers",
11 "libdvr_headers",
12 "libnativewindow_headers",
13 "libpdx_headers",
14 ],
15 shared_libs: [
16 "libbufferhubservice",
17 "libui",
18 ],
19 static_libs: [
20 "libgmock",
21 ],
22 // TODO(b/117568153): Temporarily opt out using libcrt.
23 no_libcrt: true,
Fan Xuffde7862018-11-08 16:29:13 -080024}
25
26cc_test {
Fan Xu1c16df52018-11-19 16:27:27 -080027 name: "BufferHubIdGenerator_test",
28 srcs: ["BufferHubIdGenerator_test.cpp"],
Fan Xuffde7862018-11-08 16:29:13 -080029 cflags: [
Fan Xu1c16df52018-11-19 16:27:27 -080030 "-DLOG_TAG=\"BufferHubIdGenerator_test\"",
Fan Xuffde7862018-11-08 16:29:13 -080031 "-DTRACE=0",
32 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
33 ],
34 shared_libs: [
35 "libbufferhubservice",
36 ],
37 static_libs: [
38 "libgmock",
39 ],
Fan Xu574a6852018-11-02 13:22:42 -070040}