forked from openkylin/platform_build
Add subcontexts field to JSON class loader context representation.
For now the subcontexts are always empty. A follow-up change will actually populate that field from dependencies' dexpreopt.config files. Bug: 132357300 Test: lunch aosp_cf_x86_phone-userdebug && m Change-Id: I6cf0e8363dff4b406cb62ba3d76d566dbfec57e7
This commit is contained in:
parent
e9df7af1ed
commit
1047a0a4be
|
@ -220,8 +220,9 @@ ifdef LOCAL_DEX_PREOPT
|
|||
$(foreach lib, $(2),\
|
||||
$(call add_json_map, $(lib)) \
|
||||
$(eval file := $(filter %/$(lib).jar, $(call module-installed-files,$(lib)))) \
|
||||
$(call add_json_str, Host, $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/javalib.jar) \
|
||||
$(call add_json_str, Device, $(call install-path-to-on-device-path,$(file))) \
|
||||
$(call add_json_str, Host, $(call intermediates-dir-for,JAVA_LIBRARIES,$(lib),,COMMON)/javalib.jar) \
|
||||
$(call add_json_str, Device, $(call install-path-to-on-device-path,$(file))) \
|
||||
$(call add_json_map, Subcontexts, ${$}) $(call end_json_map) \
|
||||
$(call end_json_map)) \
|
||||
$(call end_json_map)
|
||||
|
||||
|
|
Loading…
Reference in New Issue