Home | History | Annotate | Download | only in utility
      1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
      2 #
      3 # Use of this source code is governed by a BSD-style license
      4 # that can be found in the LICENSE file in the root of the source
      5 # tree. An additional intellectual property rights grant can be found
      6 # in the file PATENTS.  All contributing project authors may
      7 # be found in the AUTHORS file in the root of the source tree.
      8 
      9 LOCAL_PATH := $(call my-dir)
     10 
     11 include $(CLEAR_VARS)
     12 
     13 LOCAL_ARM_MODE := arm
     14 LOCAL_MODULE_CLASS := STATIC_LIBRARIES
     15 LOCAL_MODULE := libwebrtc_apm_utility
     16 LOCAL_MODULE_TAGS := optional
     17 LOCAL_GENERATED_SOURCES :=
     18 LOCAL_SRC_FILES := fft4g.c \
     19     ring_buffer.c
     20 
     21 # Flags passed to both C and C++ files.
     22 MY_CFLAGS :=  
     23 MY_CFLAGS_C :=
     24 MY_DEFS := '-DNO_TCMALLOC' \
     25     '-DNO_HEAPCHECKER' \
     26     '-DWEBRTC_TARGET_PC' \
     27     '-DWEBRTC_LINUX' \
     28     '-DWEBRTC_THREAD_RR' \
     29     '-DWEBRTC_ANDROID' \
     30     '-DANDROID' 
     31 LOCAL_CFLAGS := $(MY_CFLAGS_C) $(MY_CFLAGS) $(MY_DEFS)
     32 
     33 # Include paths placed before CFLAGS/CPPFLAGS
     34 LOCAL_C_INCLUDES := \
     35     $(LOCAL_PATH)
     36 
     37 # Flags passed to only C++ (and not C) files.
     38 LOCAL_CPPFLAGS := 
     39 LOCAL_LDFLAGS :=
     40 
     41 LOCAL_STATIC_LIBRARIES :=
     42 
     43 LOCAL_SHARED_LIBRARIES := libcutils \
     44     libdl \
     45     libstlport
     46 LOCAL_ADDITIONAL_DEPENDENCIES :=
     47 
     48 include external/stlport/libstlport.mk
     49 include $(BUILD_STATIC_LIBRARY)
     50