blob: 5eceb14059e80fd3fe14f4dc01e0e704a768205e [file] [log] [blame]
andrew@webrtc.orgb9d7d932012-01-25 19:21:13 +00001# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
leozwang@google.com79835d12011-08-05 21:01:02 +00002#
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.
niklase@google.com470e71d2011-07-07 08:21:25 +00008
9LOCAL_PATH := $(call my-dir)
10
11include $(CLEAR_VARS)
12
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000013include $(LOCAL_PATH)/../../../../android-webrtc.mk
leozwang@google.com79835d12011-08-05 21:01:02 +000014
niklase@google.com470e71d2011-07-07 08:21:25 +000015LOCAL_ARM_MODE := arm
16LOCAL_MODULE_CLASS := STATIC_LIBRARIES
17LOCAL_MODULE := libwebrtc_agc
18LOCAL_MODULE_TAGS := optional
leozwang@google.com58d09cf2011-07-25 22:49:00 +000019LOCAL_SRC_FILES := \
20 analog_agc.c \
niklase@google.com470e71d2011-07-07 08:21:25 +000021 digital_agc.c
22
23# Flags passed to both C and C++ files.
leozwang@google.com58d09cf2011-07-25 22:49:00 +000024LOCAL_CFLAGS := \
25 $(MY_WEBRTC_COMMON_DEFS)
niklase@google.com470e71d2011-07-07 08:21:25 +000026
leozwang@google.com58d09cf2011-07-25 22:49:00 +000027LOCAL_C_INCLUDES := \
andrew@webrtc.orgb9d7d932012-01-25 19:21:13 +000028 $(LOCAL_PATH)/include \
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000029 $(LOCAL_PATH)/../../.. \
kjellander@webrtc.org0403ef42011-11-17 08:35:47 +000030 $(LOCAL_PATH)/../../../common_audio/signal_processing/include
niklase@google.com470e71d2011-07-07 08:21:25 +000031
leozwang@google.com58d09cf2011-07-25 22:49:00 +000032LOCAL_SHARED_LIBRARIES := \
33 libcutils \
niklase@google.com470e71d2011-07-07 08:21:25 +000034 libdl \
35 libstlport
niklase@google.com470e71d2011-07-07 08:21:25 +000036
leozwang@google.com58d09cf2011-07-25 22:49:00 +000037ifndef NDK_ROOT
niklase@google.com470e71d2011-07-07 08:21:25 +000038include external/stlport/libstlport.mk
leozwang@google.com58d09cf2011-07-25 22:49:00 +000039endif
niklase@google.com470e71d2011-07-07 08:21:25 +000040include $(BUILD_STATIC_LIBRARY)