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