Merge "Pass classpath to d8" am: 1ac080e9e5
am: 5fa79d2afd
am: 807dd63e65
Change-Id: I568884edfca04ab5989b1bfe0cca226f9c6c4bbb
This commit is contained in:
commit
2ae0d2518d
|
@ -2286,6 +2286,7 @@ $(hide) rm -f $(dir $@)classes*.dex $(dir $@)d8_input.jar
|
|||
$(hide) $(ZIP2ZIP) -j -i $< -o $(dir $@)d8_input.jar "**/*.class"
|
||||
$(hide) $(DX_COMMAND) \
|
||||
--output $(dir $@) \
|
||||
$(addprefix --lib ,$(PRIVATE_D8_LIBS)) \
|
||||
--min-api $(PRIVATE_MIN_SDK_VERSION) \
|
||||
$(subst --main-dex-list=, --main-dex-list , \
|
||||
$(filter-out --core-library --multi-dex --minimal-main-dex,$(PRIVATE_DX_FLAGS))) \
|
||||
|
|
|
@ -494,6 +494,8 @@ ifdef LOCAL_PROGUARD_ENABLED
|
|||
$(built_dex_intermediate) : $(full_classes_pre_proguard_jar) $(extra_input_jar) $(my_proguard_sdk_raise) $(common_proguard_flag_files) $(proguard_flag_files) $(legacy_proguard_lib_deps) $(R8_COMPAT_PROGUARD)
|
||||
$(transform-jar-to-dex-r8)
|
||||
else # !LOCAL_PROGUARD_ENABLED
|
||||
$(built_dex_intermediate): PRIVATE_D8_LIBS := $(full_java_bootclasspath_libs) $(full_shared_java_header_libs)
|
||||
$(built_dex_intermediate): $(full_java_bootclasspath_libs) $(full_shared_java_header_libs)
|
||||
$(built_dex_intermediate): $(full_classes_pre_proguard_jar) $(DX) $(ZIP2ZIP)
|
||||
$(transform-classes.jar-to-dex)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue