blob: 532d1a767c9e1a6ef490d2c3f0ba7b00ad26bcbf [file] [log] [blame]
Bob Badour3c538232021-02-12 21:26:48 -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 // SPDX-license-identifier-MIT
8 // SPDX-license-identifier-Unicode-DFS
9 default_applicable_licenses: ["frameworks_native_license"],
10}
11
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080012cc_library_static {
13 name: "libpdx_uds",
14 clang: true,
15 cflags: [
16 "-Wall",
17 "-Wextra",
18 "-Werror",
Corey Tabaka6890d952017-01-19 15:02:59 -080019 "-DLOG_TAG=\"libpdx_uds\"",
20 "-DTRACE=0",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080021 ],
22 export_include_dirs: ["private"],
23 local_include_dirs: ["private"],
24 srcs: [
Corey Tabaka6890d952017-01-19 15:02:59 -080025 "channel_event_set.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080026 "channel_manager.cpp",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070027 "channel_parcelable.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080028 "client_channel_factory.cpp",
29 "client_channel.cpp",
30 "ipc_helper.cpp",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080031 "service_endpoint.cpp",
32 ],
33 static_libs: [
Alex Vakulenko409c6ee2017-03-23 17:45:40 -070034 "libcutils",
35 "libbase",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080036 "libpdx",
37 ],
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070038 shared_libs: [
39 "libbinder",
Alex Vakulenko4a7762a2017-05-01 17:54:24 -070040 "libselinux",
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",
Peter Collingbourne198a39a2018-09-13 14:31:02 -070069 "libselinux",
Alex Vakulenkoe4eec202017-01-27 14:41:04 -080070 ],
71}