blob: 216ca9f2361f17542efb69360fc38a598c39d40c [file] [log] [blame]
Bob Badour3306e492021-02-25 15:35:37 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_native_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_native_license"],
8}
9
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080010cc_library_static {
11 name: "libpdx_uds",
12 clang: true,
13 cflags: [
14 "-Wall",
15 "-Wextra",
16 "-Werror",
Corey Tabaka6890d952017-01-19 15:02:59 -080017 "-DLOG_TAG=\"libpdx_uds\"",
18 "-DTRACE=0",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080019 ],
20 export_include_dirs: ["private"],
21 local_include_dirs: ["private"],
22 srcs: [
Corey Tabaka6890d952017-01-19 15:02:59 -080023 "channel_event_set.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080024 "channel_manager.cpp",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070025 "channel_parcelable.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080026 "client_channel_factory.cpp",
27 "client_channel.cpp",
28 "ipc_helper.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080029 "service_endpoint.cpp",
30 ],
31 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070032 "libcutils",
33 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080034 "libpdx",
35 ],
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070036 shared_libs: [
37 "libbinder",
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070038 "libselinux",
39 ],
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080040}
41
42cc_test {
43 name: "libpdx_uds_tests",
44 clang: true,
45 cflags: [
46 "-Wall",
47 "-Wextra",
48 "-Werror",
49 ],
50 srcs: [
Alex Vakulenkofd22b3e2017-04-18 14:41:33 -070051 "client_channel_tests.cpp",
Alex Vakulenkod618b562017-04-17 12:02:38 -070052 "ipc_helper_tests.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080053 "remote_method_tests.cpp",
54 "service_framework_tests.cpp",
55 ],
56 static_libs: [
Alex Vakulenkod618b562017-04-17 12:02:38 -070057 "libgmock",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080058 "libpdx_uds",
59 "libpdx",
60 ],
61 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070062 "libbase",
63 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080064 "liblog",
65 "libutils",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070066 "libbinder",
Peter Collingbourne198a39a2018-09-13 14:31:02 -070067 "libselinux",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080068 ],
69}