Android.mk revision 4456da54bcd206ed1f518c69cc959ca65a179c83
120111aa043c5f404472bc63b90bc5aad906b1101Andreas HuberLOCAL_PATH:= $(call my-dir) 220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huberinclude $(CLEAR_VARS) 320111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 4956c553ab0ce72f8074ad0fda2ffd66a0305700cJames Donginclude frameworks/base/media/libstagefright/codecs/common/Config.mk 5956c553ab0ce72f8074ad0fda2ffd66a0305700cJames Dong 6608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas HuberLOCAL_SRC_FILES:= \ 7608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber AMRExtractor.cpp \ 8608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber AMRWriter.cpp \ 9608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber AudioPlayer.cpp \ 10608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber AudioSource.cpp \ 11608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber AwesomePlayer.cpp \ 12608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber CameraSource.cpp \ 139c075bca0b75093ca0514a3c8f74d73c8e9e83fdNipun Kwatra CameraSourceTimeLapse.cpp \ 14ad452ffadf0ced7449395585a55255c915734e17Nipun Kwatra VideoSourceDownSampler.cpp \ 15608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber DataSource.cpp \ 16a9741a9232c81eaf59179acef91f5be46c42264eGloria Wang DRMExtractor.cpp \ 17608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber ESDS.cpp \ 18608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber FileSource.cpp \ 19608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber HTTPStream.cpp \ 20608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber JPEGSource.cpp \ 21608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MP3Extractor.cpp \ 220da4dab0a45a2bc1d95cbc6ef6a4850ed2569584Andreas Huber MPEG2TSWriter.cpp \ 23608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MPEG4Extractor.cpp \ 24608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MPEG4Writer.cpp \ 25608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MediaBuffer.cpp \ 26608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MediaBufferGroup.cpp \ 27608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MediaDefs.cpp \ 28608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MediaExtractor.cpp \ 29608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MediaSource.cpp \ 309c075bca0b75093ca0514a3c8f74d73c8e9e83fdNipun Kwatra MediaSourceSplitter.cpp \ 31608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber MetaData.cpp \ 32608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber NuCachedSource2.cpp \ 33608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber NuHTTPDataSource.cpp \ 34608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber OMXClient.cpp \ 35608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber OMXCodec.cpp \ 36608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber OggExtractor.cpp \ 37608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber SampleIterator.cpp \ 38608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber SampleTable.cpp \ 39608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber ShoutcastSource.cpp \ 40608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber StagefrightMediaScanner.cpp \ 41608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber StagefrightMetadataRetriever.cpp \ 42aae3516293e58c0b015d4109bde58c11d503433cAndreas Huber ThreadedSource.cpp \ 43608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber ThrottledSource.cpp \ 44608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber TimeSource.cpp \ 45608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber TimedEventQueue.cpp \ 46608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber Utils.cpp \ 474456da54bcd206ed1f518c69cc959ca65a179c83Andreas Huber VBRISeeker.cpp \ 48608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber WAVExtractor.cpp \ 49b371426ce4cf2fa6d8c3d1903b61322feb165d35Gloria Wang WVMExtractor.cpp \ 504456da54bcd206ed1f518c69cc959ca65a179c83Andreas Huber XINGSeeker.cpp \ 5185f12e9b9062402d6110df3f7099707912040edbAndreas Huber avc_utils.cpp \ 5220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber string.cpp 5320111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 5420111aa043c5f404472bc63b90bc5aad906b1101Andreas HuberLOCAL_C_INCLUDES:= \ 551b84df1a0823fbcb9cec754311f53eaccfe85ae3Andreas Huber $(JNI_H_INCLUDE) \ 5656cfa2376ae87cba730ea7ce4a9e0ca4f0d07627Andreas Huber $(TOP)/frameworks/base/include/media/stagefright/openmax \ 5739ddf8e0f18766f7ba1e3246b774aa6ebd93eea8Andreas Huber $(TOP)/external/tremolo \ 5839ddf8e0f18766f7ba1e3246b774aa6ebd93eea8Andreas Huber $(TOP)/frameworks/base/media/libstagefright/rtsp 5920111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 6020111aa043c5f404472bc63b90bc5aad906b1101Andreas HuberLOCAL_SHARED_LIBRARIES := \ 6120111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber libbinder \ 6220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber libmedia \ 6372b56ef3d9f164159f58725781b01dd3b052b51aMarco Nelissen libutils \ 6420111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber libcutils \ 65fc9ba09e3bb368f823d473f5e2bb9aa32dba6289Andreas Huber libui \ 66fc9ba09e3bb368f823d473f5e2bb9aa32dba6289Andreas Huber libsonivox \ 673cf613507f1e2f7bd932d921a6e222e426fd3be4Mathias Agopian libvorbisidec \ 683cf613507f1e2f7bd932d921a6e222e426fd3be4Mathias Agopian libsurfaceflinger_client \ 69c4e47d1e81c4e4403663cb911e98dbf3ada9942cNipun Kwatra libstagefright_yuv \ 70dcd25efb46c41c8d24a0a9cf61fb57f84149709eGloria Wang libcamera_client \ 71dcd25efb46c41c8d24a0a9cf61fb57f84149709eGloria Wang libdrmframework 7220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 73f44de515d3b6098a0b585865c1a0c7b20d3075a6Andreas HuberLOCAL_STATIC_LIBRARIES := \ 74d9618f23226f46c752e56f712bc4b505117d8b4bAndreas Huber libstagefright_aacdec \ 75956c553ab0ce72f8074ad0fda2ffd66a0305700cJames Dong libstagefright_aacenc \ 764f1efc098cb5791c3e9f483f2af84aef70d2d0a0Andreas Huber libstagefright_amrnbdec \ 77b841f14f8e51f2365945281fbfa54ef6a1b1b5a6Andreas Huber libstagefright_amrnbenc \ 784f1efc098cb5791c3e9f483f2af84aef70d2d0a0Andreas Huber libstagefright_amrwbdec \ 79956c553ab0ce72f8074ad0fda2ffd66a0305700cJames Dong libstagefright_amrwbenc \ 80609f1a00c96cf5605f4614e7bb6d0487c98969c5Andreas Huber libstagefright_avcdec \ 8129a84457aed4c45bc900998b5e11c03023264208James Dong libstagefright_avcenc \ 823306cfee3bf38ab207a0504e49c2d492bb73ffbfJames Dong libstagefright_m4vh263dec \ 8359f566c4ec3dfc097ad8163523e522280b27e5c3James Dong libstagefright_m4vh263enc \ 84ee7ff20e69498ebd53dd9717a0f984188341a75eAndreas Huber libstagefright_mp3dec \ 85093437c388e5dff6903a3d43f2ca9f8a1ba4744aAndreas Huber libstagefright_vorbisdec \ 86093437c388e5dff6903a3d43f2ca9f8a1ba4744aAndreas Huber libstagefright_matroska \ 874d1265cd007b9754d0645bc4fb95701140a45648Andreas Huber libstagefright_vpxdec \ 884d1265cd007b9754d0645bc4fb95701140a45648Andreas Huber libvpx \ 89cda17c606b0fe3ccda4dc68a6d43882410ea2462Andreas Huber libstagefright_mpeg2ts \ 90e71d10e7ad55ccbcb0756c007caef1c959090384Andreas Huber libstagefright_httplive \ 91cf7b9c7aae758ac0b99833915053c63c2ac46e09Andreas Huber libstagefright_rtsp \ 92608d77b1cf4fb9f63dc861e4e1fa3e80a732f626Andreas Huber libstagefright_id3 \ 9342d66f25af9cb8089a93c6796876a6bc16e36ceaAndreas Huber libstagefright_g711dec \ 94f44de515d3b6098a0b585865c1a0c7b20d3075a6Andreas Huber 95609f1a00c96cf5605f4614e7bb6d0487c98969c5Andreas HuberLOCAL_SHARED_LIBRARIES += \ 96609f1a00c96cf5605f4614e7bb6d0487c98969c5Andreas Huber libstagefright_amrnb_common \ 97956c553ab0ce72f8074ad0fda2ffd66a0305700cJames Dong libstagefright_enc_common \ 98cda17c606b0fe3ccda4dc68a6d43882410ea2462Andreas Huber libstagefright_avc_common \ 99cda17c606b0fe3ccda4dc68a6d43882410ea2462Andreas Huber libstagefright_foundation \ 100733b7729ea462fae9c6899456444e28fef1c757cAndreas Huber libstagefright_color_conversion 101609f1a00c96cf5605f4614e7bb6d0487c98969c5Andreas Huber 102988e3f0b2c74095deae580157c57935a98573052Andreas Huberifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 103988e3f0b2c74095deae580157c57935a98573052Andreas Huber LOCAL_LDLIBS += -lpthread -ldl 1040df82fcf56668bbde355cac7fb0828368441f6dcMarco Nelissen LOCAL_SHARED_LIBRARIES += libdvm 1050df82fcf56668bbde355cac7fb0828368441f6dcMarco Nelissen LOCAL_CPPFLAGS += -DANDROID_SIMULATOR 106988e3f0b2c74095deae580157c57935a98573052Andreas Huberendif 107988e3f0b2c74095deae580157c57935a98573052Andreas Huber 108988e3f0b2c74095deae580157c57935a98573052Andreas Huberifneq ($(TARGET_SIMULATOR),true) 109988e3f0b2c74095deae580157c57935a98573052Andreas HuberLOCAL_SHARED_LIBRARIES += libdl 110988e3f0b2c74095deae580157c57935a98573052Andreas Huberendif 111988e3f0b2c74095deae580157c57935a98573052Andreas Huber 11272b56ef3d9f164159f58725781b01dd3b052b51aMarco Nelissenifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) 11372b56ef3d9f164159f58725781b01dd3b052b51aMarco Nelissen LOCAL_LDLIBS += -lpthread 11472b56ef3d9f164159f58725781b01dd3b052b51aMarco Nelissenendif 11572b56ef3d9f164159f58725781b01dd3b052b51aMarco Nelissen 11620111aa043c5f404472bc63b90bc5aad906b1101Andreas HuberLOCAL_CFLAGS += -Wno-multichar 11720111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 11820111aa043c5f404472bc63b90bc5aad906b1101Andreas HuberLOCAL_MODULE:= libstagefright 11920111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 12020111aa043c5f404472bc63b90bc5aad906b1101Andreas Huberinclude $(BUILD_SHARED_LIBRARY) 12120111aa043c5f404472bc63b90bc5aad906b1101Andreas Huber 12220111aa043c5f404472bc63b90bc5aad906b1101Andreas Huberinclude $(call all-makefiles-under,$(LOCAL_PATH)) 123