Drop module sdk MakeUninstallable special case
Platform variants of module sdk libraries were marked as uninstallable originally in https://r.android.com/1974259. This special case is no longer necesssary - android.MutateApexTransition will call MakeUninstallable on the platform variant on both the source and prebuilt soong modules when the following conditions are met - //apex_available:platform is not listed in apex_available (explicitly or via the default implicit) - the soong module is included in an apex that exists in the tree (listed in native_shared_libs) Since MakeUninstallable is set by apex specific mutators, the relevant unit test has been moved to the apex package. The Android.bp of the test has also been extended with an apex that includes the shared library. Test: m nothing --no-skip-soong-tests Test: no diff in out/soong/Android-$product.mk Test: added prebuilt_libdexfile to art's apex_contributions locally, no diff in out/soong/Android-$product.mk Bug: 220898484 Change-Id: I43a324882d486451bb921028853508d7ec3d76bf
Loading
Please register or sign in to comment