blob: ca7441afdcb0bf0be5617706e24e32ca41b2e4f1 [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 \
Andreas Hubere2b10282010-11-23 11:41:34 -080018 IStreamSource.cpp \
nikoa64c8c72009-07-20 15:07:26 -070019 Metadata.cpp \
20 mediarecorder.cpp \
21 IMediaMetadataRetriever.cpp \
22 mediametadataretriever.cpp \
23 ToneGenerator.cpp \
24 JetPlayer.cpp \
Eric Laurentc2f1f072009-07-17 12:17:14 -070025 IOMX.cpp \
Andreas Huber413f5232009-12-03 11:31:19 -080026 IAudioPolicyService.cpp \
27 MediaScanner.cpp \
28 MediaScannerClient.cpp \
James Dongdd172fc2010-01-15 18:13:58 -080029 autodetect.cpp \
James Dong1d7491b2010-01-19 17:45:38 -080030 IMediaDeathNotifier.cpp \
Eric Laurentd71a1be2010-05-21 07:47:50 -070031 MediaProfiles.cpp \
32 IEffect.cpp \
Eric Laurent801a1182010-06-09 00:17:29 -070033 IEffectClient.cpp \
Eric Laurentda7581b2010-07-02 08:12:41 -070034 AudioEffect.cpp \
Chia-chi Yehdbd2b7e2010-08-19 15:34:10 +080035 Visualizer.cpp \
James Dong8635b7b2011-03-14 17:01:38 -070036 MemoryLeakTrackUtil.cpp \
Chia-chi Yehdbd2b7e2010-08-19 15:34:10 +080037 fixedfft.cpp.arm
Andreas Huber413f5232009-12-03 11:31:19 -080038
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080039LOCAL_SHARED_LIBRARIES := \
Andreas Huber14acc732010-12-06 10:36:06 -080040 libui libcutils libutils libbinder libsonivox libicuuc libexpat \
Mathias Agopian5f7fcf22011-03-25 18:42:40 -070041 libcamera_client libstagefright_foundation \
Glenn Kasten11731182011-02-08 17:26:17 -080042 libgui
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080043
44LOCAL_MODULE:= libmedia
45
46ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true)
Mathias Agopian2b50fba2009-07-13 22:58:25 -070047LOCAL_LDLIBS += -ldl -lpthread
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080048endif
49
50ifneq ($(TARGET_SIMULATOR),true)
51LOCAL_SHARED_LIBRARIES += libdl
52endif
53
54LOCAL_C_INCLUDES := \
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070055 $(JNI_H_INCLUDE) \
56 $(call include-path-for, graphics corecg) \
Andreas Huber56cfa232010-10-15 13:31:29 -070057 $(TOP)/frameworks/base/include/media/stagefright/openmax \
James Dong1d7491b2010-01-19 17:45:38 -080058 external/icu4c/common \
59 external/expat/lib
Marco Nelissen10dbb8e2009-09-20 10:42:13 -070060
The Android Open Source Project89fa4ad2009-03-03 19:31:44 -080061include $(BUILD_SHARED_LIBRARY)