OSDN Git Service

Use the new stlport build configuration.
authorPatrick Scott <phanna@android.com>
Mon, 8 Feb 2010 23:38:13 +0000 (18:38 -0500)
committerPatrick Scott <phanna@android.com>
Tue, 16 Feb 2010 17:33:38 +0000 (12:33 -0500)
Android.mk

index a5e12d0..551433c 100644 (file)
@@ -75,7 +75,6 @@ include $(BASE_PATH)/bison_check.mk
 LOCAL_C_INCLUDES := \
        $(JNI_H_INCLUDE) \
        $(LOCAL_PATH)/WebKit/android/icu \
-       bionic/ \
        external/ \
        external/icu4c/common \
        external/icu4c/i18n \
@@ -210,7 +209,6 @@ LOCAL_CFLAGS += -Wno-endif-labels -Wno-import -Wno-format
 LOCAL_CFLAGS += -fno-strict-aliasing
 LOCAL_CFLAGS += -include "WebCorePrefix.h"
 LOCAL_CFLAGS += -fvisibility=hidden
-LOCAL_CFLAGS += -D__SGI_STL_INTERNAL_PAIR_H
 
 # Enable JSC JIT if JSC is used and ENABLE_ANDROID_JSC_JIT environment
 # variable is set to true
@@ -264,9 +262,8 @@ endif
 
 # We have to use the android version of libdl when we are not on the simulator
 ifneq ($(TARGET_SIMULATOR),true)
-LOCAL_SHARED_LIBRARIES += libdl
-LOCAL_C_INCLUDES += \
-       external/stlport
+LOCAL_SHARED_LIBRARIES += libdl libstlport
+include external/stlport/libstlport.mk
 endif
 
 # Build the list of static libraries