Android.mk revision b12153e36ae5e514d96c77d660b327d1a8f5000f
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/timedtext \ 61 $(TOP)/frameworks/native/include/media/hardware \ 62 $(TOP)/frameworks/native/include/media/openmax \ 63 $(TOP)/external/expat/lib \ 64 $(TOP)/external/flac/include \ 65 $(TOP)/external/tremolo \ 66 $(TOP)/external/openssl/include \ 67 68LOCAL_SHARED_LIBRARIES := \ 69 libbinder \ 70 libcamera_client \ 71 libchromium_net \ 72 libcrypto \ 73 libcutils \ 74 libdl \ 75 libdrmframework \ 76 libexpat \ 77 libgui \ 78 libicui18n \ 79 libicuuc \ 80 liblog \ 81 libmedia \ 82 libmedia_native \ 83 libsonivox \ 84 libssl \ 85 libstagefright_omx \ 86 libstagefright_yuv \ 87 libui \ 88 libutils \ 89 libvorbisidec \ 90 libz \ 91 92LOCAL_STATIC_LIBRARIES := \ 93 libstagefright_color_conversion \ 94 libstagefright_aacenc \ 95 libstagefright_avcenc \ 96 libstagefright_m4vh263enc \ 97 libstagefright_matroska \ 98 libstagefright_timedtext \ 99 libvpx \ 100 libstagefright_mpeg2ts \ 101 libstagefright_httplive \ 102 libstagefright_id3 \ 103 libFLAC \ 104 libstagefright_chromium_http \ 105 106LOCAL_SHARED_LIBRARIES += libstlport 107include external/stlport/libstlport.mk 108 109# TODO: Chromium is always available, so this flag can be removed. 110LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1 111 112LOCAL_SHARED_LIBRARIES += \ 113 libstagefright_enc_common \ 114 libstagefright_avc_common \ 115 libstagefright_foundation \ 116 libdl 117 118LOCAL_CFLAGS += -Wno-multichar 119 120LOCAL_MODULE:= libstagefright 121 122include $(BUILD_SHARED_LIBRARY) 123 124include $(call all-makefiles-under,$(LOCAL_PATH)) 125