From 973aadeff5af00a20610d526f4c43a759be1b26d Mon Sep 17 00:00:00 2001 From: Steven Moreland Date: Wed, 15 Mar 2023 19:39:15 +0000 Subject: [PATCH] init tests: libhidl-gen-utils static No longer installed on device, so we need to include it as a static lib. This library was actually specified as a dependency on vts_ibase_test in two places, so this is the second CL doing the same thing but in another project. Fixes: 270497432 Test: readelf -d $ANDROID_BUILD_TOP/out/target/product/vsoc_x86_64/data/nativetest/vts_ibase_test/vts_ibase_test no longer shows libhidl-gen-utils Change-Id: Icf427085e3978906e82231c8faacb7bdbcbf4569 --- init/Android.bp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/init/Android.bp b/init/Android.bp index 1aba4b381..7b529033a 100644 --- a/init/Android.bp +++ b/init/Android.bp @@ -502,11 +502,13 @@ cc_defaults { "libbase", "libcutils", "libselinux", - "libhidl-gen-utils", "liblog", "libprocessgroup", "libprotobuf-cpp-lite", ], + static_libs: [ + "libhidl-gen-utils", + ], } cc_library_static {