mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2026-02-16 07:09:53 +08:00
Android.mk moved into libyuv to central support
BUG=93 TEST=none Review URL: https://webrtc-codereview.appspot.com/807005 git-svn-id: http://libyuv.googlecode.com/svn/trunk@365 16f28f9a-4ce2-e073-06de-1de4eb20be90
This commit is contained in:
parent
2d61b7495d
commit
855c3a3d9e
49
Android.mk
Normal file
49
Android.mk
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# This is the Android makefile for libyuv so that we can
|
||||||
|
# build it with the Android NDK.
|
||||||
|
ifneq ($(TARGET_ARCH),x86)
|
||||||
|
|
||||||
|
LOCAL_PATH := $(call my-dir)
|
||||||
|
|
||||||
|
common_SRC_FILES := \
|
||||||
|
source/compare.cc \
|
||||||
|
source/convert.cc \
|
||||||
|
source/convert_from.cc \
|
||||||
|
source/cpu_id.cc \
|
||||||
|
source/format_conversion.cc \
|
||||||
|
source/planar_functions.cc \
|
||||||
|
source/rotate.cc \
|
||||||
|
source/row_common.cc \
|
||||||
|
source/row_posix.cc \
|
||||||
|
source/scale.cc \
|
||||||
|
source/scale_argb.cc \
|
||||||
|
source/video_common.cc
|
||||||
|
# For Neon support, add .neon to all filenames and the following
|
||||||
|
# source/rotate_neon.cc
|
||||||
|
# source/row_neon.cc
|
||||||
|
|
||||||
|
common_CFLAGS := -Wall -fexceptions
|
||||||
|
|
||||||
|
common_C_INCLUDES = $(LOCAL_PATH)/include
|
||||||
|
|
||||||
|
# For the device
|
||||||
|
# =====================================================
|
||||||
|
# Device static library
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_CPP_EXTENSION := .cc
|
||||||
|
|
||||||
|
LOCAL_NDK_VERSION := 5
|
||||||
|
LOCAL_SDK_VERSION := 9
|
||||||
|
LOCAL_NDK_STL_VARIANT := stlport_static
|
||||||
|
|
||||||
|
LOCAL_SRC_FILES := $(common_SRC_FILES)
|
||||||
|
LOCAL_CFLAGS += $(common_CFLAGS)
|
||||||
|
LOCAL_C_INCLUDES += $(common_C_INCLUDES)
|
||||||
|
|
||||||
|
LOCAL_MODULE:= libyuv_static
|
||||||
|
LOCAL_MODULE_TAGS := optional
|
||||||
|
|
||||||
|
include $(BUILD_STATIC_LIBRARY)
|
||||||
|
|
||||||
|
endif
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: libyuv
|
Name: libyuv
|
||||||
URL: http://code.google.com/p/libyuv/
|
URL: http://code.google.com/p/libyuv/
|
||||||
Version: 364
|
Version: 365
|
||||||
License: BSD
|
License: BSD
|
||||||
License File: LICENSE
|
License File: LICENSE
|
||||||
|
|
||||||
|
|||||||
@ -11,6 +11,6 @@
|
|||||||
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
#ifndef INCLUDE_LIBYUV_VERSION_H_ // NOLINT
|
||||||
#define INCLUDE_LIBYUV_VERSION_H_
|
#define INCLUDE_LIBYUV_VERSION_H_
|
||||||
|
|
||||||
#define LIBYUV_VERSION 364
|
#define LIBYUV_VERSION 365
|
||||||
|
|
||||||
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
#endif // INCLUDE_LIBYUV_VERSION_H_ NOLINT
|
||||||
|
|||||||
13
public.mk
Normal file
13
public.mk
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# This file contains all the common make variables which are useful for
|
||||||
|
# anyone depending on this library.
|
||||||
|
# Note that dependencies on NDK are not directly listed since NDK auto adds
|
||||||
|
# them.
|
||||||
|
|
||||||
|
LIBYUV_INCLUDES := $(LIBYUV_PATH)/include
|
||||||
|
|
||||||
|
LIBYUV_C_FLAGS :=
|
||||||
|
|
||||||
|
LIBYUV_CPP_FLAGS :=
|
||||||
|
|
||||||
|
LIBYUV_LDLIBS :=
|
||||||
|
LIBYUV_DEP_MODULES :=
|
||||||
Loading…
x
Reference in New Issue
Block a user