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 "client_channel_factory.cpp", 17 "client_channel.cpp", 18 "ipc_helper.cpp", 19 "service_endpoint.cpp", 20 ], 21 static_libs: [ 22 "libcutils", 23 "libbase", 24 "libpdx", 25 ], 26 whole_static_libs: [ 27 "libselinux", 28 ], 29} 30 31cc_test { 32 name: "libpdx_uds_tests", 33 clang: true, 34 cflags: [ 35 "-Wall", 36 "-Wextra", 37 "-Werror", 38 ], 39 srcs: [ 40 "client_channel_tests.cpp", 41 "ipc_helper_tests.cpp", 42 "remote_method_tests.cpp", 43 "service_framework_tests.cpp", 44 ], 45 static_libs: [ 46 "libgmock", 47 "libpdx_uds", 48 "libpdx", 49 ], 50 shared_libs: [ 51 "libbase", 52 "libcutils", 53 "liblog", 54 "libutils", 55 ], 56} 57