Android.mk revision a9741a9232c81eaf59179acef91f5be46c42264e
17a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_PATH:= $(call my-dir)
27a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltinclude $(CLEAR_VARS)
37a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
47a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltinclude frameworks/base/media/libstagefright/codecs/common/Config.mk
57a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
67a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_SRC_FILES:=                         \
77a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        AMRExtractor.cpp                  \
87a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        AMRWriter.cpp                     \
97a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        AudioPlayer.cpp                   \
107a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        AudioSource.cpp                   \
117a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        AwesomePlayer.cpp                 \
127a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        CameraSource.cpp                  \
137a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        DataSource.cpp                    \
147a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        DRMExtractor.cpp                  \
157a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        ESDS.cpp                          \
167a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        FileSource.cpp                    \
177a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        HTTPStream.cpp                    \
187a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        JPEGSource.cpp                    \
197a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MP3Extractor.cpp                  \
207a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MPEG2TSWriter.cpp                 \
217a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MPEG4Extractor.cpp                \
227a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MPEG4Writer.cpp                   \
237a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MediaBuffer.cpp                   \
247a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MediaBufferGroup.cpp              \
257a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MediaDefs.cpp                     \
267a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MediaExtractor.cpp                \
277a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MediaSource.cpp                   \
287a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        MetaData.cpp                      \
297a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        NuCachedSource2.cpp               \
307a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        NuHTTPDataSource.cpp              \
317a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        OMXClient.cpp                     \
327a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        OMXCodec.cpp                      \
337a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        OggExtractor.cpp                  \
347a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        SampleIterator.cpp                \
357a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        SampleTable.cpp                   \
367a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        ShoutcastSource.cpp               \
377a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        StagefrightMediaScanner.cpp       \
387a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        StagefrightMetadataRetriever.cpp  \
397a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        ThreadedSource.cpp                \
407a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        ThrottledSource.cpp               \
417a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        TimeSource.cpp                    \
427a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        TimedEventQueue.cpp               \
437a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        Utils.cpp                         \
447a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        WAVExtractor.cpp                  \
457a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        avc_utils.cpp                     \
467a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        string.cpp
477a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
487a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_C_INCLUDES:= \
497a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt	$(JNI_H_INCLUDE) \
507a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        $(TOP)/frameworks/base/include/media/stagefright/openmax \
517a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        $(TOP)/external/tremolo \
527a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        $(TOP)/frameworks/base/media/libstagefright/rtsp
537a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
547a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_SHARED_LIBRARIES := \
557a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libbinder         \
567a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libmedia          \
577a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libutils          \
587a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libcutils         \
597a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libui             \
607a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libsonivox        \
617a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libvorbisidec     \
627a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libsurfaceflinger_client \
637a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libcamera_client \
647a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libdrmframework
657a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
667a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_STATIC_LIBRARIES := \
677a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_aacdec \
687a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_aacenc \
697a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_amrnbdec \
707a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_amrnbenc \
717a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_amrwbdec \
727a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_amrwbenc \
737a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_avcdec \
747a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_avcenc \
757a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_m4vh263dec \
767a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_m4vh263enc \
777a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_mp3dec \
787a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_vorbisdec \
797a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_matroska \
807a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_vpxdec \
817a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libvpx \
827a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_mpeg2ts \
837a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_httplive \
847a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_rtsp \
857a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_id3 \
867a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_g711dec \
877a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
887a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_SHARED_LIBRARIES += \
897a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_amrnb_common \
907a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_enc_common \
917a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_avc_common \
927a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_foundation \
937a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        libstagefright_color_conversion
947a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
957a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
967a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        LOCAL_LDLIBS += -lpthread -ldl
977a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        LOCAL_SHARED_LIBRARIES += libdvm
987a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        LOCAL_CPPFLAGS += -DANDROID_SIMULATOR
997a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltendif
1007a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1017a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltifneq ($(TARGET_SIMULATOR),true)
1027a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_SHARED_LIBRARIES += libdl
1037a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltendif
1047a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1057a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
1067a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt        LOCAL_LDLIBS += -lpthread
1077a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltendif
1087a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1097a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_CFLAGS += -Wno-multichar
1107a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1117a477263108748903cf5a4151a4e8b739f12264aRobert GreenwaltLOCAL_MODULE:= libstagefright
1127a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1137a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltinclude $(BUILD_SHARED_LIBRARY)
1147a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt
1157a477263108748903cf5a4151a4e8b739f12264aRobert Greenwaltinclude $(call all-makefiles-under,$(LOCAL_PATH))
1167a477263108748903cf5a4151a4e8b739f12264aRobert Greenwalt