summaryrefslogtreecommitdiff
path: root/android/sdp.mk
diff options
context:
space:
mode:
Diffstat (limited to 'android/sdp.mk')
-rw-r--r--android/sdp.mk21
1 files changed, 3 insertions, 18 deletions
diff --git a/android/sdp.mk b/android/sdp.mk
index ae680268b..b83002c1a 100644
--- a/android/sdp.mk
+++ b/android/sdp.mk
@@ -24,24 +24,8 @@ LOCAL_SHARED_LIBRARIES := \
libgobject-2.0
LOCAL_MODULE:= libgstsdp-0.10
-
-LOCAL_C_INCLUDES := \
- $(LOCAL_PATH)/../gst-libs/gst/sdp \
- $(LOCAL_PATH)/../gst-libs \
- $(LOCAL_PATH)/.. \
- $(LOCAL_PATH) \
- $(LOCAL_PATH)/gst/tcp \
- $(TARGET_OUT_HEADERS)/gstreamer-0.10 \
- $(TARGET_OUT_HEADERS)/glib-2.0 \
- $(TARGET_OUT_HEADERS)/glib-2.0/glib \
- external/libxml2/include
-
-ifeq ($(STECONF_ANDROID_VERSION),"FROYO")
-LOCAL_SHARED_LIBRARIES += libicuuc
-LOCAL_C_INCLUDES += external/icu4c/common
-endif
-
-LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID
+LOCAL_CFLAGS := -DHAVE_CONFIG_H -DGSTREAMER_BUILT_FOR_ANDROID \
+ $(GST_PLUGINS_BASE_CFLAGS)
#
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
#
@@ -49,5 +33,6 @@ LOCAL_PRELINK_MODULE := false
LOCAL_COPY_HEADERS_TO := $(gst_sdp_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS := $(gst_sdp_COPY_HEADERS)
+LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)