| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| Dima Zavin | db5cb14 | 2011-04-19 22:20:55 -0700 | [diff] [blame] | 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | |
| 5 | LOCAL_SRC_FILES:= \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 6 | AudioParameter.cpp |
| 7 | LOCAL_MODULE:= libmedia_helper |
| 8 | LOCAL_MODULE_TAGS := optional |
| 9 | |
| 10 | include $(BUILD_STATIC_LIBRARY) |
| 11 | |
| 12 | include $(CLEAR_VARS) |
| 13 | |
| Alok Kediya | 601e9b5 | 2013-09-27 11:55:10 +0530 | [diff] [blame] | 14 | LOCAL_SRC_FILES:= AudioParameter.cpp |
| 15 | LOCAL_MODULE:= libaudioparameter |
| 16 | LOCAL_MODULE_TAGS := optional |
| 17 | LOCAL_SHARED_LIBRARIES := libutils libcutils |
| 18 | |
| 19 | include $(BUILD_SHARED_LIBRARY) |
| 20 | |
| 21 | include $(CLEAR_VARS) |
| 22 | |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 23 | LOCAL_SRC_FILES:= \ |
| 24 | AudioTrack.cpp \ |
| Glenn Kasten | a8190fc | 2012-12-03 17:06:56 -0800 | [diff] [blame] | 25 | AudioTrackShared.cpp \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 26 | IAudioFlinger.cpp \ |
| 27 | IAudioFlingerClient.cpp \ |
| 28 | IAudioTrack.cpp \ |
| 29 | IAudioRecord.cpp \ |
| Andreas Huber | ed3e3e0 | 2012-03-26 11:13:27 -0700 | [diff] [blame] | 30 | ICrypto.cpp \ |
| Jeff Tinker | 441a78d | 2013-02-08 10:18:35 -0800 | [diff] [blame] | 31 | IDrm.cpp \ |
| Jeff Tinker | c0d5f1f | 2013-04-02 13:08:05 -0700 | [diff] [blame] | 32 | IDrmClient.cpp \ |
| Andreas Huber | 1b19c9d | 2012-08-29 11:34:22 -0700 | [diff] [blame] | 33 | IHDCP.cpp \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 34 | AudioRecord.cpp \ |
| 35 | AudioSystem.cpp \ |
| 36 | mediaplayer.cpp \ |
| Glenn Kasten | 6f1c191 | 2013-01-18 15:31:41 -0800 | [diff] [blame] | 37 | IMediaLogService.cpp \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 38 | IMediaPlayerService.cpp \ |
| 39 | IMediaPlayerClient.cpp \ |
| 40 | IMediaRecorderClient.cpp \ |
| 41 | IMediaPlayer.cpp \ |
| 42 | IMediaRecorder.cpp \ |
| Jeff Brown | e104596 | 2012-09-04 21:38:42 -0700 | [diff] [blame] | 43 | IRemoteDisplay.cpp \ |
| 44 | IRemoteDisplayClient.cpp \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 45 | IStreamSource.cpp \ |
| 46 | Metadata.cpp \ |
| 47 | mediarecorder.cpp \ |
| 48 | IMediaMetadataRetriever.cpp \ |
| 49 | mediametadataretriever.cpp \ |
| 50 | ToneGenerator.cpp \ |
| 51 | JetPlayer.cpp \ |
| 52 | IOMX.cpp \ |
| 53 | IAudioPolicyService.cpp \ |
| 54 | MediaScanner.cpp \ |
| 55 | MediaScannerClient.cpp \ |
| James Dong | dd172fc | 2010-01-15 18:13:58 -0800 | [diff] [blame] | 56 | autodetect.cpp \ |
| James Dong | 1d7491b | 2010-01-19 17:45:38 -0800 | [diff] [blame] | 57 | IMediaDeathNotifier.cpp \ |
| Eric Laurent | d71a1be | 2010-05-21 07:47:50 -0700 | [diff] [blame] | 58 | MediaProfiles.cpp \ |
| Glenn Kasten | 78b5e82 | 2012-03-23 14:05:52 -0700 | [diff] [blame] | 59 | IEffect.cpp \ |
| 60 | IEffectClient.cpp \ |
| 61 | AudioEffect.cpp \ |
| 62 | Visualizer.cpp \ |
| Eric Laurent | 2e66a78 | 2012-03-26 10:47:22 -0700 | [diff] [blame] | 63 | MemoryLeakTrackUtil.cpp \ |
| 64 | SoundPool.cpp \ |
| Mathias Agopian | 1f7d356 | 2013-05-06 20:20:16 -0700 | [diff] [blame] | 65 | SoundPoolThread.cpp \ |
| 66 | StringArray.cpp |
| Andreas Huber | 413f523 | 2009-12-03 11:31:19 -0800 | [diff] [blame] | 67 | |
| Glenn Kasten | 5c4cc0d | 2012-11-26 10:40:24 -0800 | [diff] [blame] | 68 | LOCAL_SRC_FILES += ../libnbaio/roundup.c |
| 69 | |
| codeworkx | ced8df4 | 2013-01-14 20:43:57 +0000 | [diff] [blame] | 70 | ifeq ($(BOARD_USES_LIBMEDIA_WITH_AUDIOPARAMETER),true) |
| 71 | LOCAL_SRC_FILES+= \ |
| 72 | AudioParameter.cpp |
| 73 | endif |
| 74 | |
| 75 | ifeq ($(BOARD_USE_SAMSUNG_SEPARATEDSTREAM),true) |
| 76 | LOCAL_CFLAGS += -DUSE_SAMSUNG_SEPARATEDSTREAM |
| 77 | endif |
| 78 | |
| Arne Coucheron | 0e1608f | 2013-11-10 11:53:25 +0100 | [diff] [blame^] | 79 | ifeq ($(BOARD_USES_QCOM_HARDWARE),true) |
| 80 | LOCAL_SRC_FILES += \ |
| 81 | IDirectTrack.cpp \ |
| 82 | IDirectTrackClient.cpp |
| 83 | endif |
| 84 | |
| Glenn Kasten | 5c4cc0d | 2012-11-26 10:40:24 -0800 | [diff] [blame] | 85 | # for <cutils/atomic-inline.h> |
| 86 | LOCAL_CFLAGS += -DANDROID_SMP=$(if $(findstring true,$(TARGET_CPU_SMP)),1,0) |
| 87 | LOCAL_SRC_FILES += SingleStateQueue.cpp |
| 88 | LOCAL_CFLAGS += -DSINGLE_STATE_QUEUE_INSTANTIATIONS='"SingleStateQueueInstantiations.cpp"' |
| Glenn Kasten | a07a1c2 | 2013-08-23 10:54:35 -0700 | [diff] [blame] | 89 | # Consider a separate a library for SingleStateQueueInstantiations. |
| Glenn Kasten | 5c4cc0d | 2012-11-26 10:40:24 -0800 | [diff] [blame] | 90 | |
| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 91 | LOCAL_SHARED_LIBRARIES := \ |
| Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 92 | libui liblog libcutils libutils libbinder libsonivox libicuuc libexpat \ |
| Mathias Agopian | 5f7fcf2 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 93 | libcamera_client libstagefright_foundation \ |
| Glenn Kasten | c415902 | 2012-10-30 10:51:39 -0700 | [diff] [blame] | 94 | libgui libdl libaudioutils |
| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 95 | |
| Dima Zavin | db5cb14 | 2011-04-19 22:20:55 -0700 | [diff] [blame] | 96 | LOCAL_WHOLE_STATIC_LIBRARY := libmedia_helper |
| 97 | |
| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 98 | LOCAL_MODULE:= libmedia |
| 99 | |
| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 100 | LOCAL_C_INCLUDES := \ |
| Marco Nelissen | 10dbb8e | 2009-09-20 10:42:13 -0700 | [diff] [blame] | 101 | $(call include-path-for, graphics corecg) \ |
| James Dong | 6c6b4d0 | 2012-03-12 14:37:53 -0700 | [diff] [blame] | 102 | $(TOP)/frameworks/native/include/media/openmax \ |
| James Dong | 1d7491b | 2010-01-19 17:45:38 -0800 | [diff] [blame] | 103 | external/icu4c/common \ |
| Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 104 | $(call include-path-for, audio-effects) \ |
| 105 | $(call include-path-for, audio-utils) |
| Marco Nelissen | 10dbb8e | 2009-09-20 10:42:13 -0700 | [diff] [blame] | 106 | |
| The Android Open Source Project | 89fa4ad | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 107 | include $(BUILD_SHARED_LIBRARY) |