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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 10263018: Add unit_tests_run that (mostly) works for all of linux, OSX and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move more optional test data dependencies to untracked Created 8 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/unit_tests.isolate » ('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) 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 'variables' : { 5 'variables' : {
6 'pyautolib_sources': [ 6 'pyautolib_sources': [
7 'app/chrome_command_ids.h', 7 'app/chrome_command_ids.h',
8 'app/chrome_dll_resource.h', 8 'app/chrome_dll_resource.h',
9 'common/automation_constants.h', 9 'common/automation_constants.h',
10 'common/pref_names.cc', 10 'common/pref_names.cc',
(...skipping 2580 matching lines...) Expand 10 before | Expand all | Expand 10 after
2591 # linking errors on 64-bit bots too. http://crbug.com/52555 2591 # linking errors on 64-bit bots too. http://crbug.com/52555
2592 'LinkIncremental': '1', 2592 'LinkIncremental': '1',
2593 }, 2593 },
2594 }, 2594 },
2595 }, 2595 },
2596 }, 2596 },
2597 }], 2597 }],
2598 ], 2598 ],
2599 }, 2599 },
2600 { 2600 {
2601 'target_name': 'unit_tests_run',
2602 'type': 'none',
2603 'dependencies': [
2604 'unit_tests',
2605 ],
2606 'includes': [
2607 'unit_tests.isolate',
2608 ],
2609 'actions': [
2610 {
2611 'action_name': 'isolate',
2612 'inputs': [
2613 '<@(isolate_dependency_tracked)',
2614 ],
2615 'outputs': [
2616 '<(PRODUCT_DIR)/unit_tests.results',
2617 ],
2618 'action': [
2619 'python',
2620 '../tools/isolate/isolate.py',
2621 '--mode', '<(tests_run)',
2622 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
2623 '--variable', 'OS', '<(OS)',
2624 '--result', '<@(_outputs)',
2625 'unit_tests.isolate',
2626 ],
2627 },
2628 ],
2629 },
2630 {
2601 # Executable that runs each browser test in a new process. 2631 # Executable that runs each browser test in a new process.
2602 'target_name': 'browser_tests', 2632 'target_name': 'browser_tests',
2603 'type': 'executable', 2633 'type': 'executable',
2604 'msvs_cygwin_shell': 0, 2634 'msvs_cygwin_shell': 0,
2605 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'], 2635 'msvs_cygwin_dirs': ['<(DEPTH)/third_party/cygwin'],
2606 'copies': [ 2636 'copies': [
2607 { 2637 {
2608 'destination': '<(PRODUCT_DIR)', 2638 'destination': '<(PRODUCT_DIR)',
2609 'files': [ 2639 'files': [
2610 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'. 2640 # Keep 'test_case.html.mock-http-headers' with 'test_case.html'.
(...skipping 2031 matching lines...) Expand 10 before | Expand all | Expand 10 after
4642 # Use outputs of this action as inputs for the main target build. 4672 # Use outputs of this action as inputs for the main target build.
4643 # Seems as a misnomer but makes this happy on Linux (scons). 4673 # Seems as a misnomer but makes this happy on Linux (scons).
4644 'process_outputs_as_sources': 1, 4674 'process_outputs_as_sources': 1,
4645 }, 4675 },
4646 ], # 'actions' 4676 ], # 'actions'
4647 }, 4677 },
4648 ] 4678 ]
4649 }], # 'coverage!=0' 4679 }], # 'coverage!=0'
4650 ], # 'conditions' 4680 ], # 'conditions'
4651 } 4681 }
OLDNEW
« no previous file with comments | « no previous file | chrome/unit_tests.isolate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698