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