Add packing to class Thread.
Otherwise, code compiled on the host can use different offsets than
we need for the same structure on the target.
Also add commented-out code to start up the various GC daemon threads.
More Class native methods need to be implemented before that will work.
Change-Id: I618b647b92378eec1b25cee469c8cfccf42f21fd
diff --git a/build/Android.common.mk b/build/Android.common.mk
index 33e59cc..b99a876 100644
--- a/build/Android.common.mk
+++ b/build/Android.common.mk
@@ -68,6 +68,8 @@
src/calling_convention_arm.cc \
src/calling_convention_x86.cc \
src/context.cc \
+ src/context_arm.cc.arm \
+ src/context_x86.cc \
src/check_jni.cc \
src/class_linker.cc \
src/class_loader.cc \
@@ -140,7 +142,6 @@
LIBART_TARGET_SRC_FILES := \
$(LIBART_COMMON_SRC_FILES) \
- src/context_arm.cc.arm \
src/logging_android.cc \
src/runtime_android.cc \
src/thread_android.cc \
@@ -148,7 +149,6 @@
LIBART_HOST_SRC_FILES := \
$(LIBART_COMMON_SRC_FILES) \
- src/context_x86.cc \
src/logging_linux.cc \
src/runtime_linux.cc \
src/thread_linux.cc \