Android.mk revision 49b6fbaebd5413b92c6dcff423da95d5525455ee
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 \
27000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libcamera_client
2854b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
29bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberifneq ($(BUILD_WITHOUT_PV),true)
3037105cc7710f988984e92b65989b78ed59693b8bAndreas Huber
31bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SHARED_LIBRARIES += \
3249b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    libopencore_player
33bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberelse
34bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    LOCAL_CFLAGS += -DNO_OPENCORE
35bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberendif
36bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
37e4a838051de5e56f44c71117073a035b804b5d04Andreas Huberifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
38e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
39e4a838051de5e56f44c71117073a035b804b5d04Andreas HuberLOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1
40e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
41e4a838051de5e56f44c71117073a035b804b5d04Andreas HuberLOCAL_SHARED_LIBRARIES += \
42e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber    libstagefright
43e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
44e4a838051de5e56f44c71117073a035b804b5d04Andreas Huberendif
45e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
4654b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_STATIC_LIBRARIES :=
4754b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4854b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_C_INCLUDES += \
493ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    external/tremor/Tremor \
5020cb94eeb5b9672573fc86bf51e09bd66a774581Nicolas Catania    frameworks/base/core/jni \
51bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    frameworks/base/media/libmedia \
5249b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/enc/src \
5349b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/common \
5449b6fbaebd5413b92c6dcff423da95d5525455eeJames Dong    frameworks/base/media/libstagefright/codecs/amrnb/common/include \
553ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(PV_INCLUDES) \
563ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(JNI_H_INCLUDE) \
573ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(call include-path-for, corecg graphics)
5854b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5954b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_CFLAGS +=
6054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
6154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_LDLIBS := -lpthread
6254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
6354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_MODULE:= libmedia_jni
6454b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
6554b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
66f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project
67f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project# build libsoundpool.so
68948235c06ed0d49190b2f49d9299b473c4dd61a9Eric Laurent# build libaudioeffect_jni.so
69948235c06ed0d49190b2f49d9299b473c4dd61a9Eric Laurentinclude $(call all-makefiles-under,$(LOCAL_PATH))
70