blob: 7f88dafc81a98fab932444c56fcc51647ecece14 [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",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080012 cflags: [
13 "-Wall",
14 "-Wextra",
15 "-Werror",
Corey Tabaka6890d952017-01-19 15:02:59 -080016 "-DLOG_TAG=\"libpdx_uds\"",
17 "-DTRACE=0",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080018 ],
19 export_include_dirs: ["private"],
20 local_include_dirs: ["private"],
21 srcs: [
Corey Tabaka6890d952017-01-19 15:02:59 -080022 "channel_event_set.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080023 "channel_manager.cpp",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070024 "channel_parcelable.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080025 "client_channel_factory.cpp",
26 "client_channel.cpp",
27 "ipc_helper.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080028 "service_endpoint.cpp",
29 ],
30 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070031 "libcutils",
32 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080033 "libpdx",
34 ],
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070035 shared_libs: [
36 "libbinder",
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070037 "libselinux",
38 ],
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080039}
40
41cc_test {
42 name: "libpdx_uds_tests",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080043 cflags: [
44 "-Wall",
45 "-Wextra",
46 "-Werror",
47 ],
48 srcs: [
Alex Vakulenkofd22b3e2017-04-18 14:41:33 -070049 "client_channel_tests.cpp",
Alex Vakulenkod618b562017-04-17 12:02:38 -070050 "ipc_helper_tests.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080051 "remote_method_tests.cpp",
52 "service_framework_tests.cpp",
53 ],
54 static_libs: [
Alex Vakulenkod618b562017-04-17 12:02:38 -070055 "libgmock",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080056 "libpdx_uds",
57 "libpdx",
58 ],
59 shared_libs: [
Alex Vakulenkof0a7bd02017-03-31 18:06:19 -070060 "libbase",
61 "libcutils",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080062 "liblog",
63 "libutils",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070064 "libbinder",
Peter Collingbourne198a39a2018-09-13 14:31:02 -070065 "libselinux",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080066 ],
67}