blob: 3adabccb7b2903048d10088ba625385dd00a061d [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
nikobc726922009-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 Laurenta553c252009-07-17 12:17:14 -070023 IOMX.cpp \
Andreas Huberbfb9fb12009-12-03 11:31:19 -080024 IAudioPolicyService.cpp \
25 MediaScanner.cpp \
26 MediaScannerClient.cpp \
James Dong34bbc222010-01-15 18:13:58 -080027 autodetect.cpp \
James Dongc3711942010-01-19 17:45:38 -080028 IMediaDeathNotifier.cpp \
29 MediaProfiles.cpp
Andreas Huberbfb9fb12009-12-03 11:31:19 -080030
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080031LOCAL_SHARED_LIBRARIES := \
Mathias Agopian000479f2010-02-09 17:46:37 -080032 libui libcutils libutils libbinder libsonivox libicuuc libexpat libsurfaceflinger_client libcamera_client
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080033
34LOCAL_MODULE:= libmedia
35
36ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Mathias Agopianac2dd4d2009-07-13 22:58:25 -070037LOCAL_LDLIBS += -ldl -lpthread
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080038endif
39
40ifneq ($(TARGET_SIMULATOR),true)
41LOCAL_SHARED_LIBRARIES += libdl
42endif
43
44LOCAL_C_INCLUDES := \
Marco Nelissenc39d2e32009-09-20 10:42:13 -070045 $(JNI_H_INCLUDE) \
46 $(call include-path-for, graphics corecg) \
James Dongc3711942010-01-19 17:45:38 -080047 $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include \
48 external/speex/include \
49 external/speex/libspeex \
50 external/icu4c/common \
51 external/expat/lib
Marco Nelissenc39d2e32009-09-20 10:42:13 -070052
53LOCAL_STATIC_LIBRARIES := libspeex
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080054
55include $(BUILD_SHARED_LIBRARY)