The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # |
| 4 | # libmediaplayerservice |
| 5 | # |
| 6 | |
| 7 | include $(CLEAR_VARS) |
| 8 | |
| 9 | LOCAL_SRC_FILES:= \ |
| 10 | MediaPlayerService.cpp \ |
The Android Open Source Project | 7b5eb02 | 2008-12-17 18:05:43 -0800 | [diff] [blame] | 11 | MetadataRetrieverClient.cpp \ |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 12 | VorbisPlayer.cpp \ |
| 13 | MidiFile.cpp |
| 14 | |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame^] | 15 | ifneq ($(BUILD_WITHOUT_PV),true) |
| 16 | LOCAL_SRC_FILES+= \ |
| 17 | MediaRecorderClient.cpp |
| 18 | endif |
| 19 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 20 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 21 | LOCAL_LDLIBS += -ldl -lpthread |
| 22 | endif |
| 23 | |
| 24 | LOCAL_SHARED_LIBRARIES := \ |
| 25 | libcutils \ |
| 26 | libutils \ |
| 27 | libvorbisidec \ |
| 28 | libsonivox \ |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 29 | libmedia \ |
| 30 | libandroid_runtime |
| 31 | |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame^] | 32 | ifneq ($(BUILD_WITHOUT_PV),true) |
| 33 | LOCAL_SHARED_LIBRARIES += \ |
| 34 | libopencore_player \ |
| 35 | libopencore_author |
| 36 | endif |
| 37 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 38 | LOCAL_C_INCLUDES := external/tremor/Tremor \ |
| 39 | $(call include-path-for, graphics corecg) |
| 40 | |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame^] | 41 | ifeq ($(BUILD_WITHOUT_PV),true) |
| 42 | LOCAL_CFLAGS := -DNO_OPENCORE |
| 43 | endif |
| 44 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 45 | LOCAL_MODULE:= libmediaplayerservice |
| 46 | |
| 47 | include $(BUILD_SHARED_LIBRARY) |
| 48 | |