Android.mk revision 5ecbdf58b0674ac4a8b9d56b49ebeb1033e5bd27
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 CameraSource.cpp \ 16 CameraSourceTimeLapse.cpp \ 17 ClockEstimator.cpp \ 18 CodecBase.cpp \ 19 DataSource.cpp \ 20 DataURISource.cpp \ 21 DRMExtractor.cpp \ 22 ESDS.cpp \ 23 FileSource.cpp \ 24 FLACExtractor.cpp \ 25 HTTPBase.cpp \ 26 JPEGSource.cpp \ 27 MP3Extractor.cpp \ 28 MPEG2TSWriter.cpp \ 29 MPEG4Extractor.cpp \ 30 MPEG4Writer.cpp \ 31 MediaAdapter.cpp \ 32 MediaBuffer.cpp \ 33 MediaBufferGroup.cpp \ 34 MediaCodec.cpp \ 35 MediaCodecList.cpp \ 36 MediaCodecSource.cpp \ 37 MediaDefs.cpp \ 38 MediaExtractor.cpp \ 39 http/MediaHTTP.cpp \ 40 MediaMuxer.cpp \ 41 MediaSource.cpp \ 42 MetaData.cpp \ 43 NuCachedSource2.cpp \ 44 NuMediaExtractor.cpp \ 45 OMXClient.cpp \ 46 OMXCodec.cpp \ 47 OggExtractor.cpp \ 48 SampleIterator.cpp \ 49 SampleTable.cpp \ 50 SkipCutBuffer.cpp \ 51 StagefrightMediaScanner.cpp \ 52 StagefrightMetadataRetriever.cpp \ 53 SurfaceMediaSource.cpp \ 54 ThrottledSource.cpp \ 55 TimeSource.cpp \ 56 TimedEventQueue.cpp \ 57 Utils.cpp \ 58 VBRISeeker.cpp \ 59 WAVExtractor.cpp \ 60 WVMExtractor.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/openssl/include \ 72 $(TOP)/external/libvpx/libwebm \ 73 $(TOP)/system/netd/include \ 74 $(TOP)/external/icu/icu4c/source/common \ 75 $(TOP)/external/icu/icu4c/source/i18n \ 76 77LOCAL_SHARED_LIBRARIES := \ 78 libbinder \ 79 libcamera_client \ 80 libcutils \ 81 libdl \ 82 libdrmframework \ 83 libexpat \ 84 libgui \ 85 libicui18n \ 86 libicuuc \ 87 liblog \ 88 libmedia \ 89 libnetd_client \ 90 libopus \ 91 libsonivox \ 92 libssl \ 93 libstagefright_omx \ 94 libstagefright_yuv \ 95 libsync \ 96 libui \ 97 libutils \ 98 libvorbisidec \ 99 libz \ 100 libpowermanager 101 102LOCAL_STATIC_LIBRARIES := \ 103 libstagefright_color_conversion \ 104 libstagefright_aacenc \ 105 libstagefright_matroska \ 106 libstagefright_mediafilter \ 107 libstagefright_webm \ 108 libstagefright_timedtext \ 109 libvpx \ 110 libwebm \ 111 libstagefright_mpeg2ts \ 112 libstagefright_id3 \ 113 libFLAC \ 114 libmedia_helper \ 115 116LOCAL_SHARED_LIBRARIES += \ 117 libstagefright_enc_common \ 118 libstagefright_avc_common \ 119 libstagefright_foundation \ 120 libdl \ 121 libRScpp \ 122 123LOCAL_CFLAGS += -Wno-multichar 124 125LOCAL_MODULE:= libstagefright 126 127LOCAL_MODULE_TAGS := optional 128 129include $(BUILD_SHARED_LIBRARY) 130 131include $(call all-makefiles-under,$(LOCAL_PATH)) 132