Android.mk revision 4116807a35a27abf635bf6199ed9ad8703c9e94d
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 SkipCutBuffer.cpp \ 46 StagefrightMediaScanner.cpp \ 47 StagefrightMetadataRetriever.cpp \ 48 SurfaceMediaSource.cpp \ 49 ThrottledSource.cpp \ 50 TimeSource.cpp \ 51 TimedEventQueue.cpp \ 52 Utils.cpp \ 53 VBRISeeker.cpp \ 54 WAVExtractor.cpp \ 55 WVMExtractor.cpp \ 56 XINGSeeker.cpp \ 57 avc_utils.cpp \ 58 59LOCAL_C_INCLUDES:= \ 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 libcrypto \ 72 libcutils \ 73 libdl \ 74 libdrmframework \ 75 libexpat \ 76 libgui \ 77 libicui18n \ 78 libicuuc \ 79 liblog \ 80 libmedia \ 81 libmedia_native \ 82 libsonivox \ 83 libssl \ 84 libstagefright_omx \ 85 libstagefright_yuv \ 86 libui \ 87 libutils \ 88 libvorbisidec \ 89 libz \ 90 91LOCAL_STATIC_LIBRARIES := \ 92 libstagefright_color_conversion \ 93 libstagefright_aacenc \ 94 libstagefright_avcenc \ 95 libstagefright_m4vh263enc \ 96 libstagefright_matroska \ 97 libstagefright_timedtext \ 98 libvpx \ 99 libstagefright_mpeg2ts \ 100 libstagefright_httplive \ 101 libstagefright_id3 \ 102 libFLAC \ 103 104ifneq ($(TARGET_BUILD_PDK), true) 105LOCAL_STATIC_LIBRARIES += \ 106 libstagefright_chromium_http 107LOCAL_SHARED_LIBRARIES += \ 108 libchromium_net 109LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1 110endif 111 112LOCAL_SHARED_LIBRARIES += libstlport 113include external/stlport/libstlport.mk 114 115LOCAL_SHARED_LIBRARIES += \ 116 libstagefright_enc_common \ 117 libstagefright_avc_common \ 118 libstagefright_foundation \ 119 libdl 120 121LOCAL_CFLAGS += -Wno-multichar 122 123LOCAL_MODULE:= libstagefright 124 125include $(BUILD_SHARED_LIBRARY) 126 127include $(call all-makefiles-under,$(LOCAL_PATH)) 128