summaryrefslogtreecommitdiffstats
path: root/vm/Dvm.mk
diff options
context:
space:
mode:
Diffstat (limited to 'vm/Dvm.mk')
-rw-r--r--vm/Dvm.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/vm/Dvm.mk b/vm/Dvm.mk
index 9688dfe15..72d92990e 100644
--- a/vm/Dvm.mk
+++ b/vm/Dvm.mk
@@ -188,6 +188,13 @@ LOCAL_SRC_FILES := \
test/TestHash.cpp \
test/TestIndirectRefTable.cpp
+# TODO: this is the wrong test, but what's the right one?
+ifeq ($(dvm_arch),arm)
+ LOCAL_SRC_FILES += os/android.cpp
+else
+ LOCAL_SRC_FILES += os/linux.cpp
+endif
+
WITH_COPYING_GC := $(strip $(WITH_COPYING_GC))
ifeq ($(WITH_COPYING_GC),true)