Fix building errors and enable test app

TEST=build on all platforms
Review URL: https://webrtc-codereview.appspot.com/428008

git-svn-id: http://webrtc.googlecode.com/svn/trunk@1841 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-03-05 20:15:58 +00:00
parent db2de5b49f
commit 53ed5a41a2
2 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
*
* Use of this source code is governed by a BSD-style license
* that can be found in the LICENSE file in the root of the source
@ -21,6 +21,7 @@
__android_log_print(ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, __VA_ARGS__)
#define TEST_LOG_ERROR(...) \
__android_log_print(ANDROID_LOG_ERROR, ANDROID_LOG_TAG, __VA_ARGS__)
#define TEST_LOG_FLUSH
#else
#define TEST_LOG printf
#define TEST_LOG_ERROR printf

View File

@ -67,6 +67,14 @@
'auto_test/voe_unit_test.cc',
'auto_test/voe_unit_test.h',
],
'conditions': [
['OS=="android"', {
# some tests are not supported on android yet, exclude these tests.
'sources!': [
'auto_test/standard/hardware_before_streaming_test.cc',
],
}],
],
},
{
# command line test that should work on linux/mac/win