Android.mk revision 81784c37c61b09289654b979567a42bf73cd2b12
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 \ 2593d0767a8a9ee9d649eea9afac59f778e29a6a54Mathias Agopian AudioResamplerCubic.cpp.arm \ 2676b111685010e1fea7c0a865c038aee35507fde4SathishKumar Mani AudioResamplerSinc.cpp.arm 27ac6020508acedd316391dee42329040bf45f8d90Glenn Kasten 28dc998c809e084b617990b281e2ed5271830cc2e0Glenn KastenLOCAL_SRC_FILES += StateQueue.cpp 29dc998c809e084b617990b281e2ed5271830cc2e0Glenn Kasten 30399930859a75d806ce0ef124ac22025ae4ef0549Glenn Kasten# uncomment for debugging timing problems related to StateQueue::push() 31399930859a75d806ce0ef124ac22025ae4ef0549Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_DUMP 32399930859a75d806ce0ef124ac22025ae4ef0549Glenn Kasten 336d8b694d999e9be7d5dcc336535832a80fb6f61fEric LaurentLOCAL_C_INCLUDES := \ 3433b383948e8f270bff30378476f00dce289004ebGlenn Kasten $(call include-path-for, audio-effects) \ 3533b383948e8f270bff30378476f00dce289004ebGlenn Kasten $(call include-path-for, audio-utils) 366d8b694d999e9be7d5dcc336535832a80fb6f61fEric Laurent 3765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SHARED_LIBRARIES := \ 383b21c50ef95fe4e7ac3426ca14b365749e66ff08Glenn Kasten libaudioutils \ 394ff14bae91075eb274eb1c2975982358946e7e63John Grossman libcommon_time_client \ 4065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libcutils \ 4165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libutils \ 4265ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libbinder \ 43d12c68ad699ce0ed822a4d4db86e8e02324c6b03Glenn Kasten libmedia \ 442dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0Glenn Kasten libnbaio \ 45fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin libhardware \ 4665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian libhardware_legacy \ 475e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown libeffects \ 48feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent libdl \ 49feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent libpowermanager 5065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 51fce7a473248381cc83a01855f92581077d3c9ee2Dima ZavinLOCAL_STATIC_LIBRARIES := \ 521dc28b794587be22c90a97070d928f94586db638Glenn Kasten libscheduling_policy \ 534d8d0c30abfa4b8d75866d42094cc797e05068faGlenn Kasten libcpustats \ 54fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin libmedia_helper 5565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 5665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_MODULE:= libaudioflinger 5765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian 5897b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp 5997b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 6021e8c50bd13ebe44f3088e26c9c6df0e163c469cGlenn KastenLOCAL_CFLAGS += -DFAST_MIXER_STATISTICS 6197b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 620a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten# uncomment to display CPU load adjusted for CPU frequency 630a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten# LOCAL_CFLAGS += -DCPU_FREQUENCY_STATISTICS 640a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten 6597b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' 6697b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten 67c1dae24a08b67b98e18e4239d4f3a74d600d353cGlenn KastenLOCAL_CFLAGS += -UFAST_TRACKS_AT_NON_NATIVE_SAMPLE_RATE 683acbd053c842e76e1a40fc8a0bf62de87eebf00fGlenn Kasten 6999c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten# uncomment for systrace 7099c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten# LOCAL_CFLAGS += -DATRACE_TAG=ATRACE_TAG_AUDIO 7199c99d00beb43b939dedc9ffb07adb89f6a85ba5Glenn Kasten 72fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# uncomment for dumpsys to write most recent audio output to .wav file 73fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# 47.5 seconds at 44.1 kHz, 8 megabytes 74fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten# LOCAL_CFLAGS += -DTEE_SINK_FRAMES=0x200000 75fbae5dae5187aca9d974cbe15ec818e9c6f56705Glenn Kasten 76d06785bebf7e43d4a011b62a252771373ada910cGlenn Kasten# uncomment for dumpsys to write most recent audio input to .wav file 77d06785bebf7e43d4a011b62a252771373ada910cGlenn Kasten# 47.5 seconds at 44.1 kHz, 8 megabytes 78d06785bebf7e43d4a011b62a252771373ada910cGlenn Kasten# LOCAL_CFLAGS += -DTEE_SINK_INPUT_FRAMES=0x200000 79d06785bebf7e43d4a011b62a252771373ada910cGlenn Kasten 80c15d6657a17d7cef91f800f40d11760e2e7340afGlenn Kasten# uncomment to enable the audio watchdog 81087dd8e7232e4c009e9121ab7e8c37985522c9adGlenn Kasten# LOCAL_SRC_FILES += AudioWatchdog.cpp 82087dd8e7232e4c009e9121ab7e8c37985522c9adGlenn Kasten# LOCAL_CFLAGS += -DAUDIO_WATCHDOG 83c15d6657a17d7cef91f800f40d11760e2e7340afGlenn Kasten 8465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(BUILD_SHARED_LIBRARY) 85c8823995d16b909fae30ff4f94217e875d3e8c8aty.lee 860fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian# 870fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian# build audio resampler test tool 880fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian# 890fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(CLEAR_VARS) 900fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 910fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SRC_FILES:= \ 920fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian test-resample.cpp \ 930fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian AudioResampler.cpp.arm \ 940fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian AudioResamplerCubic.cpp.arm \ 950fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian AudioResamplerSinc.cpp.arm 960fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 970fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SHARED_LIBRARIES := \ 980fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian libdl \ 990fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian libcutils \ 1000fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian libutils 1010fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 1020fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE:= test-resample 1030fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 1040fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE_TAGS := optional 1050fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 1060fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(BUILD_EXECUTABLE) 1070fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 1080fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian 109c8823995d16b909fae30ff4f94217e875d3e8c8aty.leeinclude $(call all-makefiles-under,$(LOCAL_PATH)) 110