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

Side by Side Diff: chrome/chrome_tests.gypi

Issue 11236005: Convert all the foo_test_run from using actions to use rules. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed pseudo italic Created 8 years, 2 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 | « build/isolate.gypi ('k') | third_party/cacheinvalidation/README.chromium » ('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 4838 matching lines...) Expand 10 before | Expand all | Expand 10 after
4849 }], 4849 }],
4850 ['test_isolation_mode != "noop"', { 4850 ['test_isolation_mode != "noop"', {
4851 'targets': [ 4851 'targets': [
4852 { 4852 {
4853 'target_name': 'unit_tests_run', 4853 'target_name': 'unit_tests_run',
4854 'type': 'none', 4854 'type': 'none',
4855 'dependencies': [ 4855 'dependencies': [
4856 'unit_tests', 4856 'unit_tests',
4857 ], 4857 ],
4858 'includes': [ 4858 'includes': [
4859 '../build/isolate.gypi',
4859 'unit_tests.isolate', 4860 'unit_tests.isolate',
4860 ], 4861 ],
4861 'actions': [ 4862 'sources': [
4862 { 4863 'unit_tests.isolate',
4863 'action_name': 'isolate',
4864 'inputs': [
4865 '<@(isolate_dependency_tracked)',
4866 ],
4867 'outputs': [
4868 '<(PRODUCT_DIR)/unit_tests.isolated',
4869 ],
4870 'action': [
4871 'python',
4872 '../tools/swarm_client/isolate.py',
4873 '<(test_isolation_mode)',
4874 '--outdir', '<(test_isolation_outdir)',
4875 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
4876 '--variable', 'OS', '<(OS)',
4877 '--result', '<@(_outputs)',
4878 '--isolate', 'unit_tests.isolate',
4879 ],
4880 },
4881 ], 4864 ],
4882 }, 4865 },
4883 { 4866 {
4884 'target_name': 'browser_tests_run', 4867 'target_name': 'browser_tests_run',
4885 'type': 'none', 4868 'type': 'none',
4886 'dependencies': [ 4869 'dependencies': [
4887 'browser_tests', 4870 'browser_tests',
4888 ], 4871 ],
4889 'includes': [ 4872 'includes': [
4873 '../build/isolate.gypi',
4890 'browser_tests.isolate', 4874 'browser_tests.isolate',
4891 ], 4875 ],
4892 'actions': [ 4876 'sources': [
4893 { 4877 'browser_tests.isolate',
4894 'action_name': 'isolate',
4895 'inputs': [
4896 '<@(isolate_dependency_tracked)',
4897 ],
4898 'outputs': [
4899 '<(PRODUCT_DIR)/browser_tests.isolated',
4900 ],
4901 'action': [
4902 'python',
4903 '../tools/swarm_client/isolate.py',
4904 '<(test_isolation_mode)',
4905 '--outdir', '<(test_isolation_outdir)',
4906 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
4907 '--variable', 'OS', '<(OS)',
4908 '--result', '<@(_outputs)',
4909 '--isolate', 'browser_tests.isolate',
4910 ],
4911 },
4912 ], 4878 ],
4913 }, 4879 },
4914 { 4880 {
4915 'target_name': 'sync_integration_tests_run', 4881 'target_name': 'sync_integration_tests_run',
4916 'type': 'none', 4882 'type': 'none',
4917 'dependencies': [ 4883 'dependencies': [
4918 'sync_integration_tests', 4884 'sync_integration_tests',
4919 ], 4885 ],
4920 'conditions': [ 4886 'conditions': [
4921 ['use_x11 == 1', { 4887 ['use_x11 == 1', {
4922 'dependencies': [ 4888 'dependencies': [
4923 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck', 4889 '../tools/xdisplaycheck/xdisplaycheck.gyp:xdisplaycheck',
4924 ], 4890 ],
4925 }], 4891 }],
4926 ], 4892 ],
4927 'includes': [ 4893 'includes': [
4894 '../build/isolate.gypi',
4928 'sync_integration_tests.isolate', 4895 'sync_integration_tests.isolate',
4929 ], 4896 ],
4930 'actions': [ 4897 'sources': [
4931 { 4898 'sync_integration_tests.isolate',
4932 'action_name': 'isolate',
4933 'inputs': [
4934 '<@(isolate_dependency_tracked)',
4935 ],
4936 'outputs': [
4937 '<(PRODUCT_DIR)/sync_integration_tests.isolated',
4938 ],
4939 'action': [
4940 'python',
4941 '../tools/swarm_client/isolate.py',
4942 '<(test_isolation_mode)',
4943 '--outdir', '<(test_isolation_outdir)',
4944 '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
4945 '--variable', 'OS', '<(OS)',
4946 '--result', '<@(_outputs)',
4947 '--isolate', 'sync_integration_tests.isolate',
4948 ],
4949 },
4950 ], 4899 ],
4951 }, 4900 },
4952 ], 4901 ],
4953 }], 4902 }],
4954 ], # 'conditions' 4903 ], # 'conditions'
4955 } 4904 }
OLDNEW
« no previous file with comments | « build/isolate.gypi ('k') | third_party/cacheinvalidation/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698