blob: e7cf357e4a3fdf6cd9673486e350aa935a7e0db8 [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 ],
Chih-Hung Hsieh94574f22018-02-07 21:14:19 -080022 arch: {
23 arm: {
24 instruction_set: "arm",
25 },
26 },
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080027 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070028 "libcutils",
29 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080030 "libpdx",
31 ],
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070032 shared_libs: [
33 "libbinder",
34 ],
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070035 whole_static_libs: [
36 "libselinux",
37 ],
Jiwen 'Steve' Cai0f950842018-01-16 17:05:54 -080038 vendor_available: false,
39 vndk: {
40 enabled: true,
41 },
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080042}
43
44cc_test {
45 name: "libpdx_uds_tests",
46 clang: true,
47 cflags: [
48 "-Wall",
49 "-Wextra",
50 "-Werror",
51 ],
52 srcs: [
Alex Vakulenkofd22b3e2017-04-18 14:41:33 -070053 "client_channel_tests.cpp",
Alex Vakulenkod618b562017-04-17 12:02:38 -070054 "ipc_helper_tests.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080055 "remote_method_tests.cpp",
56 "service_framework_tests.cpp",
57 ],
58 static_libs: [
Alex Vakulenkod618b562017-04-17 12:02:38 -070059 "libgmock",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080060 "libpdx_uds",
61 "libpdx",
62 ],
63 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070064 "libbase",
65 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080066 "liblog",
67 "libutils",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070068 "libbinder",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080069 ],
70}