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 | |
Glenn Kasten | dc998c8 | 2012-03-23 18:53:59 -0700 | [diff] [blame] | 37 | LOCAL_SRC_FILES += StateQueue.cpp |
| 38 | |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 39 | LOCAL_C_INCLUDES := \ |
Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 40 | $(call include-path-for, audio-effects) \ |
| 41 | $(call include-path-for, audio-utils) |
Eric Laurent | 6d8b694 | 2011-06-24 07:01:31 -0700 | [diff] [blame] | 42 | |
Glenn Kasten | 2ee367e | 2012-03-19 17:36:25 -0700 | [diff] [blame] | 43 | # FIXME keep libmedia_native but remove libmedia after split |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 44 | LOCAL_SHARED_LIBRARIES := \ |
Glenn Kasten | 3b21c50 | 2011-12-15 09:52:39 -0800 | [diff] [blame] | 45 | libaudioutils \ |
John Grossman | 4ff14ba | 2012-02-08 16:37:41 -0800 | [diff] [blame] | 46 | libcommon_time_client \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 47 | libcutils \ |
| 48 | libutils \ |
| 49 | libbinder \ |
Glenn Kasten | d12c68a | 2012-03-23 14:04:27 -0700 | [diff] [blame] | 50 | libmedia \ |
Glenn Kasten | 2ee367e | 2012-03-19 17:36:25 -0700 | [diff] [blame] | 51 | libmedia_native \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 52 | libhardware \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 53 | libhardware_legacy \ |
Jeff Brown | 5e0067b | 2011-07-11 22:12:16 -0700 | [diff] [blame] | 54 | libeffects \ |
Eric Laurent | feb0db6 | 2011-07-22 09:04:31 -0700 | [diff] [blame] | 55 | libdl \ |
| 56 | libpowermanager |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 57 | |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 58 | LOCAL_STATIC_LIBRARIES := \ |
Glenn Kasten | 0106623 | 2012-02-27 11:50:44 -0800 | [diff] [blame] | 59 | libnbaio \ |
Glenn Kasten | 4d8d0c3 | 2011-07-08 15:26:12 -0700 | [diff] [blame] | 60 | libcpustats \ |
Dima Zavin | fce7a47 | 2011-04-19 22:30:36 -0700 | [diff] [blame] | 61 | libmedia_helper |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 62 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 63 | LOCAL_MODULE:= libaudioflinger |
| 64 | |
Glenn Kasten | 97b5d0d | 2012-03-23 18:54:19 -0700 | [diff] [blame] | 65 | LOCAL_SRC_FILES += FastMixer.cpp FastMixerState.cpp |
| 66 | |
Glenn Kasten | 21e8c50 | 2012-04-12 09:39:42 -0700 | [diff] [blame] | 67 | LOCAL_CFLAGS += -DFAST_MIXER_STATISTICS |
Glenn Kasten | 97b5d0d | 2012-03-23 18:54:19 -0700 | [diff] [blame] | 68 | |
| 69 | LOCAL_CFLAGS += -DSTATE_QUEUE_INSTANTIATIONS='"StateQueueInstantiations.cpp"' |
| 70 | |
Glenn Kasten | 3acbd05 | 2012-02-28 10:39:56 -0800 | [diff] [blame^] | 71 | LOCAL_CFLAGS += -UHAVE_REQUEST_PRIORITY |
| 72 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 73 | include $(BUILD_SHARED_LIBRARY) |