Android.mk revision 054a5a69374efae97924c83c2ee7ec7210bf3283
1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4include frameworks/base/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 AVIExtractor.cpp \ 13 AudioPlayer.cpp \ 14 AudioSource.cpp \ 15 AwesomePlayer.cpp \ 16 CameraSource.cpp \ 17 CameraSourceTimeLapse.cpp \ 18 VideoSourceDownSampler.cpp \ 19 DataSource.cpp \ 20 DRMExtractor.cpp \ 21 ESDS.cpp \ 22 FileSource.cpp \ 23 FLACExtractor.cpp \ 24 HTTPBase.cpp \ 25 JPEGSource.cpp \ 26 MP3Extractor.cpp \ 27 MPEG2TSWriter.cpp \ 28 MPEG4Extractor.cpp \ 29 MPEG4Writer.cpp \ 30 MediaBuffer.cpp \ 31 MediaBufferGroup.cpp \ 32 MediaCodec.cpp \ 33 MediaCodecList.cpp \ 34 MediaDefs.cpp \ 35 MediaExtractor.cpp \ 36 MediaSource.cpp \ 37 MetaData.cpp \ 38 NuCachedSource2.cpp \ 39 NuMediaExtractor.cpp \ 40 OMXClient.cpp \ 41 OMXCodec.cpp \ 42 OggExtractor.cpp \ 43 SampleIterator.cpp \ 44 SampleTable.cpp \ 45 StagefrightMediaScanner.cpp \ 46 StagefrightMetadataRetriever.cpp \ 47 SurfaceMediaSource.cpp \ 48 ThrottledSource.cpp \ 49 TimeSource.cpp \ 50 TimedEventQueue.cpp \ 51 Utils.cpp \ 52 VBRISeeker.cpp \ 53 WAVExtractor.cpp \ 54 WVMExtractor.cpp \ 55 XINGSeeker.cpp \ 56 avc_utils.cpp \ 57 58LOCAL_C_INCLUDES:= \ 59 $(JNI_H_INCLUDE) \ 60 $(TOP)/frameworks/base/include/media/stagefright/openmax \ 61 $(TOP)/frameworks/base/include/media/stagefright/timedtext \ 62 $(TOP)/external/expat/lib \ 63 $(TOP)/external/flac/include \ 64 $(TOP)/external/tremolo \ 65 $(TOP)/external/openssl/include \ 66 67LOCAL_SHARED_LIBRARIES := \ 68 libbinder \ 69 libcamera_client \ 70 libchromium_net \ 71 libcrypto \ 72 libcutils \ 73 libdl \ 74 libdrmframework \ 75 libexpat \ 76 libgui \ 77 libicui18n \ 78 libicuuc \ 79 liblog \ 80 libmedia \ 81 libsonivox \ 82 libssl \ 83 libstagefright_omx \ 84 libstagefright_yuv \ 85 libui \ 86 libutils \ 87 libvorbisidec \ 88 libz \ 89 90LOCAL_STATIC_LIBRARIES := \ 91 libstagefright_color_conversion \ 92 libstagefright_aacenc \ 93 libstagefright_avcenc \ 94 libstagefright_m4vh263enc \ 95 libstagefright_matroska \ 96 libstagefright_timedtext \ 97 libvpx \ 98 libstagefright_mpeg2ts \ 99 libstagefright_httplive \ 100 libstagefright_id3 \ 101 libFLAC \ 102 libstagefright_chromium_http \ 103 104LOCAL_SHARED_LIBRARIES += libstlport 105include external/stlport/libstlport.mk 106 107# TODO: Chromium is always available, so this flag can be removed. 108LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1 109 110LOCAL_SHARED_LIBRARIES += \ 111 libstagefright_enc_common \ 112 libstagefright_avc_common \ 113 libstagefright_foundation \ 114 libdl 115 116LOCAL_CFLAGS += -Wno-multichar 117 118LOCAL_MODULE:= libstagefright 119 120include $(BUILD_SHARED_LIBRARY) 121 122include $(call all-makefiles-under,$(LOCAL_PATH)) 123