2011-09-14 19:02:44 +02:00
|
|
|
# Copyright (c) 2011 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
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
|
|
# TODO(andrew): consider moving test_support to src/base/test.
|
|
|
|
{
|
|
|
|
'includes': [
|
|
|
|
'../src/build/common.gypi',
|
|
|
|
],
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'test_support',
|
|
|
|
'type': 'static_library',
|
2011-11-11 10:01:03 +01:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
|
|
|
'.', # Some includes are hierarchical
|
|
|
|
],
|
|
|
|
},
|
2011-09-14 19:02:44 +02:00
|
|
|
'dependencies': [
|
2011-10-13 14:24:41 +02:00
|
|
|
'<(webrtc_root)/../testing/gtest.gyp:gtest',
|
2011-11-04 02:19:16 +01:00
|
|
|
'<(webrtc_root)/../testing/gmock.gyp:gmock',
|
2011-09-14 19:02:44 +02:00
|
|
|
],
|
2011-11-04 00:28:47 +01:00
|
|
|
'all_dependent_settings': {
|
2011-10-13 14:24:41 +02:00
|
|
|
'include_dirs': [
|
|
|
|
'.',
|
|
|
|
],
|
|
|
|
},
|
2011-09-14 19:02:44 +02:00
|
|
|
'sources': [
|
|
|
|
'test_suite.cc',
|
|
|
|
'test_suite.h',
|
2011-10-13 14:24:41 +02:00
|
|
|
'testsupport/fileutils.h',
|
|
|
|
'testsupport/fileutils.cc',
|
2011-11-11 10:01:03 +01:00
|
|
|
'testsupport/metrics/video_metrics.cc',
|
2011-10-13 14:24:41 +02:00
|
|
|
],
|
|
|
|
},
|
2011-11-04 00:28:47 +01:00
|
|
|
{
|
|
|
|
# Depend on this target when you want to have test_support but also the
|
|
|
|
# main method needed for gtest to execute!
|
|
|
|
'target_name': 'test_support_main',
|
|
|
|
'type': 'static_library',
|
|
|
|
'dependencies': [
|
|
|
|
'test_support',
|
|
|
|
],
|
|
|
|
'sources': [
|
|
|
|
'run_all_unittests.cc',
|
|
|
|
],
|
|
|
|
},
|
2011-10-13 14:24:41 +02:00
|
|
|
{
|
|
|
|
'target_name': 'test_support_unittests',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [
|
2011-11-04 00:28:47 +01:00
|
|
|
'test_support_main',
|
2011-10-13 14:24:41 +02:00
|
|
|
'<(webrtc_root)/../testing/gtest.gyp:gtest',
|
|
|
|
],
|
2011-11-04 00:28:47 +01:00
|
|
|
'sources': [
|
2011-10-13 14:24:41 +02:00
|
|
|
'testsupport/fileutils_unittest.cc',
|
2011-09-14 19:02:44 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|