2011-08-05 21:01:02 +00:00
|
|
|
# Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
2011-07-07 08:21:25 +00:00
|
|
|
|
|
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
2011-08-05 21:01:02 +00:00
|
|
|
include $(LOCAL_PATH)/../../../../../../android-webrtc.mk
|
|
|
|
|
|
2011-07-07 08:21:25 +00:00
|
|
|
LOCAL_MODULE_CLASS := STATIC_LIBRARIES
|
|
|
|
|
LOCAL_MODULE := libwebrtc_ns
|
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
|
LOCAL_GENERATED_SOURCES :=
|
|
|
|
|
LOCAL_SRC_FILES := \
|
|
|
|
|
noise_suppression_x.c \
|
|
|
|
|
nsx_core.c
|
|
|
|
|
|
|
|
|
|
# floating point
|
|
|
|
|
# noise_suppression.c ns_core.c
|
|
|
|
|
|
|
|
|
|
# Flags passed to both C and C++ files.
|
2011-07-25 22:49:00 +00:00
|
|
|
LOCAL_CFLAGS := \
|
|
|
|
|
$(MY_WEBRTC_COMMON_DEFS)
|
2011-07-07 08:21:25 +00:00
|
|
|
|
2011-07-25 22:49:00 +00:00
|
|
|
LOCAL_C_INCLUDES := \
|
2011-07-07 08:21:25 +00:00
|
|
|
$(LOCAL_PATH)/../interface \
|
|
|
|
|
$(LOCAL_PATH)/../../../utility \
|
2011-07-25 22:49:00 +00:00
|
|
|
$(LOCAL_PATH)/../../../../.. \
|
2011-07-07 08:21:25 +00:00
|
|
|
$(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface
|
|
|
|
|
|
2011-07-25 22:49:00 +00:00
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
|
|
|
libcutils \
|
2011-07-07 08:21:25 +00:00
|
|
|
libdl \
|
|
|
|
|
libstlport
|
|
|
|
|
|
2011-07-25 22:49:00 +00:00
|
|
|
ifndef NDK_ROOT
|
2011-07-07 08:21:25 +00:00
|
|
|
include external/stlport/libstlport.mk
|
2011-07-25 22:49:00 +00:00
|
|
|
endif
|
2011-07-07 08:21:25 +00:00
|
|
|
include $(BUILD_STATIC_LIBRARY)
|