Home | History | Annotate | Download | only in libmedia
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_VARS)
      4 
      5 LOCAL_SRC_FILES:= \
      6     AudioParameter.cpp
      7 LOCAL_MODULE:= libmedia_helper
      8 LOCAL_MODULE_TAGS := optional
      9 
     10 LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
     11 LOCAL_CLANG := true
     12 
     13 include $(BUILD_STATIC_LIBRARY)
     14 
     15 include $(CLEAR_VARS)
     16 
     17 LOCAL_SRC_FILES:= \
     18     AudioTrack.cpp \
     19     AudioTrackShared.cpp \
     20     IAudioFlinger.cpp \
     21     IAudioFlingerClient.cpp \
     22     IAudioTrack.cpp \
     23     IAudioRecord.cpp \
     24     ICrypto.cpp \
     25     IDataSource.cpp \
     26     IDrm.cpp \
     27     IDrmClient.cpp \
     28     IHDCP.cpp \
     29     AudioRecord.cpp \
     30     AudioSystem.cpp \
     31     mediaplayer.cpp \
     32     IMediaCodecList.cpp \
     33     IMediaCodecService.cpp \
     34     IMediaDrmService.cpp \
     35     IMediaHTTPConnection.cpp \
     36     IMediaHTTPService.cpp \
     37     IMediaLogService.cpp \
     38     IMediaExtractor.cpp           \
     39     IMediaExtractorService.cpp \
     40     IMediaPlayerService.cpp \
     41     IMediaPlayerClient.cpp \
     42     IMediaRecorderClient.cpp \
     43     IMediaPlayer.cpp \
     44     IMediaRecorder.cpp \
     45     IMediaSource.cpp \
     46     IRemoteDisplay.cpp \
     47     IRemoteDisplayClient.cpp \
     48     IResourceManagerClient.cpp \
     49     IResourceManagerService.cpp \
     50     IStreamSource.cpp \
     51     MediaCodecInfo.cpp \
     52     MediaUtils.cpp \
     53     Metadata.cpp \
     54     mediarecorder.cpp \
     55     IMediaMetadataRetriever.cpp \
     56     mediametadataretriever.cpp \
     57     MidiIoWrapper.cpp \
     58     ToneGenerator.cpp \
     59     JetPlayer.cpp \
     60     IOMX.cpp \
     61     IAudioPolicyService.cpp \
     62     IAudioPolicyServiceClient.cpp \
     63     MediaScanner.cpp \
     64     MediaScannerClient.cpp \
     65     CharacterEncodingDetector.cpp \
     66     IMediaDeathNotifier.cpp \
     67     MediaProfiles.cpp \
     68     MediaResource.cpp \
     69     MediaResourcePolicy.cpp \
     70     IEffect.cpp \
     71     IEffectClient.cpp \
     72     AudioEffect.cpp \
     73     Visualizer.cpp \
     74     MemoryLeakTrackUtil.cpp \
     75     StringArray.cpp \
     76     AudioPolicy.cpp
     77 
     78 LOCAL_SHARED_LIBRARIES := \
     79 	libui liblog libcutils libutils libbinder libsonivox libicuuc libicui18n libexpat \
     80         libcamera_client libstagefright_foundation \
     81         libgui libdl libaudioutils libnbaio
     82 
     83 LOCAL_WHOLE_STATIC_LIBRARIES := libmedia_helper
     84 
     85 # for memory heap analysis
     86 LOCAL_STATIC_LIBRARIES := libc_malloc_debug_backtrace libc_logging
     87 
     88 LOCAL_MODULE:= libmedia
     89 
     90 LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
     91 
     92 LOCAL_C_INCLUDES := \
     93     $(TOP)/frameworks/native/include/media/openmax \
     94     $(TOP)/frameworks/av/include/media/ \
     95     $(TOP)/frameworks/av/media/libstagefright \
     96     $(call include-path-for, audio-effects) \
     97     $(call include-path-for, audio-utils)
     98 
     99 LOCAL_CFLAGS += -Werror -Wno-error=deprecated-declarations -Wall
    100 LOCAL_CLANG := true
    101 LOCAL_SANITIZE := unsigned-integer-overflow signed-integer-overflow
    102 
    103 include $(BUILD_SHARED_LIBRARY)
    104 
    105