1# This is the Android makefile for google3/third_party/libsrtp so that we can 2# build it with the Android NDK. 3ifneq ($(TARGET_ARCH),x86) 4 5LOCAL_PATH := $(call my-dir) 6 7common_SRC_FILES := \ 8 files/source/convert.cc \ 9 files/source/format_conversion.cc \ 10 files/source/planar_functions.cc \ 11 files/source/row_posix.cc \ 12 files/source/video_common.cc \ 13 files/source/cpu_id.cc \ 14 files/source/general.cc \ 15 files/source/rotate.cc \ 16 files/source/row_table.cc \ 17 files/source/scale.cc 18 19common_CFLAGS := -Wall -fexceptions 20 21common_C_INCLUDES = $(LOCAL_PATH)/files/include 22 23# For the device 24# ===================================================== 25# Device static library 26 27include $(CLEAR_VARS) 28 29LOCAL_CPP_EXTENSION := .cc 30 31LOCAL_NDK_VERSION := 5 32LOCAL_SDK_VERSION := 9 33LOCAL_NDK_STL_VARIANT := stlport_static 34 35LOCAL_SRC_FILES := $(common_SRC_FILES) 36LOCAL_CFLAGS += $(common_CFLAGS) 37LOCAL_C_INCLUDES += $(common_C_INCLUDES) 38 39LOCAL_MODULE:= libyuv_static 40LOCAL_MODULE_TAGS := optional 41 42include $(BUILD_STATIC_LIBRARY) 43 44endif 45