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 # apm test app 12 13 include $(CLEAR_VARS) 14 15 LOCAL_MODULE_TAGS := tests 16 LOCAL_CPP_EXTENSION := .cc 17 LOCAL_SRC_FILES:= \ 18 unit_test.cc 19 20 # Flags passed to both C and C++ files. 21 LOCAL_CFLAGS := \ 22 '-DWEBRTC_TARGET_PC' \ 23 '-DWEBRTC_LINUX' \ 24 '-DWEBRTC_THREAD_RR' \ 25 '-DWEBRTC_ANDROID' \ 26 '-DANDROID' 27 28 LOCAL_CPPFLAGS := 29 LOCAL_LDFLAGS := 30 LOCAL_C_INCLUDES := \ 31 external/gtest/include \ 32 $(LOCAL_PATH)/../../../../../system_wrappers/interface \ 33 $(LOCAL_PATH)/../../../../../common_audio/signal_processing_library/main/interface \ 34 $(LOCAL_PATH)/../../interface \ 35 $(LOCAL_PATH)/../../../../interface \ 36 $(LOCAL_PATH)/../../../../.. 37 38 LOCAL_STATIC_LIBRARIES := \ 39 libgtest 40 41 LOCAL_SHARED_LIBRARIES := \ 42 libutils \ 43 libstlport \ 44 libwebrtc_audio_preprocessing 45 46 LOCAL_MODULE:= webrtc_apm_unit_test 47 48 include external/stlport/libstlport.mk 49 include $(BUILD_EXECUTABLE) 50