1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES:= \
6    AudioParameter.cpp
7LOCAL_MODULE:= libmedia_helper
8LOCAL_MODULE_TAGS := optional
9
10include $(BUILD_STATIC_LIBRARY)
11
12include $(CLEAR_VARS)
13
14LOCAL_SRC_FILES:= \
15    AudioTrack.cpp \
16    IAudioFlinger.cpp \
17    IAudioFlingerClient.cpp \
18    IAudioTrack.cpp \
19    IAudioRecord.cpp \
20    ICrypto.cpp \
21    IHDCP.cpp \
22    AudioRecord.cpp \
23    AudioSystem.cpp \
24    mediaplayer.cpp \
25    IMediaPlayerService.cpp \
26    IMediaPlayerClient.cpp \
27    IMediaRecorderClient.cpp \
28    IMediaPlayer.cpp \
29    IMediaRecorder.cpp \
30    IRemoteDisplay.cpp \
31    IRemoteDisplayClient.cpp \
32    IStreamSource.cpp \
33    Metadata.cpp \
34    mediarecorder.cpp \
35    IMediaMetadataRetriever.cpp \
36    mediametadataretriever.cpp \
37    ToneGenerator.cpp \
38    JetPlayer.cpp \
39    IOMX.cpp \
40    IAudioPolicyService.cpp \
41    MediaScanner.cpp \
42    MediaScannerClient.cpp \
43    autodetect.cpp \
44    IMediaDeathNotifier.cpp \
45    MediaProfiles.cpp \
46    IEffect.cpp \
47    IEffectClient.cpp \
48    AudioEffect.cpp \
49    Visualizer.cpp \
50    MemoryLeakTrackUtil.cpp \
51    SoundPool.cpp \
52    SoundPoolThread.cpp
53
54LOCAL_SHARED_LIBRARIES := \
55	libui libcutils libutils libbinder libsonivox libicuuc libexpat \
56        libcamera_client libstagefright_foundation \
57        libgui libdl libaudioutils libmedia_native
58
59LOCAL_WHOLE_STATIC_LIBRARY := libmedia_helper
60
61LOCAL_MODULE:= libmedia
62
63LOCAL_C_INCLUDES := \
64    $(call include-path-for, graphics corecg) \
65    $(TOP)/frameworks/native/include/media/openmax \
66    external/icu4c/common \
67    $(call include-path-for, audio-effects) \
68    $(call include-path-for, audio-utils)
69
70include $(BUILD_SHARED_LIBRARY)
71