summaryrefslogtreecommitdiffstats
path: root/JavaLibrary.mk
diff options
context:
space:
mode:
Diffstat (limited to 'JavaLibrary.mk')
-rw-r--r--JavaLibrary.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/JavaLibrary.mk b/JavaLibrary.mk
index a28e609..0e57401 100644
--- a/JavaLibrary.mk
+++ b/JavaLibrary.mk
@@ -51,7 +51,13 @@ endef
# The Java files and their associated resources.
core_src_files := $(call all-main-java-files-under,dalvik dex dom json luni support xml)
+
+ifeq ($(WITH_ART),false)
core_src_files += $(call all-main-java-files-under,libdvm)
+else
+core_src_files += $(call all-main-java-files-under,libart)
+endif
+
core_resource_dirs := $(call all-core-resource-dirs,main)
test_resource_dirs := $(call all-core-resource-dirs,test)