OSDN Git Service

Android porting for ffmpeg 2.1 release
[android-x86/external-ffmpeg.git] / libavcodec / Android.mk
1 #
2 # Copyright (C) 2013 The Android-x86 Open Source Project
3 #
4 # Licensed under the GNU General Public License Version 2 or later.
5 # You may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #      http://www.gnu.org/licenses/gpl.html
9 #
10
11 LOCAL_PATH := $(call my-dir)
12
13 include $(LOCAL_PATH)/../android/build.mk
14
15 LOCAL_C_INCLUDES +=             \
16         external/zlib
17
18 LOCAL_SHARED_LIBRARIES +=       \
19         libz
20
21 # It's strange wmalosslessdec.c can't be compiled by -O3 for armv7-a-neon. A gcc bug?
22 $(intermediates)/wmalosslessdec.o: PRIVATE_CFLAGS += $(if $(filter arm,$(TARGET_ARCH)),-Os)
23
24 include $(BUILD_SHARED_LIBRARY)