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

Side by Side Diff: scripts/slave/recipes/chromium_libfuzzer.py

Issue 1823423005: [libfuzzer] UBSan build configuration (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Created 4 years, 9 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 | « no previous file | scripts/slave/recipes/chromium_libfuzzer.expected/full_chromium_fyi_Libfuzzer_Upload_Linux_UBSan.json » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from recipe_engine.types import freeze 5 from recipe_engine.types import freeze
6 6
7 DEPS = [ 7 DEPS = [
8 'archive', 8 'archive',
9 'depot_tools/bot_update', 9 'depot_tools/bot_update',
10 'chromium', 10 'chromium',
(...skipping 28 matching lines...) Expand all
39 'prebuilt_instrumented_libraries', 39 'prebuilt_instrumented_libraries',
40 'proprietary_codecs' ], 40 'proprietary_codecs' ],
41 'chromium_config_kwargs': { 41 'chromium_config_kwargs': {
42 'BUILD_CONFIG': 'Release', 42 'BUILD_CONFIG': 'Release',
43 'TARGET_PLATFORM': 'linux', 43 'TARGET_PLATFORM': 'linux',
44 'TARGET_BITS': 64, 44 'TARGET_BITS': 64,
45 }, 45 },
46 'upload_bucket': 'chromium-browser-libfuzzer', 46 'upload_bucket': 'chromium-browser-libfuzzer',
47 'upload_directory': 'msan', 47 'upload_directory': 'msan',
48 }, 48 },
49 'Libfuzzer Upload Linux UBSan': {
50 'chromium_config': 'chromium_clang',
51 'chromium_apply_config': [ 'proprietary_codecs' ],
Dirk Pranke 2016/03/25 21:15:20 does this need the 'mb' config ?
aizatsky 2016/03/25 21:16:33 It's already in there.
Dirk Pranke 2016/03/25 21:20:54 oh, right, it's applied on line 81. Sorry for the
52 'chromium_config_kwargs': {
53 'BUILD_CONFIG': 'Release',
54 'TARGET_PLATFORM': 'linux',
55 'TARGET_BITS': 64,
56 },
57 'upload_bucket': 'chromium-browser-libfuzzer',
58 'upload_directory': 'ubsan',
59 },
49 }, 60 },
50 }, 61 },
51 }) 62 })
52 63
53 64
54 def gn_refs(api, step_name, args): 65 def gn_refs(api, step_name, args):
55 """Runs gn refs with given additional arguments. 66 """Runs gn refs with given additional arguments.
56 Returns: the list of matched targets. 67 Returns: the list of matched targets.
57 """ 68 """
58 step_result = api.python(step_name, 69 step_result = api.python(step_name,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 126
116 def GenTests(api): 127 def GenTests(api):
117 for test in api.chromium.gen_tests_for_builders(BUILDERS): 128 for test in api.chromium.gen_tests_for_builders(BUILDERS):
118 yield (test + 129 yield (test +
119 api.step_data('calculate all_fuzzers', 130 api.step_data('calculate all_fuzzers',
120 stdout=api.raw_io.output('target1 target2 target3')) + 131 stdout=api.raw_io.output('target1 target2 target3')) +
121 api.step_data('calculate no_clusterfuzz', 132 api.step_data('calculate no_clusterfuzz',
122 stdout=api.raw_io.output('target1')) 133 stdout=api.raw_io.output('target1'))
123 ) 134 )
124 135
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium_libfuzzer.expected/full_chromium_fyi_Libfuzzer_Upload_Linux_UBSan.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698