2012-09-04 10:20:02 +00:00
|
|
|
# Copyright (C) 2009 The Android Open Source Project
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-10-03 12:17:08 +00:00
|
|
|
LOCAL_MODULE := tutorial-5
|
|
|
|
LOCAL_SRC_FILES := tutorial-5.c
|
2012-09-06 13:56:13 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := gstreamer_android
|
2012-09-12 15:39:14 +00:00
|
|
|
LOCAL_LDLIBS := -landroid
|
2012-09-04 10:20:02 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2012-10-01 08:08:52 +00:00
|
|
|
ifndef GSTREAMER_SDK_ROOT
|
2012-09-28 10:12:21 +00:00
|
|
|
ifndef GSTREAMER_SDK_ROOT_ANDROID
|
|
|
|
$(error GSTREAMER_SDK_ROOT_ANDROID is not defined!)
|
2012-09-20 10:29:40 +00:00
|
|
|
endif
|
2012-09-28 10:12:21 +00:00
|
|
|
GSTREAMER_SDK_ROOT := $(GSTREAMER_SDK_ROOT_ANDROID)
|
2012-10-01 08:08:52 +00:00
|
|
|
endif
|
2012-09-20 10:29:40 +00:00
|
|
|
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_SDK_ROOT)/share/gst-android/ndk-build/
|
2012-10-03 10:14:45 +00:00
|
|
|
include $(GSTREAMER_NDK_BUILD_PATH)/plugins.mk
|
|
|
|
GSTREAMER_PLUGINS := $(GSTREAMER_PLUGINS_CORE) $(GSTREAMER_PLUGINS_PLAYBACK) $(GSTREAMER_PLUGINS_CODECS) $(GSTREAMER_PLUGINS_NET) $(GSTREAMER_PLUGINS_SYS)
|
2012-09-20 10:29:40 +00:00
|
|
|
G_IO_MODULES := gnutls
|
|
|
|
include $(GSTREAMER_NDK_BUILD_PATH)/gstreamer.mk
|