Home | History | Annotate | Download | only in libstagefright
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 
      5 LOCAL_SRC_FILES:=                         \
      6         ACodec.cpp                        \
      7         ACodecBufferChannel.cpp           \
      8         AACExtractor.cpp                  \
      9         AACWriter.cpp                     \
     10         AMRExtractor.cpp                  \
     11         AMRWriter.cpp                     \
     12         AudioPlayer.cpp                   \
     13         AudioSource.cpp                   \
     14         BufferImpl.cpp                    \
     15         CallbackDataSource.cpp            \
     16         CameraSource.cpp                  \
     17         CameraSourceTimeLapse.cpp         \
     18         DataConverter.cpp                 \
     19         DataSource.cpp                    \
     20         DataURISource.cpp                 \
     21         ESDS.cpp                          \
     22         FileSource.cpp                    \
     23         FLACExtractor.cpp                 \
     24         FrameRenderTracker.cpp            \
     25         HTTPBase.cpp                      \
     26         HevcUtils.cpp                     \
     27         JPEGSource.cpp                    \
     28         MP3Extractor.cpp                  \
     29         MPEG2TSWriter.cpp                 \
     30         MPEG4Extractor.cpp                \
     31         MPEG4Writer.cpp                   \
     32         MediaAdapter.cpp                  \
     33         MediaClock.cpp                    \
     34         MediaCodec.cpp                    \
     35         MediaCodecList.cpp                \
     36         MediaCodecListOverrides.cpp       \
     37         MediaCodecSource.cpp              \
     38         MediaExtractor.cpp                \
     39         MediaSync.cpp                     \
     40         MidiExtractor.cpp                 \
     41         http/MediaHTTP.cpp                \
     42         MediaMuxer.cpp                    \
     43         MediaSource.cpp                   \
     44         NuCachedSource2.cpp               \
     45         NuMediaExtractor.cpp              \
     46         OMXClient.cpp                     \
     47         OggExtractor.cpp                  \
     48         SampleIterator.cpp                \
     49         SampleTable.cpp                   \
     50         SimpleDecodingSource.cpp          \
     51         SkipCutBuffer.cpp                 \
     52         StagefrightMediaScanner.cpp       \
     53         StagefrightMetadataRetriever.cpp  \
     54         SurfaceMediaSource.cpp            \
     55         SurfaceUtils.cpp                  \
     56         ThrottledSource.cpp               \
     57         Utils.cpp                         \
     58         VBRISeeker.cpp                    \
     59         VideoFrameScheduler.cpp           \
     60         WAVExtractor.cpp                  \
     61         XINGSeeker.cpp                    \
     62         avc_utils.cpp                     \
     63 
     64 LOCAL_C_INCLUDES:= \
     65         $(TOP)/frameworks/av/include/media/ \
     66         $(TOP)/frameworks/av/include/media/stagefright/timedtext \
     67         $(TOP)/frameworks/native/include/media/hardware \
     68         $(TOP)/frameworks/native/include/media/openmax \
     69         $(TOP)/external/flac/include \
     70         $(TOP)/external/tremolo \
     71         $(TOP)/external/libvpx/libwebm \
     72         $(TOP)/external/icu/icu4c/source/common \
     73         $(TOP)/external/icu/icu4c/source/i18n \
     74         $(TOP)/system/netd/include \
     75         $(call include-path-for, audio-utils)
     76 
     77 LOCAL_SHARED_LIBRARIES := \
     78         libaudioutils \
     79         libbinder \
     80         libcamera_client \
     81         libcrypto \
     82         libcutils \
     83         libdl \
     84         libdrmframework \
     85         libexpat \
     86         libgui \
     87         liblog \
     88         libmedia \
     89         libaudioclient \
     90         libmediametrics \
     91         libmediautils \
     92         libnetd_client \
     93         libsonivox \
     94         libstagefright_omx \
     95         libui \
     96         libutils \
     97         libvorbisidec \
     98         libmediadrm \
     99         libnativewindow \
    100 
    101 LOCAL_STATIC_LIBRARIES := \
    102         libstagefright_color_conversion \
    103         libyuv_static \
    104         libstagefright_aacenc \
    105         libstagefright_matroska \
    106         libstagefright_mediafilter \
    107         libstagefright_webm \
    108         libstagefright_timedtext \
    109         libvpx \
    110         libwebm \
    111         libstagefright_mpeg2ts \
    112         libstagefright_id3 \
    113         libFLAC \
    114 
    115 LOCAL_SHARED_LIBRARIES += \
    116         libmedia_helper \
    117         libstagefright_foundation \
    118         libdl \
    119         libRScpp \
    120         libhidlbase \
    121         libhidlmemory \
    122         android.hidl.allocator (a] 1.0 \
    123         android.hidl.memory (a] 1.0 \
    124         android.hardware.media.omx (a] 1.0 \
    125         libstagefright_xmlparser (a] 1.0 \
    126 
    127 LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libmedia
    128 
    129 LOCAL_CFLAGS += -Wno-multichar -Werror -Wno-error=deprecated-declarations -Wall
    130 
    131 # enable experiments only in userdebug and eng builds
    132 ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
    133 LOCAL_CFLAGS += -DENABLE_STAGEFRIGHT_EXPERIMENTS
    134 endif
    135 
    136 LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow cfi
    137 LOCAL_SANITIZE_DIAG := cfi
    138 
    139 LOCAL_MODULE:= libstagefright
    140 
    141 LOCAL_MODULE_TAGS := optional
    142 
    143 include $(BUILD_SHARED_LIBRARY)
    144 
    145 include $(call all-makefiles-under,$(LOCAL_PATH))
    146