Android.mk revision f91df1b368a140abd37c80b204bd48d78778cc43
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
16c7e5040aa8b8e4da86814bf560346c7571e48087Eric LaurentLOCAL_SRC_FILES := \
17c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent    ServiceUtilities.cpp
18c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent
19c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent# FIXME Move this library to frameworks/native
20c7e5040aa8b8e4da86814bf560346c7571e48087Eric LaurentLOCAL_MODULE := libserviceutility
21c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent
22c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurentinclude $(BUILD_STATIC_LIBRARY)
23c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent
24c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurentinclude $(CLEAR_VARS)
25c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent
2665ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SRC_FILES:=               \
2765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioFlinger.cpp            \
2881784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Threads.cpp                 \
2981784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Tracks.cpp                  \
3081784c37c61b09289654b979567a42bf73cd2b12Eric Laurent    Effects.cpp                 \
3165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    AudioMixer.cpp.arm          \
32ac6020508acedd316391dee42329040bf45f8d90Glenn Kasten
33dc998c809e084b617990b281e2ed5271830cc2e0Glenn KastenLOCAL_SRC_FILES += StateQueue.cpp
34dc998c809e084b617990b281e2ed5271830cc2e0Glenn Kasten
356d8b694d999e9be7d5dcc336535832a80fb6f61fEric LaurentLOCAL_C_INCLUDES := \
36c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent    $(TOPDIR)frameworks/av/services/audiopolicy \
3733b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-effects) \
3833b383948e8f270bff30378476f00dce289004ebGlenn Kasten    $(call include-path-for, audio-utils)
396d8b694d999e9be7d5dcc336535832a80fb6f61fEric Laurent
4065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_SHARED_LIBRARIES := \
41ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    libaudioresampler \
423b21c50ef95fe4e7ac3426ca14b365749e66ff08Glenn Kasten    libaudioutils \
434ff14bae91075eb274eb1c2975982358946e7e63John Grossman    libcommon_time_client \
4465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libcutils \
4565ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libutils \
46da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog \
4765ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libbinder \
48d12c68ad699ce0ed822a4d4db86e8e02324c6b03Glenn Kasten    libmedia \
492dd4bdd715f586d4d30cf90cc6fc2bbfbce60fe0Glenn Kasten    libnbaio \
50fce7a473248381cc83a01855f92581077d3c9ee2Dima Zavin    libhardware \
5165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian    libhardware_legacy \
525e0067b486c3862316aa1f293cf9690c0cf54bdaJeff Brown    libeffects \
53feb0db689c17dced50afaee54c659f1676e2d505Eric Laurent    libpowermanager
5465ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
55fce7a473248381cc83a01855f92581077d3c9ee2Dima ZavinLOCAL_STATIC_LIBRARIES := \
561dc28b794587be22c90a97070d928f94586db638Glenn Kasten    libscheduling_policy \
574d8d0c30abfa4b8d75866d42094cc797e05068faGlenn Kasten    libcpustats \
58c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent    libmedia_helper \
59c7e5040aa8b8e4da86814bf560346c7571e48087Eric Laurent    libserviceutility
6065ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
6165ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias AgopianLOCAL_MODULE:= libaudioflinger
62af783aa91f7a279153fb8bab8d0d6b9f737996e9Glenn KastenLOCAL_32_BIT_ONLY := true
6365ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopian
642234002b0710c8db73f82d397cb945cd541c6bbbGlenn KastenLOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp AudioWatchdog.cpp
652234002b0710c8db73f82d397cb945cd541c6bbbGlenn KastenLOCAL_SRC_FILES += FastThread.cpp FastThreadState.cpp
66f91df1b368a140abd37c80b204bd48d78778cc43Glenn KastenLOCAL_SRC_FILES += FastCapture.cpp FastCaptureState.cpp
670a14c4ce1a41bc09eb7855fa531a3af629a69139Glenn Kasten
6897b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn KastenLOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"'
6997b5d0d5b5ef766eb5dd680d05a5d199662d4ae0Glenn Kasten
70b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray# Define ANDROID_SMP appropriately. Used to get inline tracing fast-path.
71b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayifeq ($(TARGET_CPU_SMP),true)
72b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray    LOCAL_CFLAGS += -DANDROID_SMP=1
73b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayelse
74b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray    LOCAL_CFLAGS += -DANDROID_SMP=0
75b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Rayendif
76b3a8364eeea621ef63b983e4c1b0771f62069fe0Alex Ray
77e762be91c3280d837b1d48455cba90459ced7511Mathias AgopianLOCAL_CFLAGS += -fvisibility=hidden
78e762be91c3280d837b1d48455cba90459ced7511Mathias Agopian
7965ab47156e1c7dfcd8cc4266253a5ff30219e7f0Mathias Agopianinclude $(BUILD_SHARED_LIBRARY)
80c8823995d16b909fae30ff4f94217e875d3e8c8aty.lee
810fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian#
820fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian# build audio resampler test tool
830fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian#
840fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(CLEAR_VARS)
850fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
860fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SRC_FILES:=               \
8786eae0e5931103e040ac2cdd023ef5db252e09f6Andy Hung    test-resample.cpp           \
880fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
89f5293648b727fb3909cd2300a73377f032f8b050Glenn KastenLOCAL_C_INCLUDES := \
90f5293648b727fb3909cd2300a73377f032f8b050Glenn Kasten    $(call include-path-for, audio-utils)
91f5293648b727fb3909cd2300a73377f032f8b050Glenn Kasten
92f5293648b727fb3909cd2300a73377f032f8b050Glenn KastenLOCAL_STATIC_LIBRARIES := \
93f5293648b727fb3909cd2300a73377f032f8b050Glenn Kasten    libsndfile
94f5293648b727fb3909cd2300a73377f032f8b050Glenn Kasten
950fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_SHARED_LIBRARIES := \
96ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    libaudioresampler \
97f5293648b727fb3909cd2300a73377f032f8b050Glenn Kasten    libaudioutils \
98da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    libdl \
990fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian    libcutils \
100da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    libutils \
101da0dc0af0effe9fbfb3ce3187c8472fca2baf3c6Ying Wang    liblog
1020fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
1030fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE:= test-resample
1040fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
1050fc2cb59d5f77412f5922540d67fea81f4d1744bMathias AgopianLOCAL_MODULE_TAGS := optional
1060fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
1070fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopianinclude $(BUILD_EXECUTABLE)
1080fc2cb59d5f77412f5922540d67fea81f4d1744bMathias Agopian
109ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasteninclude $(CLEAR_VARS)
110ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten
111ddf887c08b58382920effb7f0b2049e471960b4aGlenn KastenLOCAL_SRC_FILES:= \
112ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    AudioResampler.cpp.arm \
113ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    AudioResamplerCubic.cpp.arm \
11446d1b4ab7e83c677532587c7c8bd46eb8b30fc67Glenn Kasten    AudioResamplerSinc.cpp.arm \
11546d1b4ab7e83c677532587c7c8bd46eb8b30fc67Glenn Kasten    AudioResamplerDyn.cpp.arm
116ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten
117ddf887c08b58382920effb7f0b2049e471960b4aGlenn KastenLOCAL_SHARED_LIBRARIES := \
118ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    libcutils \
119ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    libdl \
120ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten    liblog
121ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten
122ddf887c08b58382920effb7f0b2049e471960b4aGlenn KastenLOCAL_MODULE := libaudioresampler
123ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten
124ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasteninclude $(BUILD_SHARED_LIBRARY)
125ddf887c08b58382920effb7f0b2049e471960b4aGlenn Kasten
126c8823995d16b909fae30ff4f94217e875d3e8c8aty.leeinclude $(call all-makefiles-under,$(LOCAL_PATH))
127