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

Side by Side Diff: build/nocompile.gypi

Issue 8483003: Callback API Change: Reimplement Bind(); support IgnoreResult, full currying, and use less types (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 9 years, 1 month 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 | « base/template_util_unittest.cc ('k') | chrome/browser/chrome_browser_main_x11.cc » ('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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 # 50 #
51 # Implementation notes: 51 # Implementation notes:
52 # The .nc files are actually processed by a python script which executes the 52 # The .nc files are actually processed by a python script which executes the
53 # compiler and generates a .cc file that is empty on success, or will have a 53 # compiler and generates a .cc file that is empty on success, or will have a
54 # series of #error lines on failure, and a set of trivially passing gunit 54 # series of #error lines on failure, and a set of trivially passing gunit
55 # TEST() functions on success. This allows us to fail at the compile step when 55 # TEST() functions on success. This allows us to fail at the compile step when
56 # something goes wrong, and know during the unittest run that the test was at 56 # something goes wrong, and know during the unittest run that the test was at
57 # least processed when things go right. 57 # least processed when things go right.
58 58
59 { 59 {
60 'sources/': [['exclude', '\\.nc$']],
61 'conditions': [ 60 'conditions': [
62 [ 'OS=="linux" and clang==0', { 61 [ 'OS=="linux" and clang==0', {
63 'rules': [ 62 'rules': [
64 { 63 {
65 'variables': { 64 'variables': {
66 'nocompile_driver': '<(DEPTH)/tools/nocompile_driver.py', 65 'nocompile_driver': '<(DEPTH)/tools/nocompile_driver.py',
67 'nc_result_path': ('<(INTERMEDIATE_DIR)/<(module_dir)/' 66 'nc_result_path': ('<(INTERMEDIATE_DIR)/<(module_dir)/'
68 '<(RULE_INPUT_ROOT)_nc.cc'), 67 '<(RULE_INPUT_ROOT)_nc.cc'),
69 }, 68 },
70 'rule_name': 'run_nocompile', 69 'rule_name': 'run_nocompile',
(...skipping 15 matching lines...) Expand all
86 'message': 'Generating no compile results for <(RULE_INPUT_PATH)', 85 'message': 'Generating no compile results for <(RULE_INPUT_PATH)',
87 'process_outputs_as_sources': 1, 86 'process_outputs_as_sources': 1,
88 }, 87 },
89 ], 88 ],
90 }, { 89 }, {
91 'sources/': [['exclude', '\\.nc$']] 90 'sources/': [['exclude', '\\.nc$']]
92 }], # 'OS=="linux" and clang=="0"' 91 }], # 'OS=="linux" and clang=="0"'
93 ], 92 ],
94 } 93 }
95 94
OLDNEW
« no previous file with comments | « base/template_util_unittest.cc ('k') | chrome/browser/chrome_browser_main_x11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698