Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 3 | include $(CLEAR_VARS) |
| 4 | |
Glenn Kasten | 0106623 | 2012-02-27 11:50:44 -0800 | [diff] [blame^] | 5 | LOCAL_SRC_FILES := \ |
| 6 | AudioBufferProviderSource.cpp \ |
| 7 | AudioStreamOutSink.cpp \ |
| 8 | AudioStreamInSource.cpp \ |
| 9 | NBAIO.cpp \ |
| 10 | MonoPipe.cpp \ |
| 11 | MonoPipeReader.cpp \ |
| 12 | Pipe.cpp \ |
| 13 | PipeReader.cpp \ |
| 14 | roundup.c \ |
| 15 | SourceAudioBufferProvider.cpp |
| 16 | |
| 17 | # libsndfile license is incompatible; uncomment to use for local debug only |
| 18 | #LOCAL_SRC_FILES += LibsndfileSink.cpp LibsndfileSource.cpp |
| 19 | #LOCAL_C_INCLUDES += path/to/libsndfile/src |
| 20 | #LOCAL_STATIC_LIBRARIES += libsndfile |
| 21 | |
| 22 | LOCAL_MODULE := libnbaio |
| 23 | |
| 24 | include $(BUILD_STATIC_LIBRARY) |
| 25 | |
| 26 | include $(CLEAR_VARS) |
| 27 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 28 | LOCAL_SRC_FILES:= \ |
| 29 | AudioFlinger.cpp \ |
| 30 | AudioMixer.cpp.arm \ |
| 31 | AudioResampler.cpp.arm \ |
Glenn Kasten | 44deb05 | 2012-02-05 18:09:08 -0800 | [diff] [blame] | 32 | AudioPolicyService.cpp \ |
| 33 | ServiceUtilities.cpp |
Glenn Kasten | cdf2158 | 2012-02-02 14:01:58 -0800 | [diff] [blame] | 34 | # AudioResamplerSinc.cpp.arm |
| 35 | # AudioResamplerCubic.cpp.arm |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 36 | |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 37 | LOCAL_C_INCLUDES := \ |
Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 38 | $(call include-path-for, audio-effects) \ |
| 39 | $(call include-path-for, audio-utils) |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 40 | |
Glenn Kasten | 2ee367e | 2012-03-19 17:36:25 -0700 | [diff] [blame] | 41 | # FIXME keep libmedia_native but remove libmedia after split |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 42 | LOCAL_SHARED_LIBRARIES := \ |
Glenn Kasten | 3b21c50 | 2011-12-15 09:52:39 -0800 | [diff] [blame] | 43 | libaudioutils \ |
John Grossman | 4ff14ba | 2012-02-08 16:37:41 -0800 | [diff] [blame] | 44 | libcommon_time_client \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 45 | libcutils \ |
| 46 | libutils \ |
| 47 | libbinder \ |
Glenn Kasten | d12c68a | 2012-03-23 14:04:27 -0700 | [diff] [blame] | 48 | libmedia \ |
Glenn Kasten | 2ee367e | 2012-03-19 17:36:25 -0700 | [diff] [blame] | 49 | libmedia_native \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 50 | libhardware \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 51 | libhardware_legacy \ |
Jeff Brown | 5e0067b | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 52 | libeffects \ |
Eric Laurent | feb0db6 | 2011-07-22 09:04:31 -0700 | [diff] [blame] | 53 | libdl \ |
| 54 | libpowermanager |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 55 | |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 56 | LOCAL_STATIC_LIBRARIES := \ |
Glenn Kasten | 0106623 | 2012-02-27 11:50:44 -0800 | [diff] [blame^] | 57 | libnbaio \ |
Glenn Kasten | 4d8d0c3 | 2011-07-08 15:26:12 -0700 | [diff] [blame] | 58 | libcpustats \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 59 | libmedia_helper |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 60 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 61 | LOCAL_MODULE:= libaudioflinger |
| 62 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 63 | include $(BUILD_SHARED_LIBRARY) |