Android.mk revision dc998c809e084b617990b281e2ed5271830cc2e0
165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_PATH:= $(call my-dir)
265ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(CLEAR_VARS)
465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
5010662326b9c43c703725f933e95e0897f8a6bddGlenn KastenLOCAL_SRC_FILES := \
6010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    AudioBufferProviderSource.cpp   \
7010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    AudioStreamOutSink.cpp          \
8010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    AudioStreamInSource.cpp         \
9010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    NBAIO.cpp                       \
10010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    MonoPipe.cpp                    \
11010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    MonoPipeReader.cpp              \
12010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    Pipe.cpp                        \
13010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    PipeReader.cpp                  \
14010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    roundup.c                       \
15010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    SourceAudioBufferProvider.cpp
16010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten
17010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten# libsndfile license is incompatible; uncomment to use for local debug only
18010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten#LOCAL_SRC_FILES += LibsndfileSink.cpp LibsndfileSource.cpp
19010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten#LOCAL_C_INCLUDES += path/to/libsndfile/src
20010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten#LOCAL_STATIC_LIBRARIES += libsndfile
21010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten
22010662326b9c43c703725f933e95e0897f8a6bddGlenn KastenLOCAL_MODULE := libnbaio
23010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten
24010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasteninclude $(BUILD_STATIC_LIBRARY)
25010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten
26010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasteninclude $(CLEAR_VARS)
27010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten
2865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SRC_FILES:=               \
2965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioFlinger.cpp            \
3065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioMixer.cpp.arm          \
3165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioResampler.cpp.arm      \
3244deb053252a3bd2f57a007ab9560f4924f62394Glenn Kasten    AudioPolicyService.cpp      \
3344deb053252a3bd2f57a007ab9560f4924f62394Glenn Kasten    ServiceUtilities.cpp
34cdf2158f3b9498d6cd0eb228d8bee16e32399e16Glenn Kasten#   AudioResamplerSinc.cpp.arm
35cdf2158f3b9498d6cd0eb228d8bee16e32399e16Glenn Kasten#   AudioResamplerCubic.cpp.arm
3665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
37dc998c809e084b617990b281e2ed5271830cc2e0Glenn KastenLOCAL_SRC_FILES += StateQueue.cpp
38dc998c809e084b617990b281e2ed5271830cc2e0Glenn Kasten
396d8b694d999e9be7d5dcc336535832a80fb6f61fEric LaurentLOCAL_C_INCLUDES := \
4033b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-effects) \
4133b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-utils)
426d8b694d999e9be7d5dcc336535832a80fb6f61fEric Laurent
432ee367e444e7b62e02bde8a2e47603a9ad342c6eGlenn Kasten# FIXME keep libmedia_native but remove libmedia after split
4465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SHARED_LIBRARIES := \
453b21c50ef95fe4e7ac3426ca14b365749e66ff08Glenn Kasten    libaudioutils \
464ff14bae91075eb274eb1c2975982358946e7e63John Grossman    libcommon_time_client \
4765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libcutils \
4865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libutils \
4965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libbinder \
50d12c68ad699ce0ed822a4d4db86e8e02324c6b03Glenn Kasten    libmedia \
512ee367e444e7b62e02bde8a2e47603a9ad342c6eGlenn Kasten    libmedia_native \
52fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin    libhardware \
5365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libhardware_legacy \
545e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown    libeffects \
55feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent    libdl \
56feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent    libpowermanager
5765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
58fce7a473248381cc83a01855f92581077d3c9ee2Dima ZavinLOCAL_STATIC_LIBRARIES := \
59010662326b9c43c703725f933e95e0897f8a6bddGlenn Kasten    libnbaio \
604d8d0c30abfa4b8d75866d42094cc797e05068faGlenn Kasten    libcpustats \
61fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin    libmedia_helper
6265ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
6365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_MODULE:= libaudioflinger
6465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
6565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(BUILD_SHARED_LIBRARY)
66