Add a phony target for golem.
To cut down on the size of the build.
Change-Id: Ic7dce1f8b73cf234c3e0163a0c03c7e19d9b02e1
diff --git a/Android.mk b/Android.mk
index d43118c..a1479e1 100644
--- a/Android.mk
+++ b/Android.mk
@@ -434,6 +434,16 @@
build-art-target: $(TARGET_OUT_EXECUTABLES)/art $(ART_TARGET_DEPENDENCIES) $(TARGET_CORE_IMG_OUTS)
########################################################################
+# Phony target for only building what go/lem requires on target.
+.PHONY: build-art-target-golem
+build-art-target-golem: dex2oat dalvikvm patchoat linker \
+ $(TARGET_OUT)/etc/public.libraries.txt \
+ $(ART_TARGET_DEX_DEPENDENCIES) \
+ $(ART_TARGET_SHARED_LIBRARY_DEPENDENCIES) \
+ $(TARGET_CORE_IMG_OUT_BASE).art \
+ $(TARGET_CORE_IMG_OUT_BASE)-interpreter.art
+
+########################################################################
# Rules for building all dependencies for tests.
.PHONY: build-art-host-tests