blob: 29cd2ee502a44bef7f850af15d530137377a312e [file] [log] [blame]
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
nikoa64c8c72009-07-20 15:07:26 -07005 AudioTrack.cpp \
6 IAudioFlinger.cpp \
7 IAudioFlingerClient.cpp \
8 IAudioTrack.cpp \
9 IAudioRecord.cpp \
10 AudioRecord.cpp \
11 AudioSystem.cpp \
12 mediaplayer.cpp \
13 IMediaPlayerService.cpp \
14 IMediaPlayerClient.cpp \
15 IMediaPlayer.cpp \
16 IMediaRecorder.cpp \
17 Metadata.cpp \
18 mediarecorder.cpp \
19 IMediaMetadataRetriever.cpp \
20 mediametadataretriever.cpp \
21 ToneGenerator.cpp \
22 JetPlayer.cpp \
Eric Laurentc2f1f072009-07-17 12:17:14 -070023 IOMX.cpp \
Andreas Huber413f5232009-12-03 11:31:19 -080024 IAudioPolicyService.cpp \
25 MediaScanner.cpp \
26 MediaScannerClient.cpp \
James Dongdd172fc2010-01-15 18:13:58 -080027 autodetect.cpp \
James Dong1d7491b2010-01-19 17:45:38 -080028 IMediaDeathNotifier.cpp \
Eric Laurentd71a1be2010-05-21 07:47:50 -070029 MediaProfiles.cpp \
30 IEffect.cpp \
31 IEffectClient.cpp
Andreas Huber413f5232009-12-03 11:31:19 -080032
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080033LOCAL_SHARED_LIBRARIES := \
Mathias Agopian3cf61352010-02-09 17:46:37 -080034 libui libcutils libutils libbinder libsonivox libicuuc libexpat libsurfaceflinger_client libcamera_client
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080035
36LOCAL_MODULE:= libmedia
37
38ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Mathias Agopian2b50fba2009-07-13 22:58:25 -070039LOCAL_LDLIBS += -ldl -lpthread
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080040endif
41
42ifneq ($(TARGET_SIMULATOR),true)
43LOCAL_SHARED_LIBRARIES += libdl
44endif
45
46LOCAL_C_INCLUDES := \
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070047 $(JNI_H_INCLUDE) \
48 $(call include-path-for, graphics corecg) \
James Dong1d7491b2010-01-19 17:45:38 -080049 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
50 external/speex/include \
51 external/speex/libspeex \
52 external/icu4c/common \
53 external/expat/lib
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070054
55LOCAL_STATIC_LIBRARIES := libspeex
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080056
57include $(BUILD_SHARED_LIBRARY)