From 2b84cf8a1dbc77df88fafec55ce5f45ff8778268 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Thu, 28 Jan 2021 22:54:14 +0000 Subject: Don't use whole_static_libs in libnativeloader. It has the effect that all the headers of those libs get included in the libnativeloader prebuilt snapshots, which in this particular case makes it contain all the xxx.sysprop.h generated headers from PlatformPropoerties. Test: mmm art/libnatveloader Test: `m art-module-sdk` and check that art-module-sdk-current.zip doesn't have any .sysprop.h files Bug: 178379642 Change-Id: Ic11007945fd6f1cd2d7996cae8a7b533c91aea7b --- libnativeloader/Android.bp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libnativeloader/Android.bp') diff --git a/libnativeloader/Android.bp b/libnativeloader/Android.bp index dbcde1255b..993e5d59e6 100644 --- a/libnativeloader/Android.bp +++ b/libnativeloader/Android.bp @@ -57,7 +57,7 @@ art_cc_library { shared_libs: [ "libdl_android", ], - whole_static_libs: [ + static_libs: [ "PlatformProperties", ], }, -- cgit v1.2.3-59-g8ed1b