- update source.
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / voice_engine / test / auto_test / Android.mk
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
15 include $(LOCAL_PATH)/../../../../../android-webrtc.mk
16
17 LOCAL_MODULE_TAGS := tests
18 LOCAL_CPP_EXTENSION := .cc
19 LOCAL_SRC_FILES:= \
20     automated_mode.cc \
21     voe_cpu_test.cc \
22     voe_standard_test.cc \
23     voe_stress_test.cc \
24     voe_unit_test.cc \
25     voe_extended_test.cc \
26     voe_standard_integration_test.cc
27
28 # Flags passed to both C and C++ files.
29 LOCAL_CFLAGS := \
30     '-DWEBRTC_TARGET_PC' \
31     '-DWEBRTC_LINUX' \
32     '-DWEBRTC_ANDROID'
33
34 LOCAL_C_INCLUDES := \
35     $(LOCAL_PATH)/../../interface \
36     $(LOCAL_PATH)/../../../.. \
37     $(LOCAL_PATH)/../../../../modules/audio_device/main/interface \
38     $(LOCAL_PATH)/../../../../modules/interface \
39     $(LOCAL_PATH)/../../../../system_wrappers/interface \
40     $(LOCAL_PATH)/../../../../../test \
41     external/gtest/include \
42
43 LOCAL_SHARED_LIBRARIES := \
44     libutils \
45     libstlport \
46     libwebrtc
47
48 LOCAL_MODULE:= webrtc_voe_autotest
49
50 ifdef NDK_ROOT
51 include $(BUILD_EXECUTABLE)
52 else
53 include external/stlport/libstlport.mk
54 include $(BUILD_NATIVE_TEST)
55 endif
56