Android.mk revision 8d65dd26530c7559082bd738cf930e2806158ab2
154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)
254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Projectinclude $(CLEAR_VARS)
354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
455e99c61005b6c9b463f8069a71a7d8540fb8895Andreas Huberifneq ($(BUILD_WITHOUT_PV),true)
555e99c61005b6c9b463f8069a71a7d8540fb8895Andreas Huberinclude external/opencore/Config.mk
655e99c61005b6c9b463f8069a71a7d8540fb8895Andreas Huberendif
755e99c61005b6c9b463f8069a71a7d8540fb8895Andreas Huber
854b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_SRC_FILES:= \
93ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaPlayer.cpp \
103ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaRecorder.cpp \
113ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaScanner.cpp \
123ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaMetadataRetriever.cpp \
13c371194e4e0651c328f1870a90bbfd4e217c747bJames Dong    android_media_ResampleInputStream.cpp \
1449b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    android_media_MediaProfiles.cpp \
1549b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    android_media_AmrInputStream.cpp
1654b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
1754b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
183ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libandroid_runtime \
193ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libnativehelper \
203ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libutils \
2125ba5b6564224dceefa086b5c439ef28dad530caMathias Agopian    libbinder \
223ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libmedia \
23b5af325fb1d21a9295bf3009cc95e5ead4999247Mike Reed    libskia \
24e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber    libui \
25000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libcutils \
26000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libsurfaceflinger_client \
278d65dd26530c7559082bd738cf930e2806158ab2Andreas Huber    libstagefright \
28000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libcamera_client
2954b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
30bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberifneq ($(BUILD_WITHOUT_PV),true)
3137105cc7710f988984e92b65989b78ed59693b8bAndreas Huber
32bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SHARED_LIBRARIES += \
3349b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    libopencore_player
34bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberelse
35bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    LOCAL_CFLAGS += -DNO_OPENCORE
36bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberendif
37bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
3854b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_STATIC_LIBRARIES :=
3954b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_C_INCLUDES += \
413ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    external/tremor/Tremor \
4220cb94eeb5b9672573fc86bf51e09bd66a774581Nicolas Catania    frameworks/base/core/jni \
43bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    frameworks/base/media/libmedia \
4449b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/enc/src \
4549b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/common \
4649b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/common/include \
473ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(PV_INCLUDES) \
483ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(JNI_H_INCLUDE) \
493ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(call include-path-for, corecg graphics)
5054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_CFLAGS +=
5254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_LDLIBS := -lpthread
5454b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5554b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_MODULE:= libmedia_jni
5654b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5754b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
58f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project
59f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project# build libsoundpool.so
60948235c06ed0d49190b2f49d9299b473c4dd61a9Eric Laurent# build libaudioeffect_jni.so
61948235c06ed0d49190b2f49d9299b473c4dd61a9Eric Laurentinclude $(call all-makefiles-under,$(LOCAL_PATH))
62