1cc_library_static {
2    name: "libpdx_uds",
3    clang: true,
4    cflags: [
5        "-Wall",
6        "-Wextra",
7        "-Werror",
8        "-DLOG_TAG=\"libpdx_uds\"",
9        "-DTRACE=0",
10    ],
11    export_include_dirs: ["private"],
12    local_include_dirs: ["private"],
13    srcs: [
14        "channel_event_set.cpp",
15        "channel_manager.cpp",
16        "channel_parcelable.cpp",
17        "client_channel_factory.cpp",
18        "client_channel.cpp",
19        "ipc_helper.cpp",
20        "service_endpoint.cpp",
21    ],
22    static_libs: [
23        "libcutils",
24        "libbase",
25        "libpdx",
26    ],
27    shared_libs: [
28        "libbinder",
29        "libselinux",
30    ],
31}
32
33cc_test {
34    name: "libpdx_uds_tests",
35    clang: true,
36    cflags: [
37        "-Wall",
38        "-Wextra",
39        "-Werror",
40    ],
41    srcs: [
42        "client_channel_tests.cpp",
43        "ipc_helper_tests.cpp",
44        "remote_method_tests.cpp",
45        "service_framework_tests.cpp",
46    ],
47    static_libs: [
48        "libgmock",
49        "libpdx_uds",
50        "libpdx",
51    ],
52    shared_libs: [
53        "libbase",
54        "libcutils",
55        "liblog",
56        "libutils",
57        "libbinder",
58        "libselinux",
59    ],
60}
61