platform_build_soong/dexpreopt
liulvping 76d56ee9f8 support system server jars install in system_ext
Bug: 245383870
Bug: 155630745
Test:m nothing
Test:-
1.Add a jar installed in the system_ext partition toSYSTEMSERVERJARS
(e.g.b/245383870 PRODUCT_SYSTEM_SERVER_JARS_EXTRA += system_ext:oem-services)
2.Build a ROM
3.See the odex and vdex files generated in $ANDROID_PRODUCT_OUT/system_ext/framework/oat/
4.Flash the ROM to a device
5.Check the maps information of the system_server , the newly added odex has the r-xp flags
6.Run `adb shell am restart;adb root;adb shell setprop dalvik.vm.extra-opts
-verbose:deopt,heap,jit,oat,image,dex,verifier;`
7.Check ClassLoaderContext classpath size matching information
8.Run `atest art_standalone_odrefresh_tests`
`atest art_standalone_dexpreopt_tests`
`atest CtsSdkExtensionsTestCases`

Change-Id: Ib1083ee130b5fef9c23d56523868fa1e29be879a
Signed-off-by: liulvping <liulvping@xiaomi.com>
2022-09-16 20:36:42 +08:00
..
dexpreopt_gen Make OutDir() and SoongOutDir() be consistent. 2021-09-02 13:35:49 +02:00
Android.bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
class_loader_context.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
class_loader_context_test.go Revert "Don't add uses_libs/optional_uses_libs to the manifest_fixer." 2022-05-04 12:10:06 +01:00
config.go Use aapt2 2022-08-08 20:21:32 +00:00
dexpreopt.go support system server jars install in system_ext 2022-09-16 20:36:42 +08:00
DEXPREOPT_IMPLEMENTATION.md Add markdown docs for dexpreopt. 2022-03-03 17:08:25 +00:00
dexpreopt_test.go support system server jars install in system_ext 2022-09-16 20:36:42 +08:00
OWNERS Update dex_preopt related OWNERS 2021-06-17 17:05:39 +01:00
testing.go Test that DisableGenerateProfile takes effects for APEXes. 2021-12-14 10:55:12 +00:00