Merge "Add LOCAL_PROVIDES_USES_LIBRARY and use it in module dexpreopt config."
This commit is contained in:
commit
bcabefa689
|
@ -243,6 +243,7 @@ LOCAL_PROTOC_FLAGS:=
|
|||
# lite(default),micro,nano,stream,full,nanopb-c,nanopb-c-enable_malloc,nanopb-c-16bit,nanopb-c-enable_malloc-16bit,nanopb-c-32bit,nanopb-c-enable_malloc-32bit
|
||||
LOCAL_PROTOC_OPTIMIZE_TYPE:=
|
||||
LOCAL_PROTO_JAVA_OUTPUT_PARAMS:=
|
||||
LOCAL_PROVIDES_USES_LIBRARY:=
|
||||
LOCAL_R8_FLAG_FILES:=
|
||||
LOCAL_RECORDED_MODULE_TYPE:=
|
||||
LOCAL_RENDERSCRIPT_CC:=
|
||||
|
|
|
@ -253,6 +253,7 @@ ifdef LOCAL_DEX_PREOPT
|
|||
$(call add_json_str, ProfileClassListing, $(if $(my_process_profile),$(LOCAL_DEX_PREOPT_PROFILE)))
|
||||
$(call add_json_bool, ProfileIsTextListing, $(my_profile_is_text_listing))
|
||||
$(call add_json_bool, EnforceUsesLibraries, $(LOCAL_ENFORCE_USES_LIBRARIES))
|
||||
$(call add_json_str, ProvidesUsesLibrary, $(firstword $(LOCAL_PROVIDES_USES_LIBRARY) $(LOCAL_MODULE)))
|
||||
$(call add_json_map, ClassLoaderContexts)
|
||||
$(call add_json_class_loader_context, any, $(my_dexpreopt_libs))
|
||||
$(call add_json_class_loader_context, 28, $(my_dexpreopt_libs_compat_28))
|
||||
|
|
Loading…
Reference in New Issue