diff options
author | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 10:50:47 -0800 |
---|---|---|
committer | Taylor Holberton <taylorcholberton@gmail.com> | 2017-01-14 10:50:47 -0800 |
commit | 7098557f8035503951a692d940960f1fe18e1cfe (patch) | |
tree | 82b43338ae60709d9453e7c82642f27208436190 /jni | |
parent | fe4a22cca1741fde0692314c2b1ae561c1267cd3 (diff) |
added jni/Android.mk for Android NDK
Diffstat (limited to 'jni')
-rw-r--r-- | jni/Android.mk | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/jni/Android.mk b/jni/Android.mk new file mode 100644 index 0000000..b983f3a --- /dev/null +++ b/jni/Android.mk @@ -0,0 +1,47 @@ +LOCAL_PATH := $(call my-dir) + +srcdir ?= $(LOCAL_PATH)/../src +incdir ?= $(LOCAL_PATH)/../include +utilsdir ?= $(LOCAL_PATH)/../utils + +include $(CLEAR_VARS) +LOCAL_C_INCLUDES:= $(incdir) +LOCAL_SRC_FILES:= $(srcdir)/mixer.c $(srcdir)/pcm.c +LOCAL_MODULE := libtinyalsa +LOCAL_SHARED_LIBRARIES:= libcutils libutils +LOCAL_MODULE_TAGS := optional +LOCAL_PRELINK_MODULE := false +include $(BUILD_SHARED_LIBRARY) + +include $(CLEAR_VARS) +LOCAL_C_INCLUDES:= $(incdir) +LOCAL_SRC_FILES:= $(utilsdir)/tinyplay.c +LOCAL_MODULE := tinyplay +LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa +LOCAL_MODULE_TAGS := optional +include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) +LOCAL_C_INCLUDES:= $(incdir) +LOCAL_SRC_FILES:= $(utilsdir)/tinycap.c +LOCAL_MODULE := tinycap +LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa +LOCAL_MODULE_TAGS := optional +include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) +LOCAL_C_INCLUDES:= $(incdir) +LOCAL_SRC_FILES:= $(utilsdir)/tinymix.c +LOCAL_MODULE := tinymix +LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa +LOCAL_MODULE_TAGS := optional +include $(BUILD_EXECUTABLE) + +include $(CLEAR_VARS) +LOCAL_C_INCLUDES:= $(incdir) +LOCAL_SRC_FILES:= $(utilsdir)/tinypcminfo.c +LOCAL_MODULE := tinypcminfo +LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa +LOCAL_MODULE_TAGS := optional +include $(BUILD_EXECUTABLE) + |