OLD | NEW |
1 # Copyright (c) 2014 Google Inc. All Rights Reserved. | 1 # Copyright (c) 2014 Google Inc. All Rights Reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'cast_tests', | 8 'target_name': 'cast_tests', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
(...skipping 24 matching lines...) Expand all Loading... |
35 '../sandbox/sandbox.gyp:sandbox_linux_unittests', | 35 '../sandbox/sandbox.gyp:sandbox_linux_unittests', |
36 '../sql/sql.gyp:sql_unittests', | 36 '../sql/sql.gyp:sql_unittests', |
37 '../sync/sync.gyp:sync_unit_tests', | 37 '../sync/sync.gyp:sync_unit_tests', |
38 '../ui/base/ui_base_tests.gyp:ui_base_unittests', | 38 '../ui/base/ui_base_tests.gyp:ui_base_unittests', |
39 '../url/url.gyp:url_unittests', | 39 '../url/url.gyp:url_unittests', |
40 ], | 40 ], |
41 'conditions': [ | 41 'conditions': [ |
42 ['OS!="android"', { | 42 ['OS!="android"', { |
43 'dependencies': [ | 43 'dependencies': [ |
44 'cast_shell_browser_test', | 44 'cast_shell_browser_test', |
45 'cast_shell_unittests', | |
46 ], | 45 ], |
47 }], | 46 }], |
48 ], | 47 ], |
49 'includes': ['build/tests/test_list.gypi'], | 48 'includes': ['build/tests/test_list.gypi'], |
50 }, | 49 }, |
51 # Builds all tests and the output lists of build/run targets for those tests
. | 50 # Builds all tests and the output lists of build/run targets for those tests
. |
52 # Note: producing a predetermined list of dependent inputs on which to | 51 # Note: producing a predetermined list of dependent inputs on which to |
53 # regenerate this output is difficult with GYP. This file is not | 52 # regenerate this output is difficult with GYP. This file is not |
54 # guaranteed to be regenerated outside of a clean build. | 53 # guaranteed to be regenerated outside of a clean build. |
55 { | 54 { |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 'cast_shell_test_support', | 174 'cast_shell_test_support', |
176 '../testing/gtest.gyp:gtest', | 175 '../testing/gtest.gyp:gtest', |
177 ], | 176 ], |
178 'defines': [ | 177 'defines': [ |
179 'HAS_OUT_OF_PROC_TEST_RUNNER', | 178 'HAS_OUT_OF_PROC_TEST_RUNNER', |
180 ], | 179 ], |
181 'sources': [ | 180 'sources': [ |
182 'browser/test/chromecast_shell_browser_test.cc', | 181 'browser/test/chromecast_shell_browser_test.cc', |
183 ], | 182 ], |
184 }, | 183 }, |
185 { | |
186 'target_name': 'cast_shell_unittests', | |
187 'type': '<(gtest_target_type)', | |
188 'dependencies': [ | |
189 'cast_shell_core', | |
190 '../base/base.gyp:base_prefs_test_support', | |
191 '../base/base.gyp:run_all_unittests', | |
192 '../base/base.gyp:test_support_base', | |
193 '../components/components.gyp:component_metrics_proto', | |
194 '../testing/gtest.gyp:gtest', | |
195 ], | |
196 'sources': [ | |
197 'browser/metrics/cast_metrics_service_client_unittest.cc', | |
198 ], | |
199 'conditions': [ | |
200 ['use_allocator!="none"', { | |
201 'dependencies': [ | |
202 '../base/allocator/allocator.gyp:allocator', | |
203 ], | |
204 }], | |
205 ] | |
206 }, # end of target 'cast_shell_unittests' | |
207 ], # end of targets | 184 ], # end of targets |
208 }], | 185 }], |
209 ], # end of conditions | 186 ], # end of conditions |
210 } | 187 } |
OLD | NEW |