Android.mk revision ac7d4125516299b8a3e6f2b25822a692bdd96311
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 libmediadrm \ 97 libnativewindow \ 98 99LOCAL_STATIC_LIBRARIES := \ 100 libstagefright_color_conversion \ 101 libyuv_static \ 102 libstagefright_aacenc \ 103 libstagefright_matroska \ 104 libstagefright_mediafilter \ 105 libstagefright_webm \ 106 libstagefright_timedtext \ 107 libvpx \ 108 libwebm \ 109 libstagefright_mpeg2ts \ 110 libstagefright_id3 \ 111 libFLAC \ 112 113LOCAL_SHARED_LIBRARIES += \ 114 libmedia_helper \ 115 libstagefright_foundation \ 116 libdl \ 117 libRScpp \ 118 libhidlbase \ 119 libhidlmemory \ 120 android.hidl.allocator@1.0 \ 121 android.hidl.memory@1.0 \ 122 android.hardware.media.omx@1.0 \ 123 124LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia 125 126LOCAL_CFLAGS += -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall 127 128# enable experiments only in userdebug and eng builds 129ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) 130LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS 131endif 132 133LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow 134 135LOCAL_MODULE:= libstagefright 136 137LOCAL_MODULE_TAGS := optional 138 139include $(BUILD_SHARED_LIBRARY) 140 141include $(call all-makefiles-under,$(LOCAL_PATH)) 142