Files
android_development/simulator/wrapsim/Android.mk
Andy McFadden d7bc5f3a9a Remove "ifneq ($(TARGET_ARCH),arm)".
The following line is "ifeq ($(TARGET_SIMULATOR),true)", which should
never succeed for an ARM build.

This change is inspired by external change 10447, which adds
"ifneq ($(TARGET_ARCH),sh)".  Shouldn't be needed either.
2009-06-23 16:01:56 -07:00

57 lines
1021 B
Makefile

# Copyright 2007 The Android Open Source Project
#
# Build instructions for simulator LD_PRELOAD wrapper.
#
ifeq ($(TARGET_SIMULATOR),true)
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
BitVector.c \
DevAudio.c \
DevConsoleTty.c \
DevEvent.c \
DevFb.c \
DevLog.c \
DevPower.c \
DevVibrator.c \
FakeDev.c \
Init.c \
Intercept.c \
Log.c \
SimMgr.c \
SysPower.c
LOCAL_C_INCLUDES += prebuilt/common/esd
LOCAL_MODULE := libwrapsim
# Relying on other Android libraries is probably a bad idea, since any
# library or system calls they make could lead to recursive behavior.
LOCAL_LDLIBS += -lpthread -ldl
ifeq ($(BUILD_SIM_WITHOUT_AUDIO),true)
LOCAL_CFLAGS += -DBUILD_SIM_WITHOUT_AUDIO=1
else
LOCAL_LDLIBS += -lesd
endif
include $(BUILD_SHARED_LIBRARY)
#
# Build instructions for simulator runtime launch wrapper.
#
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
LaunchWrapper.c
LOCAL_MODULE := launch-wrapper
include $(BUILD_EXECUTABLE)
endif # ifeq ($(TARGET_SIMULATOR),true)