mirror of
https://github.com/openharmony/third_party_tinyalsa.git
synced 2026-07-21 03:05:31 -04:00
99089d75f2
Support building out of the box on Android releases that don't have this library in their prelink map.
39 lines
1000 B
Makefile
39 lines
1000 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_C_INCLUDES:= external/tinyalsa/include
|
|
LOCAL_SRC_FILES:= mixer.c 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:= external/tinyalsa/include
|
|
LOCAL_SRC_FILES:= tinyplay.c
|
|
LOCAL_MODULE := tinyplay
|
|
LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_C_INCLUDES:= external/tinyalsa/include
|
|
LOCAL_SRC_FILES:= tinycap.c
|
|
LOCAL_MODULE := tinycap
|
|
LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_C_INCLUDES:= external/tinyalsa/include
|
|
LOCAL_SRC_FILES:= tinymix.c
|
|
LOCAL_MODULE := tinymix
|
|
LOCAL_SHARED_LIBRARIES:= libcutils libutils libtinyalsa
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(BUILD_EXECUTABLE)
|