blob: e3b63f576b728f1fdc12032e5195eb423e90456c [file] [log] [blame]
Eric Laurentc369e052011-08-17 09:13:33 -07001LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_MODULE := libaudioutils
6LOCAL_MODULE_TAGS := optional
7
8LOCAL_SRC_FILES:= \
Paul McLeand31709d2014-07-16 13:35:52 -07009 channels.c \
Andy Hung8bfe6a42015-12-18 17:37:19 -080010 conversion.cpp \
Glenn Kasten9b4c8052015-01-06 14:13:13 -080011 fifo.c \
Glenn Kastena269f352012-01-16 13:12:57 -080012 fixedfft.cpp.arm \
Andy Hungfcad7e42014-03-06 17:36:40 -080013 format.c \
Glenn Kasten715183b2016-01-27 17:21:35 -080014 limiter.c \
Glenn Kasten2eafd4a2014-03-31 15:58:40 -070015 minifloat.c \
Glenn Kasten632e0c02011-12-16 10:42:58 -080016 primitives.c \
Eric Laurentb3184d72011-08-17 18:36:09 -070017 resampler.c \
Glenn Kasten7c957272015-01-06 11:19:48 -080018 roundup.c \
Eric Laurentb3184d72011-08-17 18:36:09 -070019 echo_reference.c
Eric Laurentc369e052011-08-17 09:13:33 -070020
21LOCAL_C_INCLUDES += $(call include-path-for, speex)
22LOCAL_C_INCLUDES += \
23 $(call include-path-for, speex) \
Glenn Kasten67d46422012-03-14 15:22:38 -070024 $(call include-path-for, audio-utils)
Eric Laurentc369e052011-08-17 09:13:33 -070025
26LOCAL_SHARED_LIBRARIES := \
Eric Laurentb3184d72011-08-17 18:36:09 -070027 libcutils \
Ying Wangba682d42013-04-09 22:04:38 -070028 liblog \
Eric Laurentb3184d72011-08-17 18:36:09 -070029 libspeexresampler
Eric Laurentc369e052011-08-17 09:13:33 -070030
Glenn Kasten1db1e782016-03-29 22:26:54 +000031LOCAL_CFLAGS := -Werror -Wall
Eric Laurentc369e052011-08-17 09:13:33 -070032include $(BUILD_SHARED_LIBRARY)
Glenn Kasten207ec292012-10-30 16:09:18 -070033
34include $(CLEAR_VARS)
Glenn Kastene252f7e2012-12-17 12:09:21 -080035LOCAL_MODULE := libaudioutils
36LOCAL_MODULE_TAGS := optional
37LOCAL_SRC_FILES := \
Paul McLeand31709d2014-07-16 13:35:52 -070038 channels.c \
Glenn Kasten4504b332015-01-13 17:04:09 -080039 fifo.c \
Andy Hungfcad7e42014-03-06 17:36:40 -080040 format.c \
Glenn Kasten715183b2016-01-27 17:21:35 -080041 limiter.c \
Glenn Kasten2eafd4a2014-03-31 15:58:40 -070042 minifloat.c \
Glenn Kasten4504b332015-01-13 17:04:09 -080043 primitives.c \
44 roundup.c
Glenn Kastene252f7e2012-12-17 12:09:21 -080045LOCAL_C_INCLUDES += \
46 $(call include-path-for, audio-utils)
Glenn Kasten1db1e782016-03-29 22:26:54 +000047LOCAL_CFLAGS := -Werror -Wall
48LOCAL_CFLAGS += -D__unused='__attribute__((unused))'
Glenn Kastene252f7e2012-12-17 12:09:21 -080049include $(BUILD_HOST_STATIC_LIBRARY)
50
51include $(CLEAR_VARS)
Glenn Kasten207ec292012-10-30 16:09:18 -070052
53LOCAL_MODULE := libsndfile
54LOCAL_MODULE_TAGS := optional
55
56LOCAL_SRC_FILES := \
57 tinysndfile.c
58
59LOCAL_C_INCLUDES += \
60 $(call include-path-for, audio-utils)
61
Glenn Kasten1db1e782016-03-29 22:26:54 +000062LOCAL_CFLAGS := -Werror -Wall
63LOCAL_CFLAGS += -UHAVE_STDERR
Glenn Kasten36c248b2012-11-12 14:42:31 -080064
Glenn Kasten207ec292012-10-30 16:09:18 -070065include $(BUILD_STATIC_LIBRARY)
Glenn Kastene252f7e2012-12-17 12:09:21 -080066
67include $(CLEAR_VARS)
68
69LOCAL_MODULE := libsndfile
70LOCAL_MODULE_TAGS := optional
71
72LOCAL_SRC_FILES := \
73 tinysndfile.c
74
75LOCAL_C_INCLUDES += \
76 $(call include-path-for, audio-utils)
77
78#LOCAL_SHARED_LIBRARIES := libaudioutils
79
Glenn Kasten1db1e782016-03-29 22:26:54 +000080LOCAL_CFLAGS := -Werror -Wall
81
Glenn Kastene252f7e2012-12-17 12:09:21 -080082include $(BUILD_HOST_STATIC_LIBRARY)
Phil Burk81a6bcd2014-08-11 11:46:45 -070083
Glenn Kasten78437bc2015-04-01 11:10:07 -070084include $(CLEAR_VARS)
85
86LOCAL_MODULE := libfifo
87LOCAL_MODULE_TAGS := optional
88
89LOCAL_SRC_FILES := \
90 fifo.c \
91 primitives.c \
92 roundup.c
93
94LOCAL_C_INCLUDES += \
95 $(call include-path-for, audio-utils)
96
Glenn Kasten1db1e782016-03-29 22:26:54 +000097LOCAL_CFLAGS := -Werror -Wall
98
Glenn Kasten78437bc2015-04-01 11:10:07 -070099include $(BUILD_STATIC_LIBRARY)
100
Phil Burk81a6bcd2014-08-11 11:46:45 -0700101include $(call all-makefiles-under,$(LOCAL_PATH))
102