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