## Build the host command line tool dexdump
##
##
-ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
include $(CLEAR_VARS)
LOCAL_MODULE := dexdump
LOCAL_MODULE_TAGS := optional
endif
include $(BUILD_HOST_EXECUTABLE)
-endif # !TARGET_SIMULATOR
dexdump_static_libraries := \
libdex
-ifneq ($(TARGET_SIMULATOR),true) # not 64 bit clean
-
include $(CLEAR_VARS)
LOCAL_MODULE := dexlist
LOCAL_MODULE_TAGS := optional
LOCAL_STATIC_LIBRARIES := $(dexdump_static_libraries) libcutils
LOCAL_LDLIBS += -lpthread -lz
include $(BUILD_HOST_EXECUTABLE)
-
-endif # TARGET_SIMULATOR
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := dexopt
-ifneq ($(TARGET_SIMULATOR),true)
- LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
- LOCAL_SHARED_LIBRARIES += libstlport
-endif
+LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
+LOCAL_SHARED_LIBRARIES += libstlport
include $(BUILD_EXECUTABLE)
dvm_arch := $(HOST_ARCH)
# Note: HOST_ARCH_VARIANT isn't defined.
dvm_arch_variant := $(HOST_ARCH)
- dvm_simulator := false
WITH_JIT := false
include $(LOCAL_PATH)/Dvm.mk
# Make a debugging version when building the simulator (if not told
# otherwise) and when explicitly asked.
dvm_make_debug_vm := false
-ifeq ($(strip $(DEBUG_DALVIK_VM)),)
- ifeq ($(dvm_simulator),true)
- dvm_make_debug_vm := true
- endif
-else
+ifneq ($(strip $(DEBUG_DALVIK_VM)),)
dvm_make_debug_vm := $(DEBUG_DALVIK_VM)
endif
external/zlib \
libcore/include \
-ifeq ($(dvm_simulator),true)
- LOCAL_LDLIBS += -lpthread -ldl
- ifeq ($(HOST_OS),linux)
- # need this for clock_gettime() in profiling
- LOCAL_LDLIBS += -lrt
- endif
-endif
-
MTERP_ARCH_KNOWN := false
ifeq ($(dvm_arch),arm)
dvm_os := $(TARGET_OS)
dvm_arch := $(TARGET_ARCH)
dvm_arch_variant := $(TARGET_ARCH_VARIANT)
-dvm_simulator := $(TARGET_SIMULATOR)
# for now, disable x86-atom variant
ifeq ($(dvm_arch_variant),x86-atom)
include $(LOCAL_PATH)/Dvm.mk
-LOCAL_SHARED_LIBRARIES += liblog libcutils libnativehelper libz
-ifneq ($(TARGET_SIMULATOR),true)
-LOCAL_SHARED_LIBRARIES += libdl
-endif # !TARGET_SIMULATOR
+LOCAL_SHARED_LIBRARIES += liblog libcutils libnativehelper libz libdl
LOCAL_STATIC_LIBRARIES += libdex
-ifneq ($(TARGET_SIMULATOR),true)
- LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
- LOCAL_SHARED_LIBRARIES += libstlport
-endif
+LOCAL_C_INCLUDES += external/stlport/stlport bionic/ bionic/libstdc++/include
+LOCAL_SHARED_LIBRARIES += libstlport
# Don't install on any build by default
LOCAL_MODULE_TAGS := optional