android_mt6572_jiabo/external/ffmpeg/libavcodec/Android.mk
2025-09-05 16:56:03 +08:00

49 lines
990 B
Makefile

#
# Copyright (C) 2013 The Android-x86 Open Source Project
#
# Licensed under the GNU General Public License Version 2 or later.
# You may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.gnu.org/licenses/gpl.html
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
FFMPEG_MULTILIB := 32
include $(LOCAL_PATH)/../android/build.mk
LOCAL_C_INCLUDES += \
external/zlib
LOCAL_SHARED_LIBRARIES += \
libz \
libavutil \
libswresample
ifneq ($(ARCH_ARM_HAVE_NEON),)
LOCAL_SRC_FILES += neon/mpegvideo.c
endif
LOCAL_MULTILIB := $(FFMPEG_MULTILIB)
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
FFMPEG_MULTILIB := 64
include $(LOCAL_PATH)/../android/build.mk
LOCAL_C_INCLUDES += \
external/zlib
LOCAL_SHARED_LIBRARIES += \
libz \
libavutil \
libswresample
ifneq ($(ARCH_ARM_HAVE_NEON),)
LOCAL_SRC_FILES += neon/mpegvideo.c
endif
LOCAL_MULTILIB := $(FFMPEG_MULTILIB)
include $(BUILD_SHARED_LIBRARY)