blob: 79cfdf632452773c934550648edb5980e146a364 [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",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070016 "channel_parcelable.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080017 "client_channel_factory.cpp",
18 "client_channel.cpp",
19 "ipc_helper.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080020 "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 ],
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070027 shared_libs: [
28 "libbinder",
29 ],
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070030 whole_static_libs: [
31 "libselinux",
32 ],
Jiwen 'Steve' Cai0f950842018-01-16 17:05:54 -080033 vendor_available: false,
34 vndk: {
35 enabled: true,
36 },
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080037}
38
39cc_test {
40 name: "libpdx_uds_tests",
41 clang: true,
42 cflags: [
43 "-Wall",
44 "-Wextra",
45 "-Werror",
46 ],
47 srcs: [
Alex Vakulenkofd22b3e2017-04-18 14:41:33 -070048 "client_channel_tests.cpp",
Alex Vakulenkod618b562017-04-17 12:02:38 -070049 "ipc_helper_tests.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080050 "remote_method_tests.cpp",
51 "service_framework_tests.cpp",
52 ],
53 static_libs: [
Alex Vakulenkod618b562017-04-17 12:02:38 -070054 "libgmock",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080055 "libpdx_uds",
56 "libpdx",
57 ],
58 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070059 "libbase",
60 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080061 "liblog",
62 "libutils",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070063 "libbinder",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080064 ],
65}