Android.mk revision 8db188489871c770d5d56cf67b0001222415db41
1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4include frameworks/av/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        AudioPlayer.cpp                   \
13        AudioSource.cpp                   \
14        AwesomePlayer.cpp                 \
15        CameraSource.cpp                  \
16        CameraSourceTimeLapse.cpp         \
17        DataSource.cpp                    \
18        DRMExtractor.cpp                  \
19        ESDS.cpp                          \
20        FileSource.cpp                    \
21        FLACExtractor.cpp                 \
22        HTTPBase.cpp                      \
23        JPEGSource.cpp                    \
24        MP3Extractor.cpp                  \
25        MPEG2TSWriter.cpp                 \
26        MPEG4Extractor.cpp                \
27        MPEG4Writer.cpp                   \
28        MediaAdapter.cpp                  \
29        MediaBuffer.cpp                   \
30        MediaBufferGroup.cpp              \
31        MediaCodec.cpp                    \
32        MediaCodecList.cpp                \
33        MediaDefs.cpp                     \
34        MediaExtractor.cpp                \
35        MediaMuxer.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        mp4/FragmentedMP4Parser.cpp       \
59        mp4/TrackFragment.cpp             \
60
61LOCAL_C_INCLUDES:= \
62        $(TOP)/frameworks/av/include/media/stagefright/timedtext \
63        $(TOP)/frameworks/native/include/media/hardware \
64        $(TOP)/frameworks/native/include/media/openmax \
65        $(TOP)/frameworks/native/services/connectivitymanager \
66        $(TOP)/external/flac/include \
67        $(TOP)/external/tremolo \
68        $(TOP)/external/openssl/include \
69
70LOCAL_SHARED_LIBRARIES := \
71        libbinder \
72        libcamera_client \
73        libconnectivitymanager \
74        libcutils \
75        libdl \
76        libdrmframework \
77        libexpat \
78        libgui \
79        libicui18n \
80        libicuuc \
81        liblog \
82        libmedia \
83        libsonivox \
84        libssl \
85        libstagefright_omx \
86        libstagefright_yuv \
87        libsync \
88        libui \
89        libutils \
90        libvorbisidec \
91        libz \
92        libpowermanager
93
94LOCAL_STATIC_LIBRARIES := \
95        libstagefright_color_conversion \
96        libstagefright_aacenc \
97        libstagefright_matroska \
98        libstagefright_timedtext \
99        libvpx \
100        libwebm \
101        libstagefright_mpeg2ts \
102        libstagefright_id3 \
103        libFLAC \
104        libmedia_helper
105
106LOCAL_SRC_FILES += \
107        chromium_http_stub.cpp
108LOCAL_CPPFLAGS += -DCHROMIUM_AVAILABLE=1
109
110LOCAL_SHARED_LIBRARIES += libstlport
111include external/stlport/libstlport.mk
112
113LOCAL_SHARED_LIBRARIES += \
114        libstagefright_enc_common \
115        libstagefright_avc_common \
116        libstagefright_foundation \
117        libdl
118
119LOCAL_CFLAGS += -Wno-multichar
120
121LOCAL_MODULE:= libstagefright
122
123LOCAL_MODULE_TAGS := optional
124
125include $(BUILD_SHARED_LIBRARY)
126
127include $(call all-makefiles-under,$(LOCAL_PATH))
128