| LOCAL_PATH:= $(call my-dir) |
| include $(CLEAR_VARS) |
| |
| include frameworks/base/media/libstagefright/codecs/common/Config.mk |
| |
| LOCAL_SRC_FILES:= \ |
| ACodec.cpp \ |
| AACExtractor.cpp \ |
| AMRExtractor.cpp \ |
| AMRWriter.cpp \ |
| AudioPlayer.cpp \ |
| AudioSource.cpp \ |
| AwesomePlayer.cpp \ |
| CameraSource.cpp \ |
| CameraSourceTimeLapse.cpp \ |
| VideoSourceDownSampler.cpp \ |
| DataSource.cpp \ |
| DRMExtractor.cpp \ |
| ESDS.cpp \ |
| FileSource.cpp \ |
| FLACExtractor.cpp \ |
| HTTPStream.cpp \ |
| JPEGSource.cpp \ |
| MP3Extractor.cpp \ |
| MPEG2TSWriter.cpp \ |
| MPEG4Extractor.cpp \ |
| MPEG4Writer.cpp \ |
| MediaBuffer.cpp \ |
| MediaBufferGroup.cpp \ |
| MediaDefs.cpp \ |
| MediaExtractor.cpp \ |
| MediaSource.cpp \ |
| MediaSourceSplitter.cpp \ |
| MetaData.cpp \ |
| NuCachedSource2.cpp \ |
| NuHTTPDataSource.cpp \ |
| OMXClient.cpp \ |
| OMXCodec.cpp \ |
| OggExtractor.cpp \ |
| SampleIterator.cpp \ |
| SampleTable.cpp \ |
| ShoutcastSource.cpp \ |
| StagefrightMediaScanner.cpp \ |
| StagefrightMetadataRetriever.cpp \ |
| ThreadedSource.cpp \ |
| ThrottledSource.cpp \ |
| TimeSource.cpp \ |
| TimedEventQueue.cpp \ |
| Utils.cpp \ |
| VBRISeeker.cpp \ |
| WAVExtractor.cpp \ |
| WVMExtractor.cpp \ |
| XINGSeeker.cpp \ |
| avc_utils.cpp \ |
| |
| LOCAL_C_INCLUDES:= \ |
| $(JNI_H_INCLUDE) \ |
| $(TOP)/frameworks/base/include/media/stagefright/openmax \ |
| $(TOP)/external/flac/include \ |
| $(TOP)/external/tremolo \ |
| $(TOP)/frameworks/base/media/libstagefright/rtsp |
| |
| LOCAL_SHARED_LIBRARIES := \ |
| libbinder \ |
| libmedia \ |
| libutils \ |
| libcutils \ |
| libui \ |
| libsonivox \ |
| libvorbisidec \ |
| libsurfaceflinger_client \ |
| libstagefright_yuv \ |
| libcamera_client \ |
| libdrmframework \ |
| libcrypto |
| |
| LOCAL_STATIC_LIBRARIES := \ |
| libstagefright_color_conversion \ |
| libstagefright_aacdec \ |
| libstagefright_aacenc \ |
| libstagefright_amrnbdec \ |
| libstagefright_amrnbenc \ |
| libstagefright_amrwbdec \ |
| libstagefright_amrwbenc \ |
| libstagefright_avcdec \ |
| libstagefright_avcenc \ |
| libstagefright_m4vh263dec \ |
| libstagefright_m4vh263enc \ |
| libstagefright_mp3dec \ |
| libstagefright_vorbisdec \ |
| libstagefright_matroska \ |
| libstagefright_vpxdec \ |
| libvpx \ |
| libstagefright_mpeg2ts \ |
| libstagefright_httplive \ |
| libstagefright_rtsp \ |
| libstagefright_id3 \ |
| libstagefright_g711dec \ |
| libFLAC \ |
| |
| LOCAL_SHARED_LIBRARIES += \ |
| libstagefright_amrnb_common \ |
| libstagefright_enc_common \ |
| libstagefright_avc_common \ |
| libstagefright_foundation \ |
| |
| ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| LOCAL_LDLIBS += -lpthread -ldl |
| LOCAL_SHARED_LIBRARIES += libdvm |
| LOCAL_CPPFLAGS += -DANDROID_SIMULATOR |
| endif |
| |
| ifneq ($(TARGET_SIMULATOR),true) |
| LOCAL_SHARED_LIBRARIES += libdl |
| endif |
| |
| ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| LOCAL_LDLIBS += -lpthread |
| endif |
| |
| LOCAL_CFLAGS += -Wno-multichar |
| |
| LOCAL_MODULE:= libstagefright |
| |
| include $(BUILD_SHARED_LIBRARY) |
| |
| include $(call all-makefiles-under,$(LOCAL_PATH)) |