This patch modifies the build script for Android API to use mock
tizen_error.h, recently added.
Signed-off-by: Wook Song <wook16.song@samsung.com>
# Check required packages
check_package svn
check_package sed
-check_package patch
check_package zip
# Android SDK (Set your own path)
echo "Start to build NNStreamer library for Android."
pushd $NNSTREAMER_ROOT
-# Modify header for Android
-if ! patch -R --dry-run -sfp1 -i $NNSTREAMER_ROOT/packaging/non_tizen_build.patch; then
- patch -sfp1 -i $NNSTREAMER_ROOT/packaging/non_tizen_build.patch
-fi
-
# Make directory to build NNStreamer library
mkdir -p build_android_lib
# Remove build directory
rm -rf build_android_lib
-# Clean the applied patches
-patch -R -sfp1 -i $NNSTREAMER_ROOT/packaging/non_tizen_build.patch
-
popd
# exit with success/failure status
# nnstreamer c-api
NNSTREAMER_CAPI_INCLUDES := \
+ $(NNSTREAMER_CAPI_HOME)/include/platform \
$(NNSTREAMER_CAPI_HOME)/include
NNSTREAMER_CAPI_SRCS := \