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 IMediaCodecList.cpp \ 29 IMediaHTTPConnection.cpp \ 30 IMediaHTTPService.cpp \ 31 IMediaLogService.cpp \ 32 IMediaPlayerService.cpp \ 33 IMediaPlayerClient.cpp \ 34 IMediaRecorderClient.cpp \ 35 IMediaPlayer.cpp \ 36 IMediaRecorder.cpp \ 37 IRemoteDisplay.cpp \ 38 IRemoteDisplayClient.cpp \ 39 IStreamSource.cpp \ 40 MediaCodecInfo.cpp \ 41 Metadata.cpp \ 42 mediarecorder.cpp \ 43 IMediaMetadataRetriever.cpp \ 44 mediametadataretriever.cpp \ 45 ToneGenerator.cpp \ 46 JetPlayer.cpp \ 47 IOMX.cpp \ 48 IAudioPolicyService.cpp \ 49 IAudioPolicyServiceClient.cpp \ 50 MediaScanner.cpp \ 51 MediaScannerClient.cpp \ 52 CharacterEncodingDetector.cpp \ 53 IMediaDeathNotifier.cpp \ 54 MediaProfiles.cpp \ 55 IEffect.cpp \ 56 IEffectClient.cpp \ 57 AudioEffect.cpp \ 58 Visualizer.cpp \ 59 MemoryLeakTrackUtil.cpp \ 60 SoundPool.cpp \ 61 SoundPoolThread.cpp \ 62 StringArray.cpp \ 63 AudioPolicy.cpp 64 65LOCAL_SRC_FILES += ../libnbaio/roundup.c 66 67LOCAL_SHARED_LIBRARIES := \ 68 libui liblog libcutils libutils libbinder libsonivox libicuuc libicui18n libexpat \ 69 libcamera_client libstagefright_foundation \ 70 libgui libdl libaudioutils libnbaio 71 72LOCAL_STATIC_LIBRARIES += libinstantssq 73 74LOCAL_WHOLE_STATIC_LIBRARIES := libmedia_helper 75 76LOCAL_MODULE:= libmedia 77 78LOCAL_C_INCLUDES := \ 79 $(TOP)/frameworks/native/include/media/openmax \ 80 $(TOP)/frameworks/av/include/media/ \ 81 $(TOP)/frameworks/av/media/libstagefright \ 82 $(TOP)/external/icu/icu4c/source/common \ 83 $(TOP)/external/icu/icu4c/source/i18n \ 84 $(call include-path-for, audio-effects) \ 85 $(call include-path-for, audio-utils) 86 87include $(BUILD_SHARED_LIBRARY) 88 89include $(CLEAR_VARS) 90 91# for <cutils/atomic-inline.h> 92LOCAL_CFLAGS += -DANDROID_SMP=$(if $(findstring true,$(TARGET_CPU_SMP)),1,0) 93LOCAL_SRC_FILES += SingleStateQueue.cpp 94LOCAL_CFLAGS += -DSINGLE_STATE_QUEUE_INSTANTIATIONS='"SingleStateQueueInstantiations.cpp"' 95 96LOCAL_MODULE := libinstantssq 97LOCAL_MODULE_TAGS := optional 98 99include $(BUILD_STATIC_LIBRARY) 100