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 ], 30 whole_static_libs: [ 31 "libselinux", 32 ], 33} 34 35cc_test { 36 name: "libpdx_uds_tests", 37 clang: true, 38 cflags: [ 39 "-Wall", 40 "-Wextra", 41 "-Werror", 42 ], 43 srcs: [ 44 "client_channel_tests.cpp", 45 "ipc_helper_tests.cpp", 46 "remote_method_tests.cpp", 47 "service_framework_tests.cpp", 48 ], 49 static_libs: [ 50 "libgmock", 51 "libpdx_uds", 52 "libpdx", 53 ], 54 shared_libs: [ 55 "libbase", 56 "libcutils", 57 "liblog", 58 "libutils", 59 "libbinder", 60 ], 61} 62