diff options
author | 2017-10-02 13:35:15 -0700 | |
---|---|---|
committer | 2017-10-02 14:09:14 -0700 | |
commit | 822cf6a4d02e45050e117e2e6d15059ca09976df (patch) | |
tree | 7d0ebd98903f474aff61e78875f5605672b793c7 | |
parent | f67f115423c9ef5aa62a33c12670cd8f89457c9c (diff) |
Delete jack support
Remove references to jack from makefiles. There are still
references in test scripts that will need to be cleaned up.
Bug: 65302138
Test: m -j test-art-host
Change-Id: I74026197013cad7a5d5977f9462221bc7b864f06
-rw-r--r-- | build/Android.common_path.mk | 6 | ||||
-rw-r--r-- | build/Android.common_test.mk | 6 | ||||
-rw-r--r-- | test/Android.run-test.mk | 15 |
3 files changed, 4 insertions, 23 deletions
diff --git a/build/Android.common_path.mk b/build/Android.common_path.mk index f4f8d49a7a..3247e54ab2 100644 --- a/build/Android.common_path.mk +++ b/build/Android.common_path.mk @@ -84,12 +84,6 @@ endif HOST_CORE_DEX_FILES := $(foreach jar,$(HOST_CORE_JARS), $(call intermediates-dir-for,JAVA_LIBRARIES,$(jar),t,COMMON)/javalib.jar) TARGET_CORE_DEX_FILES := $(foreach jar,$(TARGET_CORE_JARS),$(call intermediates-dir-for,JAVA_LIBRARIES,$(jar), ,COMMON)/javalib.jar) -# Classpath for Jack compilation: we only need core-libart. -HOST_JACK_CLASSPATH_DEPENDENCIES := $(call intermediates-dir-for,JAVA_LIBRARIES,core-oj-hostdex,t,COMMON)/classes.jack $(call intermediates-dir-for,JAVA_LIBRARIES,core-libart-hostdex,t,COMMON)/classes.jack -HOST_JACK_CLASSPATH := $(abspath $(call intermediates-dir-for,JAVA_LIBRARIES,core-oj-hostdex,t,COMMON)/classes.jack):$(abspath $(call intermediates-dir-for,JAVA_LIBRARIES,core-libart-hostdex,t,COMMON)/classes.jack) -TARGET_JACK_CLASSPATH_DEPENDENCIES := $(call intermediates-dir-for,JAVA_LIBRARIES,core-oj, ,COMMON)/classes.jack $(call intermediates-dir-for,JAVA_LIBRARIES,core-libart, ,COMMON)/classes.jack -TARGET_JACK_CLASSPATH := $(abspath $(call intermediates-dir-for,JAVA_LIBRARIES,core-oj, ,COMMON)/classes.jack):$(abspath $(call intermediates-dir-for,JAVA_LIBRARIES,core-libart, ,COMMON)/classes.jack) - ART_HOST_DEX_DEPENDENCIES := $(foreach jar,$(HOST_CORE_JARS),$(HOST_OUT_JAVA_LIBRARIES)/$(jar).jar) ART_TARGET_DEX_DEPENDENCIES := $(foreach jar,$(TARGET_CORE_JARS),$(TARGET_OUT_JAVA_LIBRARIES)/$(jar).jar) diff --git a/build/Android.common_test.mk b/build/Android.common_test.mk index 1ae79ac8cd..37e6d4230d 100644 --- a/build/Android.common_test.mk +++ b/build/Android.common_test.mk @@ -202,9 +202,9 @@ endef # $(5): a make variable used to collate target dependencies, e.g ART_TEST_TARGET_OAT_HelloWorld_DEX # $(6): a make variable used to collate host dependencies, e.g ART_TEST_HOST_OAT_HelloWorld_DEX # -# If the input test directory contains a file called main.list and main.jpp, +# If the input test directory contains a file called main.list, # then a multi-dex file is created passing main.list as the --main-dex-list -# argument to dx and main.jpp for Jack. +# argument to dx. define build-art-test-dex ifeq ($(ART_BUILD_TARGET),true) include $(CLEAR_VARS) @@ -219,7 +219,6 @@ define build-art-test-dex LOCAL_DEX_PREOPT_IMAGE_LOCATION := $(TARGET_CORE_IMG_OUT) ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),) LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex - LOCAL_JACK_FLAGS := -D jack.dex.output.policy=minimal-multidex -D jack.preprocessor=true -D jack.preprocessor.file=$(LOCAL_PATH)/$(2)/main.jpp endif include $(BUILD_JAVA_LIBRARY) $(5) := $$(LOCAL_INSTALLED_MODULE) @@ -235,7 +234,6 @@ define build-art-test-dex LOCAL_DEX_PREOPT_IMAGE := $(HOST_CORE_IMG_LOCATION) ifneq ($(wildcard $(LOCAL_PATH)/$(2)/main.list),) LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex - LOCAL_JACK_FLAGS := -D jack.dex.output.policy=minimal-multidex -D jack.preprocessor=true -D jack.preprocessor.file=$(LOCAL_PATH)/$(2)/main.jpp endif include $(BUILD_HOST_DALVIK_JAVA_LIBRARY) $(6) := $$(LOCAL_INSTALLED_MODULE) diff --git a/test/Android.run-test.mk b/test/Android.run-test.mk index 6017d28159..4b49142e10 100644 --- a/test/Android.run-test.mk +++ b/test/Android.run-test.mk @@ -22,8 +22,7 @@ TEST_ART_RUN_TEST_DEPENDENCIES := \ $(HOST_OUT_EXECUTABLES)/dx \ $(HOST_OUT_EXECUTABLES)/jasmin \ $(HOST_OUT_EXECUTABLES)/smali \ - $(HOST_OUT_EXECUTABLES)/dexmerger \ - $(JACK) + $(HOST_OUT_EXECUTABLES)/dexmerger # Convert's a rule name to the form used in variables, e.g. no-relocate to NO_RELOCATE define name-to-var @@ -124,19 +123,9 @@ endif # Host executables. host_prereq_rules := $(ART_TEST_HOST_RUN_TEST_DEPENDENCIES) -ifeq ($(ANDROID_COMPILE_WITH_JACK),true) -# Classpath for Jack compilation for host. -host_prereq_rules += $(HOST_JACK_CLASSPATH_DEPENDENCIES) -endif - -# Required for dx, jasmin, smali, dexmerger, jack. +# Required for dx, jasmin, smali, dexmerger. host_prereq_rules += $(TEST_ART_RUN_TEST_DEPENDENCIES) -ifeq ($(ANDROID_COMPILE_WITH_JACK),true) -# Classpath for Jack compilation for target. -target_prereq_rules := $(TARGET_JACK_CLASSPATH_DEPENDENCIES) -endif - # Sync test files to the target, depends upon all things that must be pushed #to the target. target_prereq_rules += test-art-target-sync |