1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_VARS) 4 5LOCAL_SRC_FILES:= \ 6 AudioParameter.cpp 7LOCAL_MODULE:= libmedia_helper 8LOCAL_MODULE_TAGS := optional 9 10include $(BUILD_STATIC_LIBRARY) 11 12include $(CLEAR_VARS) 13 14LOCAL_SRC_FILES:= \ 15 AudioTrack.cpp \ 16 AudioTrackShared.cpp \ 17 IAudioFlinger.cpp \ 18 IAudioFlingerClient.cpp \ 19 IAudioTrack.cpp \ 20 IAudioRecord.cpp \ 21 ICrypto.cpp \ 22 IDrm.cpp \ 23 IDrmClient.cpp \ 24 IHDCP.cpp \ 25 AudioRecord.cpp \ 26 AudioSystem.cpp \ 27 mediaplayer.cpp \ 28 IMediaLogService.cpp \ 29 IMediaPlayerService.cpp \ 30 IMediaPlayerClient.cpp \ 31 IMediaRecorderClient.cpp \ 32 IMediaPlayer.cpp \ 33 IMediaRecorder.cpp \ 34 IRemoteDisplay.cpp \ 35 IRemoteDisplayClient.cpp \ 36 IStreamSource.cpp \ 37 Metadata.cpp \ 38 mediarecorder.cpp \ 39 IMediaMetadataRetriever.cpp \ 40 mediametadataretriever.cpp \ 41 ToneGenerator.cpp \ 42 JetPlayer.cpp \ 43 IOMX.cpp \ 44 IAudioPolicyService.cpp \ 45 MediaScanner.cpp \ 46 MediaScannerClient.cpp \ 47 autodetect.cpp \ 48 IMediaDeathNotifier.cpp \ 49 MediaProfiles.cpp \ 50 IEffect.cpp \ 51 IEffectClient.cpp \ 52 AudioEffect.cpp \ 53 Visualizer.cpp \ 54 MemoryLeakTrackUtil.cpp \ 55 SoundPool.cpp \ 56 SoundPoolThread.cpp \ 57 StringArray.cpp 58 59LOCAL_SRC_FILES += ../libnbaio/roundup.c 60 61# for <cutils/atomic-inline.h> 62LOCAL_CFLAGS += -DANDROID_SMP=$(if $(findstring true,$(TARGET_CPU_SMP)),1,0) 63LOCAL_SRC_FILES += SingleStateQueue.cpp 64LOCAL_CFLAGS += -DSINGLE_STATE_QUEUE_INSTANTIATIONS='"SingleStateQueueInstantiations.cpp"' 65# Consider a separate a library for SingleStateQueueInstantiations. 66 67LOCAL_SHARED_LIBRARIES := \ 68 libui liblog libcutils libutils libbinder libsonivox libicuuc libexpat \ 69 libcamera_client libstagefright_foundation \ 70 libgui libdl libaudioutils 71 72LOCAL_WHOLE_STATIC_LIBRARY := libmedia_helper 73 74LOCAL_MODULE:= libmedia 75 76LOCAL_C_INCLUDES := \ 77 $(call include-path-for, graphics corecg) \ 78 $(TOP)/frameworks/native/include/media/openmax \ 79 external/icu4c/common \ 80 $(call include-path-for, audio-effects) \ 81 $(call include-path-for, audio-utils) 82 83include $(BUILD_SHARED_LIBRARY) 84