OLD | NEW |
1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
8 { | 8 { |
9 'includes': [ '../build/common.gypi', ], | 9 'includes': [ '../build/common.gypi', ], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'rtc_base_tests_utils', | 12 'target_name': 'rtc_base_tests_utils', |
13 'type': 'static_library', | 13 'type': 'static_library', |
14 'sources': [ | 14 'sources': [ |
15 'unittest_main.cc', | 15 'unittest_main.cc', |
16 # Also use this as a convenient dumping ground for misc files that are | 16 # Also use this as a convenient dumping ground for misc files that are |
17 # included by multiple targets below. | 17 # included by multiple targets below. |
18 'fakenetwork.h', | 18 'fakenetwork.h', |
19 'fakesslidentity.h', | 19 'fakesslidentity.h', |
20 'faketaskrunner.h', | 20 'faketaskrunner.h', |
21 'gunit.h', | 21 'gunit.h', |
22 'testbase64.h', | 22 'testbase64.h', |
23 'testechoserver.h', | 23 'testechoserver.h', |
24 'testutils.h', | 24 'testutils.h', |
25 ], | 25 ], |
| 26 'defines': [ |
| 27 'GTEST_RELATIVE_PATH', |
| 28 ], |
26 'dependencies': [ | 29 'dependencies': [ |
27 'base.gyp:rtc_base', | 30 'base.gyp:rtc_base', |
28 '<(DEPTH)/testing/gtest.gyp:gtest', | 31 '<(DEPTH)/testing/gtest.gyp:gtest', |
29 '<(webrtc_root)/test/test.gyp:field_trial', | 32 '<(webrtc_root)/test/test.gyp:field_trial', |
30 ], | 33 ], |
| 34 'direct_dependent_settings': { |
| 35 'defines': [ |
| 36 'GTEST_RELATIVE_PATH', |
| 37 ], |
| 38 }, |
31 'export_dependent_settings': [ | 39 'export_dependent_settings': [ |
32 '<(DEPTH)/testing/gtest.gyp:gtest', | 40 '<(DEPTH)/testing/gtest.gyp:gtest', |
33 ], | 41 ], |
34 }, | 42 }, |
35 { | 43 { |
36 'target_name': 'rtc_base_tests', | 44 'target_name': 'rtc_base_tests', |
37 'type': 'none', | 45 'type': 'none', |
38 'direct_dependent_settings': { | 46 'direct_dependent_settings': { |
39 'sources': [ | 47 'sources': [ |
40 'array_view_unittest.cc', | 48 'array_view_unittest.cc', |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { | 168 ['OS=="ios" or (OS=="mac" and target_arch!="ia32")', { |
161 'defines': [ | 169 'defines': [ |
162 'CARBON_DEPRECATED=YES', | 170 'CARBON_DEPRECATED=YES', |
163 ], | 171 ], |
164 }], | 172 }], |
165 ], # conditions | 173 ], # conditions |
166 }, | 174 }, |
167 }, | 175 }, |
168 ], | 176 ], |
169 } | 177 } |
OLD | NEW |