Android.mk revision bfb9fb143b67c2d0307af2bce9af3c08f362b29a
154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_PATH:= $(call my-dir)
254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Projectinclude $(CLEAR_VARS)
354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
454b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_SRC_FILES:= \
53ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaPlayer.cpp \
63ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaRecorder.cpp \
73ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaScanner.cpp \
83ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_MediaMetadataRetriever.cpp \
93ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    android_media_ResampleInputStream.cpp
1054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
1154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_SHARED_LIBRARIES := \
123ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libandroid_runtime \
133ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libnativehelper \
143ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libutils \
1525ba5b6564224dceefa086b5c439ef28dad530caMathias Agopian    libbinder \
163ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libmedia \
17b5af325fb1d21a9295bf3009cc95e5ead4999247Mike Reed    libskia \
183ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    libui
1954b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
20bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberifneq ($(BUILD_WITHOUT_PV),true)
21bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SRC_FILES += \
22bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    android_media_AmrInputStream.cpp
23bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
24bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas HuberLOCAL_SHARED_LIBRARIES += \
25bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    libopencore_player          \
26bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    libomx_amrenc_sharedlibrary
27bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberelse
28bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    LOCAL_CFLAGS += -DNO_OPENCORE
29bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huberendif
30bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber
3154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_STATIC_LIBRARIES :=
3254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
3354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_C_INCLUDES += \
343ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    external/tremor/Tremor \
3520cb94eeb5b9672573fc86bf51e09bd66a774581Nicolas Catania    frameworks/base/core/jni \
36bfb9fb143b67c2d0307af2bce9af3c08f362b29aAndreas Huber    frameworks/base/media/libmedia \
373ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(PV_INCLUDES) \
383ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(JNI_H_INCLUDE) \
393ca47d101db63b619f15723d5131ff7bc8f3a5beJianhong Jiang    $(call include-path-for, corecg graphics)
4054b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4154b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_CFLAGS +=
4254b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4354b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_LDLIBS := -lpthread
4454b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4554b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source ProjectLOCAL_MODULE:= libmedia_jni
4654b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Project
4754b6cfa9a9e5b861a9930af873580d6dc20f773The Android Open Source Projectinclude $(BUILD_SHARED_LIBRARY)
48f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project
49f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Project# build libsoundpool.so
50f013e1afd1e68af5e3b868c26a653bbfb39538f8The Android Open Source Projectinclude $(LOCAL_PATH)/soundpool/Android.mk
51