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:= \ |
Jianhong Jiang | 84c18d6 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 10 | MediaRecorderClient.cpp \ |
| 11 | MediaPlayerService.cpp \ |
| 12 | MetadataRetrieverClient.cpp \ |
| 13 | VorbisPlayer.cpp \ |
| 14 | MidiFile.cpp |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 15 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 16 | ifeq ($(TARGET_OS)-$(TARGET_SIMULATOR),linux-true) |
| 17 | LOCAL_LDLIBS += -ldl -lpthread |
| 18 | endif |
| 19 | |
| 20 | LOCAL_SHARED_LIBRARIES := \ |
Jianhong Jiang | 84c18d6 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 21 | libcutils \ |
| 22 | libutils \ |
Mathias Agopian | 615a9bf | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 23 | libbinder \ |
Jianhong Jiang | 84c18d6 | 2009-04-13 19:01:51 -0700 | [diff] [blame] | 24 | libvorbisidec \ |
| 25 | libsonivox \ |
| 26 | libopencore_player \ |
| 27 | libopencore_author \ |
| 28 | libmedia \ |
| 29 | libandroid_runtime |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 30 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 31 | LOCAL_C_INCLUDES := external/tremor/Tremor \ |
Andreas Huber | 20111aa | 2009-07-14 16:56:47 -0700 | [diff] [blame^] | 32 | $(call include-path-for, graphics corecg) \ |
| 33 | $(TOP)/external/opencore/extern_libs_v2/khronos/openmax/include |
Jean-Baptiste Queru | 6c5b210 | 2009-03-21 11:40:18 -0700 | [diff] [blame] | 34 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 35 | LOCAL_MODULE:= libmediaplayerservice |
| 36 | |
Andreas Huber | 20111aa | 2009-07-14 16:56:47 -0700 | [diff] [blame^] | 37 | ifeq ($(BUILD_WITH_STAGEFRIGHT),true) |
| 38 | LOCAL_SRC_FILES += StagefrightPlayer.cpp |
| 39 | |
| 40 | LOCAL_SHARED_LIBRARIES += \ |
| 41 | libstagefright \ |
| 42 | libstagefright_omx |
| 43 | |
| 44 | LOCAL_C_INCLUDES += $(TOP)/frameworks/base/media/libstagefright/omx |
| 45 | |
| 46 | LOCAL_CFLAGS += -DBUILD_WITH_STAGEFRIGHT -DUSE_STAGEFRIGHT |
| 47 | endif |
| 48 | |
The Android Open Source Project | 2729ea9 | 2008-10-21 07:00:00 -0700 | [diff] [blame] | 49 | include $(BUILD_SHARED_LIBRARY) |
| 50 | |