Android.mk revision 153b9fe667e6e78e0218ff0159353097428c7657
165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_PATH:= $(call my-dir)
265ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(CLEAR_VARS)
465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
5010662326b9c43c703725f933e95e0897f8a6bddGlenn KastenLOCAL_SRC_FILES := \
61dc28b794587be22c90a97070d928f94586db638Glenn Kasten    ISchedulingPolicyService.cpp \
71dc28b794587be22c90a97070d928f94586db638Glenn Kasten    SchedulingPolicyService.cpp
81dc28b794587be22c90a97070d928f94586db638Glenn Kasten
91dc28b794587be22c90a97070d928f94586db638Glenn Kasten# FIXME Move this library to frameworks/native
101dc28b794587be22c90a97070d928f94586db638Glenn KastenLOCAL_MODULE := libscheduling_policy
111dc28b794587be22c90a97070d928f94586db638Glenn Kasten
121dc28b794587be22c90a97070d928f94586db638Glenn Kasteninclude $(BUILD_STATIC_LIBRARY)
131dc28b794587be22c90a97070d928f94586db638Glenn Kasten
141dc28b794587be22c90a97070d928f94586db638Glenn Kasteninclude $(CLEAR_VARS)
151dc28b794587be22c90a97070d928f94586db638Glenn Kasten
1665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SRC_FILES:=               \
1765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioFlinger.cpp            \
1881784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Threads.cpp                 \
1981784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Tracks.cpp                  \
2081784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Effects.cpp                 \
2165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioMixer.cpp.arm          \
2265ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioResampler.cpp.arm      \
2344deb053252a3bd2f57a007ab9560f4924f62394Glenn Kasten    AudioPolicyService.cpp      \
2476b111685010e1fea7c0a865c038aee35507fde4SathishKumar Mani    ServiceUtilities.cpp        \
25da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    AudioResamplerCubic.cpp.arm \
2676b111685010e1fea7c0a865c038aee35507fde4SathishKumar Mani    AudioResamplerSinc.cpp.arm
27ac6020508acedd316391dee42329040bf45f8d90Glenn Kasten
28dc998c809e084b617990b281e2ed5271830cc2e0Glenn KastenLOCAL_SRC_FILES += StateQueue.cpp
29dc998c809e084b617990b281e2ed5271830cc2e0Glenn Kasten
306d8b694d999e9be7d5dcc336535832a80fb6f61fEric LaurentLOCAL_C_INCLUDES := \
3133b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-effects) \
3233b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-utils)
336d8b694d999e9be7d5dcc336535832a80fb6f61fEric Laurent
3465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SHARED_LIBRARIES := \
353b21c50ef95fe4e7ac3426ca14b365749e66ff08Glenn Kasten    libaudioutils \
364ff14bae91075eb274eb1c2975982358946e7e63John Grossman    libcommon_time_client \
3765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libcutils \
3865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libutils \
39da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog \
4065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libbinder \
41d12c68ad699ce0ed822a4d4db86e8e02324c6b03Glenn Kasten    libmedia \
422dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0Glenn Kasten    libnbaio \
43fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin    libhardware \
4465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libhardware_legacy \
455e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown    libeffects \
46feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent    libdl \
47feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent    libpowermanager
4865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
49fce7a473248381cc83a01855f92581077d3c9ee2Dima ZavinLOCAL_STATIC_LIBRARIES := \
501dc28b794587be22c90a97070d928f94586db638Glenn Kasten    libscheduling_policy \
514d8d0c30abfa4b8d75866d42094cc797e05068faGlenn Kasten    libcpustats \
52fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin    libmedia_helper
5365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
5465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_MODULE:= libaudioflinger
5565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
56153b9fe667e6e78e0218ff0159353097428c7657Glenn KastenLOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp AudioWatchdog.cpp
570a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten
5897b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
5997b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten
60b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray# Define ANDROID_SMP appropriately. Used to get inline tracing fast-path.
61b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayifeq ($(TARGET_CPU_SMP),true)
62b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray    LOCAL_CFLAGS += -DANDROID_SMP=1
63b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayelse
64b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray    LOCAL_CFLAGS += -DANDROID_SMP=0
65b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayendif
66b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray
67e762be91c3280d837b1d48455cba90459ced7511Mathias AgopianLOCAL_CFLAGS += -fvisibility=hidden
68e762be91c3280d837b1d48455cba90459ced7511Mathias Agopian
6965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(BUILD_SHARED_LIBRARY)
70c8823995d16b909fae30ff4f94217e875d3e8c8aty.lee
710fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian#
720fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian# build audio resampler test tool
730fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian#
740fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(CLEAR_VARS)
750fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
760fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SRC_FILES:=               \
770fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian	test-resample.cpp 			\
780fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian    AudioResampler.cpp.arm      \
790fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian	AudioResamplerCubic.cpp.arm \
800fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian    AudioResamplerSinc.cpp.arm
810fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
820fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SHARED_LIBRARIES := \
83da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    libdl \
840fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian    libcutils \
85da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    libutils \
86da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog
870fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
880fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE:= test-resample
890fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
900fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE_TAGS := optional
910fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
920fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(BUILD_EXECUTABLE)
930fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
94c8823995d16b909fae30ff4f94217e875d3e8c8aty.leeinclude $(call all-makefiles-under,$(LOCAL_PATH))
95