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