Android.mk revision 5f5ee1110dd85001b43db7637a97474acfe8d681
1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4 5LOCAL_SRC_FILES:= \ 6 ACodec.cpp \ 7 AACExtractor.cpp \ 8 AACWriter.cpp \ 9 AMRExtractor.cpp \ 10 AMRWriter.cpp \ 11 AudioPlayer.cpp \ 12 AudioSource.cpp \ 13 BufferImpl.cpp \ 14 CallbackDataSource.cpp \ 15 CameraSource.cpp \ 16 CameraSourceTimeLapse.cpp \ 17 CodecBase.cpp \ 18 DataConverter.cpp \ 19 DataSource.cpp \ 20 DataURISource.cpp \ 21 DRMExtractor.cpp \ 22 ESDS.cpp \ 23 FileSource.cpp \ 24 FLACExtractor.cpp \ 25 FrameRenderTracker.cpp \ 26 HTTPBase.cpp \ 27 HevcUtils.cpp \ 28 JPEGSource.cpp \ 29 MP3Extractor.cpp \ 30 MPEG2TSWriter.cpp \ 31 MPEG4Extractor.cpp \ 32 MPEG4Writer.cpp \ 33 MediaAdapter.cpp \ 34 MediaClock.cpp \ 35 MediaCodec.cpp \ 36 MediaCodecList.cpp \ 37 MediaCodecListOverrides.cpp \ 38 MediaCodecSource.cpp \ 39 MediaExtractor.cpp \ 40 MediaSync.cpp \ 41 MidiExtractor.cpp \ 42 http/MediaHTTP.cpp \ 43 MediaMuxer.cpp \ 44 MediaSource.cpp \ 45 NuCachedSource2.cpp \ 46 NuMediaExtractor.cpp \ 47 OMXClient.cpp \ 48 OggExtractor.cpp \ 49 ProcessInfo.cpp \ 50 SampleIterator.cpp \ 51 SampleTable.cpp \ 52 SimpleDecodingSource.cpp \ 53 SkipCutBuffer.cpp \ 54 StagefrightMediaScanner.cpp \ 55 StagefrightMetadataRetriever.cpp \ 56 SurfaceMediaSource.cpp \ 57 SurfaceUtils.cpp \ 58 ThrottledSource.cpp \ 59 Utils.cpp \ 60 VBRISeeker.cpp \ 61 VideoFrameScheduler.cpp \ 62 WAVExtractor.cpp \ 63 WVMExtractor.cpp \ 64 XINGSeeker.cpp \ 65 avc_utils.cpp \ 66 67LOCAL_C_INCLUDES:= \ 68 $(TOP)/frameworks/av/include/media/ \ 69 $(TOP)/frameworks/av/include/media/stagefright/timedtext \ 70 $(TOP)/frameworks/native/include/media/hardware \ 71 $(TOP)/frameworks/native/include/media/openmax \ 72 $(TOP)/external/flac/include \ 73 $(TOP)/external/tremolo \ 74 $(TOP)/external/libvpx/libwebm \ 75 $(TOP)/system/netd/include \ 76 $(call include-path-for, audio-utils) 77 78LOCAL_SHARED_LIBRARIES := \ 79 libaudioutils \ 80 libbinder \ 81 libcamera_client \ 82 libcutils \ 83 libdl \ 84 libdrmframework \ 85 libexpat \ 86 libgui \ 87 libicui18n \ 88 libicuuc \ 89 liblog \ 90 libmedia \ 91 libmediautils \ 92 libnetd_client \ 93 libopus \ 94 libsonivox \ 95 libssl \ 96 libstagefright_omx \ 97 libstagefright_yuv \ 98 libsync \ 99 libui \ 100 libutils \ 101 libvorbisidec \ 102 libz \ 103 libpowermanager 104 105LOCAL_STATIC_LIBRARIES := \ 106 libstagefright_color_conversion \ 107 libyuv_static \ 108 libstagefright_aacenc \ 109 libstagefright_matroska \ 110 libstagefright_mediafilter \ 111 libstagefright_webm \ 112 libstagefright_timedtext \ 113 libvpx \ 114 libwebm \ 115 libstagefright_mpeg2ts \ 116 libstagefright_id3 \ 117 libFLAC \ 118 libmedia_helper \ 119 120LOCAL_SHARED_LIBRARIES += \ 121 libstagefright_enc_common \ 122 libstagefright_avc_common \ 123 libstagefright_foundation \ 124 libdl \ 125 libRScpp \ 126 127LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia 128 129LOCAL_CFLAGS += -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall 130 131# enable experiments only in userdebug and eng builds 132ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) 133LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS 134endif 135 136LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow 137 138LOCAL_MODULE:= libstagefright 139 140LOCAL_MODULE_TAGS := optional 141 142include $(BUILD_SHARED_LIBRARY) 143 144include $(call all-makefiles-under,$(LOCAL_PATH)) 145