- update source.
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / test / Android.mk
1
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
10 LOCAL_PATH := $(call my-dir)
11
12 include $(CLEAR_VARS)
13 include $(LOCAL_PATH)/../../android-webrtc.mk
14
15 LOCAL_ARM_MODE := arm
16 LOCAL_MODULE:= libwebrtc_test_support
17 LOCAL_MODULE_TAGS := optional
18 LOCAL_CPP_EXTENSION := .cc
19 LOCAL_SRC_FILES:= \
20     testsupport/android/root_path_android.cc \
21     testsupport/fileutils.cc \
22     testsupport/perf_test.cc
23
24 # Flags passed to both C and C++ files.
25 LOCAL_CFLAGS := \
26     $(MY_WEBRTC_COMMON_DEFS)
27
28 LOCAL_C_INCLUDES := \
29     external/gtest/include \
30     external/webrtc \
31     external/webrtc/webrtc
32
33 LOCAL_STATIC_LIBRARIES := \
34     libgtest
35
36 ifndef NDK_ROOT
37 include external/stlport/libstlport.mk
38 endif
39 include $(BUILD_STATIC_LIBRARY)