niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 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 | # voice engine test app |
| 12 | |
| 13 | include $(CLEAR_VARS) |
| 14 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 15 | include $(LOCAL_PATH)/../../../../../android-webrtc.mk |
| 16 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 17 | LOCAL_MODULE_TAGS := tests |
| 18 | LOCAL_CPP_EXTENSION := .cc |
| 19 | LOCAL_SRC_FILES:= \ |
kma@webrtc.org | b61c410 | 2011-11-10 18:10:25 +0000 | [diff] [blame] | 20 | automated_mode.cc \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 21 | voe_cpu_test.cc \ |
| 22 | voe_standard_test.cc \ |
| 23 | voe_stress_test.cc \ |
| 24 | voe_unit_test.cc \ |
kma@webrtc.org | b61c410 | 2011-11-10 18:10:25 +0000 | [diff] [blame] | 25 | voe_extended_test.cc \ |
| 26 | voe_standard_integration_test.cc |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 27 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 28 | # Flags passed to both C and C++ files. |
| 29 | LOCAL_CFLAGS := \ |
| 30 | '-DWEBRTC_TARGET_PC' \ |
| 31 | '-DWEBRTC_LINUX' \ |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 32 | '-DWEBRTC_ANDROID' |
| 33 | |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 34 | LOCAL_C_INCLUDES := \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 35 | $(LOCAL_PATH)/../../interface \ |
| 36 | $(LOCAL_PATH)/../../../.. \ |
leozwang@google.com | a570087 | 2011-09-16 20:38:31 +0000 | [diff] [blame] | 37 | $(LOCAL_PATH)/../../../../modules/audio_device/main/interface \ |
leozwang@google.com | 90eff6c | 2011-09-21 18:02:03 +0000 | [diff] [blame] | 38 | $(LOCAL_PATH)/../../../../modules/interface \ |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 39 | $(LOCAL_PATH)/../../../../system_wrappers/interface \ |
kma@webrtc.org | 4bb1410 | 2011-11-02 16:38:22 +0000 | [diff] [blame] | 40 | $(LOCAL_PATH)/../../../../../test \ |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 41 | external/gtest/include \ |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 42 | |
| 43 | LOCAL_SHARED_LIBRARIES := \ |
| 44 | libutils \ |
| 45 | libstlport \ |
| 46 | libwebrtc |
| 47 | |
| 48 | LOCAL_MODULE:= webrtc_voe_autotest |
| 49 | |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 50 | ifdef NDK_ROOT |
niklase@google.com | 470e71d | 2011-07-07 08:21:25 +0000 | [diff] [blame] | 51 | include $(BUILD_EXECUTABLE) |
leozwang@google.com | 79835d1 | 2011-08-05 21:01:02 +0000 | [diff] [blame] | 52 | else |
| 53 | include external/stlport/libstlport.mk |
| 54 | include $(BUILD_NATIVE_TEST) |
| 55 | endif |
| 56 | |