From 267832d6bb0d75ce945e623cd1696dde21ee2f2a Mon Sep 17 00:00:00 2001 From: Orion Hodson Date: Thu, 27 Aug 2020 15:13:10 +0100 Subject: Experimental script for compiling after a module update Adds an experimental script to run on device to recompile jars in the boot class path and system server class path that are not in APEXes. Bug: 160683548 Test: adb root; adb shell \ "set enforce 0; cd /data/local/tmp; /apex/com.android.art/bin/compile_bcp.sh" Change-Id: I29d6a61508170e4f9fdc04fc384148b4b1f48870 --- build/apex/art_apex_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build/apex/art_apex_test.py') diff --git a/build/apex/art_apex_test.py b/build/apex/art_apex_test.py index 2c40244b9a..d959d3f532 100755 --- a/build/apex/art_apex_test.py +++ b/build/apex/art_apex_test.py @@ -519,6 +519,7 @@ class ReleaseChecker: self._checker.check_file('apex_manifest.pb') # Check binaries for ART. + self._checker.check_executable("compile_bcp.sh") self._checker.check_first_executable('dex2oat') self._checker.check_executable('dexdump') self._checker.check_executable('dexlist') @@ -613,6 +614,7 @@ class ReleaseTargetChecker: # removed in Android R. # Check binaries for ART. + self._checker.check_executable("compile_bcp.sh") self._checker.check_executable('oatdump') self._checker.check_multilib_executable('dex2oat') -- cgit v1.2.3-59-g8ed1b