OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. 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 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../build/win_precompile.gypi', | 10 '../build/win_precompile.gypi', |
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 'action': [ | 132 'action': [ |
133 'python', | 133 'python', |
134 'android/jni_generator/jni_generator.py', | 134 'android/jni_generator/jni_generator.py', |
135 '-o', | 135 '-o', |
136 '<@(_inputs)', | 136 '<@(_inputs)', |
137 '<@(_outputs)', | 137 '<@(_outputs)', |
138 ], | 138 ], |
139 } | 139 } |
140 ], | 140 ], |
141 }, | 141 }, |
| 142 # Include this target for a main() function that simply instantiates |
| 143 # and runs a base::TestSuite. |
| 144 { |
| 145 'target_name': 'run_all_unittests', |
| 146 'type': 'static_library', |
| 147 'dependencies': [ |
| 148 'test_support_base', |
| 149 ], |
| 150 'sources': [ |
| 151 'test/run_all_unittests.cc', |
| 152 ], |
| 153 }, |
142 { | 154 { |
143 'target_name': 'base_unittests', | 155 'target_name': 'base_unittests', |
144 'type': 'executable', | 156 'type': 'executable', |
145 'sources': [ | 157 'sources': [ |
146 # Infrastructure files. | |
147 'test/run_all_unittests.cc', | |
148 | |
149 # Tests. | 158 # Tests. |
150 'android/jni_android_unittest.cc', | 159 'android/jni_android_unittest.cc', |
151 'android/scoped_java_ref_unittest.cc', | 160 'android/scoped_java_ref_unittest.cc', |
152 'at_exit_unittest.cc', | 161 'at_exit_unittest.cc', |
153 'atomicops_unittest.cc', | 162 'atomicops_unittest.cc', |
154 'base64_unittest.cc', | 163 'base64_unittest.cc', |
155 'bind_helpers_unittest.cc', | 164 'bind_helpers_unittest.cc', |
156 'bind_unittest.cc', | 165 'bind_unittest.cc', |
157 'bind_unittest.nc', | 166 'bind_unittest.nc', |
158 'bits_unittest.cc', | 167 'bits_unittest.cc', |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 'win/scoped_bstr_unittest.cc', | 297 'win/scoped_bstr_unittest.cc', |
289 'win/scoped_comptr_unittest.cc', | 298 'win/scoped_comptr_unittest.cc', |
290 'win/scoped_variant_unittest.cc', | 299 'win/scoped_variant_unittest.cc', |
291 'win/win_util_unittest.cc', | 300 'win/win_util_unittest.cc', |
292 'win/wrapped_window_proc_unittest.cc', | 301 'win/wrapped_window_proc_unittest.cc', |
293 ], | 302 ], |
294 'dependencies': [ | 303 'dependencies': [ |
295 'base', | 304 'base', |
296 'base_i18n', | 305 'base_i18n', |
297 'base_static', | 306 'base_static', |
| 307 'run_all_unittests', |
298 'test_support_base', | 308 'test_support_base', |
299 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', | 309 'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotat
ions', |
300 '../testing/gmock.gyp:gmock', | 310 '../testing/gmock.gyp:gmock', |
301 '../testing/gtest.gyp:gtest', | 311 '../testing/gtest.gyp:gtest', |
302 '../third_party/icu/icu.gyp:icui18n', | 312 '../third_party/icu/icu.gyp:icui18n', |
303 '../third_party/icu/icu.gyp:icuuc', | 313 '../third_party/icu/icu.gyp:icuuc', |
304 ], | 314 ], |
305 'includes': ['../build/nocompile.gypi'], | 315 'includes': ['../build/nocompile.gypi'], |
306 'variables': { | 316 'variables': { |
307 # TODO(ajwong): Is there a way to autodetect this? | 317 # TODO(ajwong): Is there a way to autodetect this? |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
639 # treated as weak imports in dependents, who still must | 649 # treated as weak imports in dependents, who still must |
640 # #include closure_blocks_leopard_compat.h to get weak imports. | 650 # #include closure_blocks_leopard_compat.h to get weak imports. |
641 'type': 'none', | 651 'type': 'none', |
642 }], | 652 }], |
643 ], | 653 ], |
644 }, | 654 }, |
645 ], | 655 ], |
646 }], | 656 }], |
647 ], | 657 ], |
648 } | 658 } |
OLD | NEW |