Use dx.jar directly
Use $(JAVA) to invoke dx.jar instead of the dx wrapper script. Also allow the dx command line or the dx jar to be specified on the command line. Allows better dependencies on dx.jar, and doesn't rely on having java on the path. Bug: 62956999 Test: m -j checkbuild Change-Id: I5f265132690ad28b3139954fea44eb0c4a43393a
This commit is contained in:
@@ -673,7 +673,7 @@ $(built_dex_intermediate): PRIVATE_DX_FLAGS := $(LOCAL_DX_FLAGS)
|
||||
ifeq ($(LOCAL_EMMA_INSTRUMENT),true)
|
||||
$(built_dex_intermediate): PRIVATE_DX_FLAGS += --no-locals
|
||||
endif
|
||||
$(built_dex_intermediate): $(full_classes_jar) $(DX)
|
||||
$(built_dex_intermediate): $(full_classes_jar) $(DX_DEPS)
|
||||
$(transform-classes.jar-to-dex)
|
||||
endif # LOCAL_JACK_ENABLED is disabled
|
||||
|
||||
|
Reference in New Issue
Block a user