blob: d0b7cab34feb4f82b6bb5f644d5b5875f91de80d [file] [log] [blame]
Alex Vakulenkoe4eec202017-01-27 14:41:04 -08001cc_library_static {
2 name: "libpdx_uds",
3 clang: true,
4 cflags: [
5 "-Wall",
6 "-Wextra",
7 "-Werror",
Corey Tabaka6890d952017-01-19 15:02:59 -08008 "-DLOG_TAG=\"libpdx_uds\"",
9 "-DTRACE=0",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080010 ],
11 export_include_dirs: ["private"],
12 local_include_dirs: ["private"],
13 srcs: [
Corey Tabaka6890d952017-01-19 15:02:59 -080014 "channel_event_set.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080015 "channel_manager.cpp",
16 "client_channel_factory.cpp",
17 "client_channel.cpp",
18 "ipc_helper.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080019 "service_endpoint.cpp",
20 ],
21 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070022 "libcutils",
23 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080024 "libpdx",
25 ],
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070026 whole_static_libs: [
27 "libselinux",
28 ],
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080029}
30
31cc_test {
32 name: "libpdx_uds_tests",
33 clang: true,
34 cflags: [
35 "-Wall",
36 "-Wextra",
37 "-Werror",
38 ],
39 srcs: [
Alex Vakulenkofd22b3e2017-04-18 14:41:33 -070040 "client_channel_tests.cpp",
Alex Vakulenkod618b562017-04-17 12:02:38 -070041 "ipc_helper_tests.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080042 "remote_method_tests.cpp",
43 "service_framework_tests.cpp",
44 ],
45 static_libs: [
Alex Vakulenkod618b562017-04-17 12:02:38 -070046 "libgmock",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080047 "libpdx_uds",
48 "libpdx",
49 ],
50 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070051 "libbase",
52 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080053 "liblog",
54 "libutils",
55 ],
56}