# Uncomment the requirements below, once we need them:
# STLport
-ifneq ($(TARGET_SIMULATOR),true)
include external/stlport/libstlport.mk
-endif
# Neven FaceDetect SDK
#LOCAL_C_INCLUDES += external/neven/FaceRecEm/common/src/b_FDSDK \
libstagefright \
libstagefright_foundation \
libcutils \
- libgui
-
-ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
- LOCAL_LDLIBS += -lpthread -ldl
- LOCAL_SHARED_LIBRARIES += libdvm
- LOCAL_CPPFLAGS += -DANDROID_SIMULATOR
-endif
-
-ifneq ($(TARGET_SIMULATOR),true)
- LOCAL_SHARED_LIBRARIES += libdl
-else
- LOCAL_CFLAGS += -DTARGET_SIMULATOR
-endif
-
-ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
- LOCAL_LDLIBS += -lpthread
-endif
+ libgui \
+ libdl
{
IAndroidEffect *thiz = (IAndroidEffect *) self;
thiz->mItf = &IAndroidEffect_Itf;
-#ifndef TARGET_SIMULATOR
thiz->mEffects = new android::KeyedVector<SLuint32, android::AudioEffect* >();
-#endif
}
void IAndroidEffect_deinit(void *self)
{
IAndroidEffect *thiz = (IAndroidEffect *) self;
-#ifndef TARGET_SIMULATOR
if (NULL != thiz->mEffects) {
if (!thiz->mEffects->isEmpty()) {
for (size_t i = 0 ; i < thiz->mEffects->size() ; i++) {
delete thiz->mEffects;
thiz->mEffects = NULL;
}
-#endif
}
# Build the unit tests.
-ifneq ($(TARGET_SIMULATOR),true)
-
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
$(eval include $(BUILD_EXECUTABLE)) \
)
-endif
# Build the manual test programs.
include $(call all-makefiles-under,$(LOCAL_PATH))
# Build the unit tests.
-ifneq ($(TARGET_SIMULATOR),true)
-
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
include $(BUILD_EXECUTABLE)
-endif
# Build the manual test programs.
include $(call all-subdir-makefiles)