summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorReynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk>2011-10-17 17:32:49 -0300
committerReynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk>2011-10-17 18:59:07 -0300
commit2db009a056c72032b323b80640ccc68aa2f2a1c0 (patch)
treee004c3e876a95588c88e978113b83bc5d527fe3d /Android.mk
parent717d6643708af47cb81d9f212ad8683d29d8d32a (diff)
Fix building with the NDK
These changes apply only to NDK builds: - Disable building of everything but audioflingersink for now. - Avoid trying to include $(TOP)/frameworks/base as it's not required for building. - Added needed CF_LAGS / LD_FLAGS everywhere. - Rely on local copy of needed (but not bundled) Android headers under gst-android/android_headers. - Rely on local copies of needed (but not bundled) Android shared libraries on linker path.
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index fce676d..674c770 100644
--- a/Android.mk
+++ b/Android.mk
@@ -6,6 +6,10 @@ GST_ANDROID_TOP := $(LOCAL_PATH)
include $(CLEAR_VARS)
+ifneq ($(NDK_BUILD), true)
include $(GST_ANDROID_TOP)/gstplayer/Android.mk
include $(GST_ANDROID_TOP)/sink/audioflingersink/Android.mk
include $(GST_ANDROID_TOP)/sink/surfaceflingersink/Android.mk
+else
+include $(GST_ANDROID_TOP)/sink/audioflingersink/Android.mk
+endif