Android.mk revision 948235c06ed0d49190b2f49d9299b473c4dd61a9
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 \
14c371194e4e0651c328f1870a90bbfd4e217c747bJames Dong    android_media_MediaProfiles.cpp
1554b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
1654b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
173ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libandroid_runtime \
183ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libnativehelper \
193ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libutils \
2025ba5b6564224dceefa086b5c439ef28dad530caMathias Agopian    libbinder \
213ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libmedia \
22b5af325fb1d21a9295bf3009cc95e5ead4999247Mike Reed    libskia \
23e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber    libui \
24000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libcutils \
25000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libsurfaceflinger_client \
26000479f9e325b4e426a67033abd92d47da412725Mathias Agopian    libcamera_client
2754b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
28bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberifneq ($(BUILD_WITHOUT_PV),true)
2937105cc7710f988984e92b65989b78ed59693b8bAndreas Huber
30bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SRC_FILES += \
31bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    android_media_AmrInputStream.cpp
32bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
33bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SHARED_LIBRARIES += \
34bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    libopencore_player          \
35bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    libomx_amrenc_sharedlibrary
36bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberelse
37bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    LOCAL_CFLAGS += -DNO_OPENCORE
38bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberendif
39bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
40e4a838051de5e56f44c71117073a035b804b5d04Andreas Huberifeq ($(BUILD_WITH_FULL_STAGEFRIGHT),true)
41e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
42e4a838051de5e56f44c71117073a035b804b5d04Andreas HuberLOCAL_CFLAGS += -DBUILD_WITH_FULL_STAGEFRIGHT=1
43e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
44e4a838051de5e56f44c71117073a035b804b5d04Andreas HuberLOCAL_SHARED_LIBRARIES += \
45e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber    libstagefright
46e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
47e4a838051de5e56f44c71117073a035b804b5d04Andreas Huberendif
48e4a838051de5e56f44c71117073a035b804b5d04Andreas Huber
4954b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_STATIC_LIBRARIES :=
5054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
5154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_C_INCLUDES += \
523ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    external/tremor/Tremor \
5320cb94eeb5b9672573fc86bf51e09bd66a774581Nicolas Catania    frameworks/base/core/jni \
54bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    frameworks/base/media/libmedia \
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