summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGeunsik Lim <geunsik.lim@samsung.com>2018-12-11 09:12:24 +0900
committerMatthew Waters <matthew@centricular.com>2018-12-17 07:56:46 +0000
commit8727d56c92f5bd424fafa000d442730c3dc15bbc (patch)
treee22e1c4f34794a23993eb2d5ec7323b7f0a7585a /data
parent07eb9b0c4b8f16035d94d32ed7a201d60938b523 (diff)
ndk-build: support a multiple architecture build
Fixed issue https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/27. This commit is to support that developers can specify a multiple values with 'APP_ABI' of Application.mk file. The recent Adroid NDK tool provides the multiple architecture build as well as a single architecture build. * Reference: * https://developer.android.com/ndk/guides/abis?hl=en#gc * How to evaluate with this commit ```bash $ cd {your_work_dir}/gst-docs/examples/tutorials/android/android-tutorial-1/jni $ cat ./Application.mk | grep APP_ABI APP_ABI = armeabi armeabi-v7a arm64-v8a x86 x86_64 $ ndk-build (with android-ndk-r16b) $ tree ../libs/ ../libs/ |-- arm64-v8a | |-- libc++_shared.so | |-- libgstreamer_android.so | `-- libtutorial-1.so |-- armeabi (Note: It will be deprected since android-ndk-r18b.) | |-- libc++_shared.so | |-- libgstreamer_android.so | `-- libtutorial-1.so |-- armeabi-v7a | |-- libc++_shared.so | |-- libgstreamer_android.so | `-- libtutorial-1.so |-- x86 | |-- libc++_shared.so | |-- libgstreamer_android.so | `-- libtutorial-1.so `-- x86_64 |-- libc++_shared.so |-- libgstreamer_android.so `-- libtutorial-1.so ``` * Self assessment: * Local test with ndk-build: It's okay. * Local test with gst-docs (./android-tutorial-{1-5}/)
Diffstat (limited to 'data')
-rw-r--r--data/ndk-build/gstreamer-1.0.mk4
1 files changed, 0 insertions, 4 deletions
diff --git a/data/ndk-build/gstreamer-1.0.mk b/data/ndk-build/gstreamer-1.0.mk
index 0b2e2299..02e3248f 100644
--- a/data/ndk-build/gstreamer-1.0.mk
+++ b/data/ndk-build/gstreamer-1.0.mk
@@ -34,14 +34,10 @@ endif
GSTREAMER_ROOT := $(wildcard $(GSTREAMER_ROOT))
# Path for GStreamer static plugins
-ifndef GSTREAMER_STATIC_PLUGINS_PATH
GSTREAMER_STATIC_PLUGINS_PATH := $(GSTREAMER_ROOT)/lib/gstreamer-1.0
-endif
# Path for the NDK integration makefiles
-ifndef GSTREAMER_NDK_BUILD_PATH
GSTREAMER_NDK_BUILD_PATH := $(GSTREAMER_ROOT)/share/gst-android/ndk-build
-endif
ifndef GSTREAMER_INCLUDE_FONTS
GSTREAMER_INCLUDE_FONTS := yes