OSDN Git Service

Remove the simulator target from all makefiles.
authorJeff Brown <jeffbrown@google.com>
Tue, 12 Jul 2011 05:12:34 +0000 (22:12 -0700)
committerJeff Brown <jeffbrown@google.com>
Tue, 12 Jul 2011 05:12:34 +0000 (22:12 -0700)
Bug: 5010576

Change-Id: I59e3c37c05c1114648172d9aba7abf035986bede

mca/filterfw/native/libfilterfw.mk
wilhelm/src/Android.mk
wilhelm/src/itf/IAndroidEffect.cpp
wilhelm/tests/Android.mk
wilhelm/tests/automated/Android.mk

index c1fb48a..4e88e6f 100644 (file)
@@ -19,9 +19,7 @@ FFW_PATH := $(call my-dir)
 # 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 \
index 8bb7e13..b1fd1f2 100644 (file)
@@ -152,23 +152,8 @@ LOCAL_SHARED_LIBRARIES :=         \
         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
 
 
 
index 5de24c3..f34cabd 100644 (file)
@@ -108,15 +108,12 @@ void IAndroidEffect_init(void *self)
 {
     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++) {
@@ -127,5 +124,4 @@ void IAndroidEffect_deinit(void *self)
         delete thiz->mEffects;
         thiz->mEffects = NULL;
     }
-#endif
 }
index a82d846..9580245 100644 (file)
@@ -1,6 +1,4 @@
 # Build the unit tests.
-ifneq ($(TARGET_SIMULATOR),true)
-
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -37,6 +35,5 @@ $(foreach file,$(test_src_files), \
     $(eval include $(BUILD_EXECUTABLE)) \
 )
 
-endif
 # Build the manual test programs.
 include $(call all-makefiles-under,$(LOCAL_PATH))
index 898e208..fcb9eeb 100644 (file)
@@ -1,6 +1,4 @@
 # Build the unit tests.
-ifneq ($(TARGET_SIMULATOR),true)
-
 LOCAL_PATH:= $(call my-dir)
 include $(CLEAR_VARS)
 
@@ -37,6 +35,5 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_DATA)/nativetest
 
 include $(BUILD_EXECUTABLE)
 
-endif
 # Build the manual test programs.
 include $(call all-subdir-makefiles)