1# This is the Android makefile for google3/third_party/libsrtp so that we can 2# build it with the Android NDK. 3ifeq ($(TARGET_ARCH),arm) 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_SDK_VERSION := 9 32LOCAL_NDK_STL_VARIANT := stlport_static 33 34LOCAL_SRC_FILES := $(common_SRC_FILES) 35LOCAL_CFLAGS += $(common_CFLAGS) 36LOCAL_C_INCLUDES += $(common_C_INCLUDES) 37 38LOCAL_MODULE:= libyuv_static 39LOCAL_MODULE_TAGS := optional 40 41include $(BUILD_STATIC_LIBRARY) 42 43endif 44