blob: de9e51da4cbf74603a2b0c23a006fde8a7897a79 [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 \
James Dong37047fc2010-06-25 17:06:47 -070015 IMediaRecorderClient.cpp \
nikoa64c8c72009-07-20 15:07:26 -070016 IMediaPlayer.cpp \
17 IMediaRecorder.cpp \
18 Metadata.cpp \
19 mediarecorder.cpp \
20 IMediaMetadataRetriever.cpp \
21 mediametadataretriever.cpp \
22 ToneGenerator.cpp \
23 JetPlayer.cpp \
Eric Laurentc2f1f072009-07-17 12:17:14 -070024 IOMX.cpp \
Andreas Huber413f5232009-12-03 11:31:19 -080025 IAudioPolicyService.cpp \
26 MediaScanner.cpp \
27 MediaScannerClient.cpp \
James Dongdd172fc2010-01-15 18:13:58 -080028 autodetect.cpp \
James Dong1d7491b2010-01-19 17:45:38 -080029 IMediaDeathNotifier.cpp \
Eric Laurentd71a1be2010-05-21 07:47:50 -070030 MediaProfiles.cpp \
31 IEffect.cpp \
Eric Laurent801a1182010-06-09 00:17:29 -070032 IEffectClient.cpp \
33 AudioEffect.cpp
Andreas Huber413f5232009-12-03 11:31:19 -080034
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080035LOCAL_SHARED_LIBRARIES := \
Mathias Agopian3cf61352010-02-09 17:46:37 -080036 libui libcutils libutils libbinder libsonivox libicuuc libexpat libsurfaceflinger_client libcamera_client
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080037
38LOCAL_MODULE:= libmedia
39
40ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Mathias Agopian2b50fba2009-07-13 22:58:25 -070041LOCAL_LDLIBS += -ldl -lpthread
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080042endif
43
44ifneq ($(TARGET_SIMULATOR),true)
45LOCAL_SHARED_LIBRARIES += libdl
46endif
47
48LOCAL_C_INCLUDES := \
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070049 $(JNI_H_INCLUDE) \
50 $(call include-path-for, graphics corecg) \
James Dong1d7491b2010-01-19 17:45:38 -080051 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
52 external/speex/include \
53 external/speex/libspeex \
54 external/icu4c/common \
55 external/expat/lib
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070056
57LOCAL_STATIC_LIBRARIES := libspeex
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080058
59include $(BUILD_SHARED_LIBRARY)