diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk> | 2011-10-17 17:32:49 -0300 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo.verdejo@collabora.co.uk> | 2011-10-17 18:59:07 -0300 |
commit | 2db009a056c72032b323b80640ccc68aa2f2a1c0 (patch) | |
tree | e004c3e876a95588c88e978113b83bc5d527fe3d /Android.mk | |
parent | 717d6643708af47cb81d9f212ad8683d29d8d32a (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.mk | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |