Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: chromecast/chromecast_tests.gypi

Issue 1254113004: [Chromecast] Consolidate duplicated crash test functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Fixed namespace footer comment Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chromecast/app/linux/cast_crash_reporter_client_unittest.cc ('k') | chromecast/crash/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 'variables': { 6 'variables': {
7 'chromium_code': 1 7 'chromium_code': 1
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 12 matching lines...) Expand all
23 ], 23 ],
24 'conditions': [ 24 'conditions': [
25 ['OS == "android"', { 25 ['OS == "android"', {
26 'dependencies': [ 26 'dependencies': [
27 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', 27 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
28 ], 28 ],
29 }], 29 }],
30 ], 30 ],
31 }, # end of cast_base_unittests 31 }, # end of cast_base_unittests
32 { 32 {
33 'target_name': 'cast_crash_test_support',
34 'type': '<(component)',
35 'dependencies': [
36 'chromecast.gyp:cast_crash',
37 'cast_base',
38 ],
39 'sources': [
40 'crash/linux/crash_testing_utils.cc',
41 'crash/linux/crash_testing_utils.h',
42 ],
43 }, # end of target 'cast_crash_test_support'
44 {
33 'target_name': 'cast_crash_unittests', 45 'target_name': 'cast_crash_unittests',
34 'type': '<(gtest_target_type)', 46 'type': '<(gtest_target_type)',
35 'dependencies': [ 47 'dependencies': [
48 'cast_crash_test_support',
36 'chromecast.gyp:cast_crash', 49 'chromecast.gyp:cast_crash',
37 '../base/base.gyp:run_all_unittests', 50 '../base/base.gyp:run_all_unittests',
38 '../testing/gmock.gyp:gmock', 51 '../testing/gmock.gyp:gmock',
39 '../testing/gtest.gyp:gtest', 52 '../testing/gtest.gyp:gtest',
40 ], 53 ],
41 'include_dirs': [ 54 'include_dirs': [
42 '../breakpad/src', 55 '../breakpad/src',
43 ], 56 ],
44 'sources': [ 57 'sources': [
45 'crash/cast_crashdump_uploader_unittest.cc', 58 'crash/cast_crashdump_uploader_unittest.cc',
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 'HAS_OUT_OF_PROC_TEST_RUNNER', 336 'HAS_OUT_OF_PROC_TEST_RUNNER',
324 ], 337 ],
325 'sources': [ 338 'sources': [
326 'browser/test/chromecast_shell_browser_test.cc', 339 'browser/test/chromecast_shell_browser_test.cc',
327 ], 340 ],
328 }, 341 },
329 { 342 {
330 'target_name': 'cast_shell_unittests', 343 'target_name': 'cast_shell_unittests',
331 'type': '<(gtest_target_type)', 344 'type': '<(gtest_target_type)',
332 'dependencies': [ 345 'dependencies': [
346 'cast_crash_test_support',
333 'chromecast.gyp:cast_crash_client', 347 'chromecast.gyp:cast_crash_client',
334 '../base/base.gyp:run_all_unittests', 348 '../base/base.gyp:run_all_unittests',
335 '../testing/gtest.gyp:gtest', 349 '../testing/gtest.gyp:gtest',
336 ], 350 ],
337 'sources': [ 351 'sources': [
338 'app/linux/cast_crash_reporter_client_unittest.cc', 352 'app/linux/cast_crash_reporter_client_unittest.cc',
339 ], 353 ],
340 }, # end of cast_shell_unittests 354 }, # end of cast_shell_unittests
341 # Builds all tests and the output lists of build/run targets for those t ests. 355 # Builds all tests and the output lists of build/run targets for those t ests.
342 # Note: producing a predetermined list of dependent inputs on which to 356 # Note: producing a predetermined list of dependent inputs on which to
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 '-a', '<(test_additional_options)', 392 '-a', '<(test_additional_options)',
379 'pack_run', 393 'pack_run',
380 ], 394 ],
381 } 395 }
382 ], 396 ],
383 }, 397 },
384 ], # end of targets 398 ], # end of targets
385 }], 399 }],
386 ], # end of conditions 400 ], # end of conditions
387 } 401 }
OLDNEW
« no previous file with comments | « chromecast/app/linux/cast_crash_reporter_client_unittest.cc ('k') | chromecast/crash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698