blob: fd4c6c6a91bb6ca381b5d3b467da38ffa70156c4 [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 \
James Dongfe1bafe2010-06-25 17:06:47 -070015 IMediaRecorderClient.cpp \
nikobc726922009-07-20 15:07:26 -070016 IMediaPlayer.cpp \
17 IMediaRecorder.cpp \
Andreas Huber52b52cd2010-11-23 11:41:34 -080018 IStreamSource.cpp \
nikobc726922009-07-20 15:07:26 -070019 Metadata.cpp \
20 mediarecorder.cpp \
21 IMediaMetadataRetriever.cpp \
22 mediametadataretriever.cpp \
23 ToneGenerator.cpp \
24 JetPlayer.cpp \
Eric Laurenta553c252009-07-17 12:17:14 -070025 IOMX.cpp \
Andreas Huberbfb9fb12009-12-03 11:31:19 -080026 IAudioPolicyService.cpp \
27 MediaScanner.cpp \
28 MediaScannerClient.cpp \
James Dong34bbc222010-01-15 18:13:58 -080029 autodetect.cpp \
James Dongc3711942010-01-19 17:45:38 -080030 IMediaDeathNotifier.cpp \
Eric Laurentc0f34382010-05-21 07:47:50 -070031 MediaProfiles.cpp \
32 IEffect.cpp \
Eric Laurent948235c2010-06-09 00:17:29 -070033 IEffectClient.cpp \
Eric Laurentdf9b81c2010-07-02 08:12:41 -070034 AudioEffect.cpp \
Chia-chi Yeh58d3bd02010-08-19 15:34:10 +080035 Visualizer.cpp \
36 fixedfft.cpp.arm
Andreas Huberbfb9fb12009-12-03 11:31:19 -080037
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080038LOCAL_SHARED_LIBRARIES := \
Andreas Huberae9d5072010-12-06 10:36:06 -080039 libui libcutils libutils libbinder libsonivox libicuuc libexpat \
Glenn Kastencc562a32011-02-08 17:26:17 -080040 libsurfaceflinger_client libcamera_client libstagefright_foundation \
41 libgui
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080042
43LOCAL_MODULE:= libmedia
44
45ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Mathias Agopianac2dd4d2009-07-13 22:58:25 -070046LOCAL_LDLIBS += -ldl -lpthread
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080047endif
48
49ifneq ($(TARGET_SIMULATOR),true)
50LOCAL_SHARED_LIBRARIES += libdl
51endif
52
53LOCAL_C_INCLUDES := \
Marco Nelissenc39d2e32009-09-20 10:42:13 -070054 $(JNI_H_INCLUDE) \
55 $(call include-path-for, graphics corecg) \
Andreas Hubera4f391c2010-10-15 13:31:29 -070056 $(TOP)/frameworks/base/include/media/stagefright/openmax \
James Dongc3711942010-01-19 17:45:38 -080057 external/icu4c/common \
58 external/expat/lib
Marco Nelissenc39d2e32009-09-20 10:42:13 -070059
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080060include $(BUILD_SHARED_LIBRARY)