Home | History | Annotate | Download | only in libyuv
      1 # This is the Android makefile for google3/third_party/libsrtp so that we can
      2 # build it with the Android NDK.
      3 ifneq ($(TARGET_ARCH),x86)
      4 
      5 LOCAL_PATH := $(call my-dir)
      6 
      7 common_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 
     19 common_CFLAGS := -Wall -fexceptions
     20 
     21 common_C_INCLUDES = $(LOCAL_PATH)/files/include
     22 
     23 # For the device
     24 # =====================================================
     25 # Device static library
     26 
     27 include $(CLEAR_VARS)
     28 
     29 LOCAL_CPP_EXTENSION := .cc
     30 
     31 LOCAL_NDK_VERSION := 5
     32 LOCAL_SDK_VERSION := 9
     33 LOCAL_NDK_STL_VARIANT := stlport_static
     34 
     35 LOCAL_SRC_FILES := $(common_SRC_FILES)
     36 LOCAL_CFLAGS += $(common_CFLAGS)
     37 LOCAL_C_INCLUDES += $(common_C_INCLUDES)
     38 
     39 LOCAL_MODULE:= libyuv_static
     40 LOCAL_MODULE_TAGS := optional
     41 
     42 include $(BUILD_STATIC_LIBRARY)
     43 
     44 endif
     45