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

Side by Side Diff: build/nocompile.gypi

Issue 1698763002: Fix base_nocompile_tests dependency (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 | « build/nocompile.gni ('k') | tools/nocompile_driver.py » ('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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 # This file is meant to be included into an target to create a unittest that 5 # This file is meant to be included into an target to create a unittest that
6 # invokes a set of no-compile tests. A no-compile test is a test that asserts 6 # invokes a set of no-compile tests. A no-compile test is a test that asserts
7 # a particular construct will not compile. 7 # a particular construct will not compile.
8 # 8 #
9 # Also see: 9 # Also see:
10 # http://dev.chromium.org/developers/testing/no-compile-tests 10 # http://dev.chromium.org/developers/testing/no-compile-tests
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 '<(RULE_INPUT_ROOT)_nc.cc'), 69 '<(RULE_INPUT_ROOT)_nc.cc'),
70 }, 70 },
71 'rule_name': 'run_nocompile', 71 'rule_name': 'run_nocompile',
72 'extension': 'nc', 72 'extension': 'nc',
73 'inputs': [ 73 'inputs': [
74 '<(nocompile_driver)', 74 '<(nocompile_driver)',
75 ], 75 ],
76 'outputs': [ 76 'outputs': [
77 '<(nc_result_path)' 77 '<(nc_result_path)'
78 ], 78 ],
79 'depfile': '<(nc_result_path).d',
79 'action': [ 80 'action': [
80 'python', 81 'python',
81 '<(nocompile_driver)', 82 '<(nocompile_driver)',
82 '4', # number of compilers to invoke in parallel. 83 '4', # number of compilers to invoke in parallel.
83 '<(RULE_INPUT_PATH)', 84 '<(RULE_INPUT_PATH)',
84 '-Wall -Werror -Wfatal-errors -I<(DEPTH)', 85 '-Wall -Werror -Wfatal-errors -I<(DEPTH)',
85 '<(nc_result_path)', 86 '<(nc_result_path)',
86 ], 87 ],
87 'message': 'Generating no compile results for <(RULE_INPUT_PATH)', 88 'message': 'Generating no compile results for <(RULE_INPUT_PATH)',
88 'process_outputs_as_sources': 1, 89 'process_outputs_as_sources': 1,
89 }, 90 },
90 ], 91 ],
91 }, { 92 }, {
92 'sources/': [['exclude', '\\.nc$']] 93 'sources/': [['exclude', '\\.nc$']]
93 }], # 'OS!="win" and clang=="1"' 94 }], # 'OS!="win" and clang=="1"'
94 ], 95 ],
95 } 96 }
96 97
OLDNEW
« no previous file with comments | « build/nocompile.gni ('k') | tools/nocompile_driver.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698