blob: 2ee115b267650dd8de8ef511fb95aab9a9148eb2 [file] [log] [blame]
henrike@webrtc.orgf0488722014-05-13 18:00:26 +00001# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
2#
3# Use of this source code is governed by a BSD-style license
4# that can be found in the LICENSE file in the root of the source
5# tree. An additional intellectual property rights grant can be found
6# in the file PATENTS. All contributing project authors may
7# be found in the AUTHORS file in the root of the source tree.
8{
9 'includes': [ '../build/common.gypi', ],
10 'targets': [
11 {
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000012 'target_name': 'rtc_base_tests_utils',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000013 'type': 'static_library',
14 'sources': [
15 'unittest_main.cc',
16 # Also use this as a convenient dumping ground for misc files that are
17 # included by multiple targets below.
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000018 'fakenetwork.h',
19 'fakesslidentity.h',
20 'faketaskrunner.h',
21 'gunit.h',
22 'testbase64.h',
23 'testechoserver.h',
kjellander@webrtc.org2bae3212014-06-16 07:11:19 +000024 'testutils.h',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000025 ],
phoglundc6c00b32016-05-04 01:54:35 -070026 'defines': [
27 'GTEST_RELATIVE_PATH',
28 ],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000029 'dependencies': [
henrike@webrtc.orgb2efb672014-09-10 17:28:19 +000030 'base.gyp:rtc_base',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000031 '<(DEPTH)/testing/gtest.gyp:gtest',
stefanc1aeaf02015-10-15 07:26:07 -070032 '<(webrtc_root)/test/test.gyp:field_trial',
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000033 ],
phoglundc6c00b32016-05-04 01:54:35 -070034 'direct_dependent_settings': {
35 'defines': [
36 'GTEST_RELATIVE_PATH',
37 ],
38 },
henrike@webrtc.org37b4e1b2014-07-01 16:39:17 +000039 'export_dependent_settings': [
40 '<(DEPTH)/testing/gtest.gyp:gtest',
41 ],
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000042 },
henrike@webrtc.orgf0488722014-05-13 18:00:26 +000043 ],
44}