Android.mk revision 6c6b4d0d2b98a7ceee8b697daaf611f8df3254fb
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        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        libstagefright_chromium_http \
104
105LOCAL_SHARED_LIBRARIES += libstlport
106include external/stlport/libstlport.mk
107
108# TODO: Chromium is always available, so this flag can be removed.
109LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
110
111LOCAL_SHARED_LIBRARIES += \
112        libstagefright_enc_common \
113        libstagefright_avc_common \
114        libstagefright_foundation \
115        libdl
116
117LOCAL_CFLAGS += -Wno-multichar
118
119LOCAL_MODULE:= libstagefright
120
121include $(BUILD_SHARED_LIBRARY)
122
123include $(call all-makefiles-under,$(LOCAL_PATH))
124