Android.mk revision 2dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0
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 \ 1865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian AudioMixer.cpp.arm \ 1965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian AudioResampler.cpp.arm \ 2044deb053252a3bd2f57a007ab9560f4924f62394Glenn Kasten AudioPolicyService.cpp \ 2144deb053252a3bd2f57a007ab9560f4924f62394Glenn Kasten ServiceUtilities.cpp 22cdf2158f3b9498d6cd0eb228d8bee16e32399e16Glenn Kasten# AudioResamplerSinc.cpp.arm 23cdf2158f3b9498d6cd0eb228d8bee16e32399e16Glenn Kasten# AudioResamplerCubic.cpp.arm 2465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 25dc998c809e084b617990b281e2ed5271830cc2e0Glenn KastenLOCAL_SRC_FILES += StateQueue.cpp 26dc998c809e084b617990b281e2ed5271830cc2e0Glenn Kasten 27399930859a75d806ce0ef124ac22025ae4ef0549Glenn Kasten# uncomment for debugging timing problems related to StateQueue::push() 28399930859a75d806ce0ef124ac22025ae4ef0549Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_DUMP 29399930859a75d806ce0ef124ac22025ae4ef0549Glenn Kasten 306d8b694d999e9be7d5dcc336535832a80fb6f61fEric LaurentLOCAL_C_INCLUDES := \ 3133b383948e8f270bff30378476f00dce289004ebGlenn Kasten $(call include-path-for, audio-effects) \ 3233b383948e8f270bff30378476f00dce289004ebGlenn Kasten $(call include-path-for, audio-utils) 336d8b694d999e9be7d5dcc336535832a80fb6f61fEric Laurent 342ee367e444e7b62e02bde8a2e47603a9ad342c6eGlenn Kasten# FIXME keep libmedia_native but remove libmedia after split 3565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SHARED_LIBRARIES := \ 363b21c50ef95fe4e7ac3426ca14b365749e66ff08Glenn Kasten libaudioutils \ 374ff14bae91075eb274eb1c2975982358946e7e63John Grossman libcommon_time_client \ 3865ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libcutils \ 3965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libutils \ 4065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libbinder \ 41d12c68ad699ce0ed822a4d4db86e8e02324c6b03Glenn Kasten libmedia \ 422ee367e444e7b62e02bde8a2e47603a9ad342c6eGlenn Kasten libmedia_native \ 432dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0Glenn Kasten libnbaio \ 44fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin libhardware \ 4565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libhardware_legacy \ 465e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown libeffects \ 47feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent libdl \ 48feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent libpowermanager 4965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 50fce7a473248381cc83a01855f92581077d3c9ee2Dima ZavinLOCAL_STATIC_LIBRARIES := \ 511dc28b794587be22c90a97070d928f94586db638Glenn Kasten libscheduling_policy \ 524d8d0c30abfa4b8d75866d42094cc797e05068faGlenn Kasten libcpustats \ 53fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin libmedia_helper 5465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 5565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_MODULE:= libaudioflinger 5665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 5797b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp 5897b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 5921e8c50bd13ebe44f3088e26c9c6df0e163c469cGlenn KastenLOCAL_CFLAGS += -DFAST_MIXER_STATISTICS 6097b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 610a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten# uncomment to display CPU load adjusted for CPU frequency 620a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten# LOCAL_CFLAGS += -DCPU_FREQUENCY_STATISTICS 630a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten 6497b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' 6597b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 66c1dae24a08b67b98e18e4239d4f3a74d600d353cGlenn KastenLOCAL_CFLAGS += -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE 673acbd053c842e76e1a40fc8a0bf62de87eebf00fGlenn Kasten 6899c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten# uncomment for systrace 6999c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten# LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_AUDIO 7099c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten 71fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# uncomment for dumpsys to write most recent audio output to .wav file 72fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# 47.5 seconds at 44.1 kHz, 8 megabytes 73fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# LOCAL_CFLAGS += -DTEE_SINK_FRAMES=0x200000 74fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten 75c15d6657a17d7cef91f800f40d11760e2e7340afGlenn Kasten# uncomment to enable the audio watchdog 76c15d6657a17d7cef91f800f40d11760e2e7340afGlenn KastenLOCAL_SRC_FILES += AudioWatchdog.cpp 77c15d6657a17d7cef91f800f40d11760e2e7340afGlenn KastenLOCAL_CFLAGS += -DAUDIO_WATCHDOG 78c15d6657a17d7cef91f800f40d11760e2e7340afGlenn Kasten 7965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(BUILD_SHARED_LIBRARY) 80