2014-05-13 18:00:26 +00:00
|
|
|
# Copyright (c) 2013 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.
|
|
|
|
|
{
|
|
|
|
|
'includes': [ '../build/common.gypi', ],
|
|
|
|
|
'targets': [
|
|
|
|
|
{
|
2014-09-10 17:28:19 +00:00
|
|
|
'target_name': 'rtc_base_tests_utils',
|
2014-05-13 18:00:26 +00:00
|
|
|
'type': 'static_library',
|
|
|
|
|
'sources': [
|
|
|
|
|
'unittest_main.cc',
|
|
|
|
|
# Also use this as a convenient dumping ground for misc files that are
|
|
|
|
|
# included by multiple targets below.
|
2016-06-06 11:16:06 -07:00
|
|
|
'fakeclock.cc',
|
|
|
|
|
'fakeclock.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
'fakenetwork.h',
|
|
|
|
|
'fakesslidentity.h',
|
|
|
|
|
'faketaskrunner.h',
|
|
|
|
|
'gunit.h',
|
|
|
|
|
'testbase64.h',
|
|
|
|
|
'testechoserver.h',
|
2014-06-16 07:11:19 +00:00
|
|
|
'testutils.h',
|
2016-06-06 11:16:06 -07:00
|
|
|
'timedelta.h',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
2016-05-04 01:54:35 -07:00
|
|
|
'defines': [
|
|
|
|
|
'GTEST_RELATIVE_PATH',
|
|
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
'dependencies': [
|
2014-09-10 17:28:19 +00:00
|
|
|
'base.gyp:rtc_base',
|
2014-05-13 18:00:26 +00:00
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
2015-10-15 07:26:07 -07:00
|
|
|
'<(webrtc_root)/test/test.gyp:field_trial',
|
Delete GetExecutablePath and related unused code.
The function GetExecutablePath is a hack with poor portability. Delete
it and its caller GetTestFilePath. The latter was used in
videoframe_unittest.h, where it is replaced by
webrtc::test::ResourcePath.
Delete unused functions declared in base/testutils.h: ReadFile,
GetSiblingDirectory, GetGoogle3Directory, GetTalkDirectory,
CmpHelperFileEq, EXPECT_FILEEQ, ASSERT_FILEEQ.
Delete unused functions declared in media/base/testutils.h:
GetTestFilePath (see above), LoadPlanarYuvTestImage,
DumpPlanarYuvTestImage, ComputePSNR, ComputeSumSquareError.
The functions LoadPlanarYuvTestImage, DumpPlanarYuvTestImage were used
in yuvscaler_unittests.cc and planarfunctions_unittests.cc, under
webrtc/pc. However, these tests are never compiled or run, and appear
not to have been for the last few years, and are therefore deleted
rather than updated. It might make sense to check if libyuv have
comparable tests, and if not, resurrect them as part of libyuv
unittests.
BUG=
R=perkj@webrtc.org
Review URL: https://codereview.webrtc.org/2058043002 .
Cr-Commit-Position: refs/heads/master@{#13163}
2016-06-16 12:44:30 +02:00
|
|
|
'<(webrtc_root)/test/test.gyp:test_support',
|
2014-05-13 18:00:26 +00:00
|
|
|
],
|
2016-05-04 01:54:35 -07:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
|
'defines': [
|
|
|
|
|
'GTEST_RELATIVE_PATH',
|
|
|
|
|
],
|
|
|
|
|
},
|
2014-07-01 16:39:17 +00:00
|
|
|
'export_dependent_settings': [
|
|
|
|
|
'<(DEPTH)/testing/gtest.gyp:gtest',
|
|
|
|
|
],
|
2014-05-13 18:00:26 +00:00
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
}
|