blob: a73ba3417787096f793c496b1c8fdb2985923f6a [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",
19 "service_dispatcher.cpp",
20 "service_endpoint.cpp",
21 ],
22 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070023 "libcutils",
24 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080025 "libpdx",
26 ],
27}
28
29cc_test {
30 name: "libpdx_uds_tests",
31 clang: true,
32 cflags: [
33 "-Wall",
34 "-Wextra",
35 "-Werror",
36 ],
37 srcs: [
38 "remote_method_tests.cpp",
39 "service_framework_tests.cpp",
40 ],
41 static_libs: [
42 "libpdx_uds",
43 "libpdx",
44 ],
45 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070046 "libbase",
47 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080048 "liblog",
49 "libutils",
50 ],
51}