From c72fd9a9cac7824d87046a6fd25cc281dbe7352e Mon Sep 17 00:00:00 2001 From: Martin Stjernholm Date: Fri, 16 Aug 2019 19:08:00 +0100 Subject: [PATCH] Limit the compat symlinks to ART binaries. For now, keep symlinks only to the binaries demonstrably in use by apps (dex2oat and dalvikvm). Test: adb shell ls -l /system/bin Bug: 124106384 Change-Id: Id662beb4c13785ac9d44bf41f9f33907219b69be --- rootdir/Android.mk | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/rootdir/Android.mk b/rootdir/Android.mk index 2fa110b0e..df1d92979 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -233,18 +233,7 @@ LOCAL_POST_INSTALL_CMD = mkdir -p $(TARGET_OUT)/usr && rm -rf $(TARGET_OUT)/usr/ LOCAL_POST_INSTALL_CMD += && ln -sf /apex/com.android.i18n/etc/icu $(TARGET_OUT)/usr/icu # TODO(b/124106384): Clean up compat symlinks for ART binaries. -ART_BINARIES := \ - dalvikvm \ - dalvikvm32 \ - dalvikvm64 \ - dex2oat \ - dexdiag \ - dexdump \ - dexlist \ - dexoptanalyzer \ - oatdump \ - profman \ - +ART_BINARIES := dalvikvm dex2oat LOCAL_POST_INSTALL_CMD += && mkdir -p $(TARGET_OUT)/bin $(foreach b,$(ART_BINARIES), \ $(eval LOCAL_POST_INSTALL_CMD += \