blob: 73dceea35824bc2ac5dafed998028fdc01e35384 [file] [log] [blame]
kma@webrtc.org47676c52012-12-07 15:26:28 +00001
2# Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3#
4# Use of this source code is governed by a BSD-style license
5# that can be found in the LICENSE file in the root of the source
6# tree. An additional intellectual property rights grant can be found
7# in the file PATENTS. All contributing project authors may
8# be found in the AUTHORS file in the root of the source tree.
9
10LOCAL_PATH := $(call my-dir)
11
12include $(CLEAR_VARS)
13include $(LOCAL_PATH)/../../android-webrtc.mk
14
15LOCAL_ARM_MODE := arm
16LOCAL_MODULE:= libwebrtc_test_support
17LOCAL_MODULE_TAGS := optional
18LOCAL_CPP_EXTENSION := .cc
19LOCAL_SRC_FILES:= \
pbos@webrtc.org0114e3d2013-07-09 15:24:16 +000020 testsupport/android/root_path_android.cc \
kma@webrtc.org47676c52012-12-07 15:26:28 +000021 testsupport/fileutils.cc \
22 testsupport/perf_test.cc
23
24# Flags passed to both C and C++ files.
25LOCAL_CFLAGS := \
26 $(MY_WEBRTC_COMMON_DEFS)
27
28LOCAL_C_INCLUDES := \
29 external/gtest/include \
30 external/webrtc \
31 external/webrtc/webrtc
32
33LOCAL_STATIC_LIBRARIES := \
34 libgtest
35
36ifndef NDK_ROOT
37include external/stlport/libstlport.mk
38endif
39include $(BUILD_STATIC_LIBRARY)