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