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

Side by Side Diff: scripts/slave/recipes/webrtc/libfuzzer.py

Issue 1751613003: WebRTC: Temporarily make libfuzzer bot use HEAD Clang. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
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 | Annotate | Revision Log
« no previous file with comments | « no previous file | scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.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 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 7
8 DEPS = [ 8 DEPS = [
9 'archive', 9 'archive',
10 'depot_tools/bot_update', 10 'depot_tools/bot_update',
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 webrtc.apply_bot_config(BUILDERS, webrtc.RECIPE_CONFIGS) 58 webrtc.apply_bot_config(BUILDERS, webrtc.RECIPE_CONFIGS)
59 59
60 api.webrtc.checkout() 60 api.webrtc.checkout()
61 api.chromium.runhooks() 61 api.chromium.runhooks()
62 62
63 # checkout llvm 63 # checkout llvm
64 api.step('checkout llvm', 64 api.step('checkout llvm',
65 [api.path.sep.join(['tools', 'clang', 'scripts', 'update.py']), 65 [api.path.sep.join(['tools', 'clang', 'scripts', 'update.py']),
66 '--force-local-build', 66 '--force-local-build',
67 '--without-android'], 67 '--without-android'],
68 cwd=api.path['checkout']) 68 cwd=api.path['checkout'],
69 # TODO(kjellander): Remove when crbug.com/591008 is fixed.
70 env={'LLVM_FORCE_HEAD_REVISION': 'YES'})
69 71
70 api.chromium.run_gn(use_goma=False) 72 api.chromium.run_gn(use_goma=False)
71 73
72 step_result = api.python('calculate targets', 74 step_result = api.python('calculate targets',
73 api.path['depot_tools'].join('gn.py'), 75 api.path['depot_tools'].join('gn.py'),
74 ['--root=%s' % str(api.path['checkout']), 76 ['--root=%s' % str(api.path['checkout']),
75 'refs', 77 'refs',
76 str(api.chromium.output_dir), 78 str(api.chromium.output_dir),
77 '--all', 79 '--all',
78 '--type=executable', 80 '--type=executable',
79 '--as=output', 81 '--as=output',
80 '//webrtc/test/fuzzers:webrtc_fuzzer_main', 82 '//webrtc/test/fuzzers:webrtc_fuzzer_main',
81 ], 83 ],
82 stdout=api.raw_io.output()) 84 stdout=api.raw_io.output())
83 85
84 targets = step_result.stdout.split() 86 targets = step_result.stdout.split()
85 api.step.active_result.presentation.logs['targets'] = targets 87 api.step.active_result.presentation.logs['targets'] = targets
86 api.chromium.compile(targets=targets) 88 api.chromium.compile(targets=targets)
87 89
88 90
89 def GenTests(api): 91 def GenTests(api):
90 for test in api.chromium.gen_tests_for_builders(BUILDERS): 92 for test in api.chromium.gen_tests_for_builders(BUILDERS):
91 yield (test + 93 yield (test +
92 api.step_data('calculate targets', 94 api.step_data('calculate targets',
93 stdout=api.raw_io.output('target1 target2 target3')) 95 stdout=api.raw_io.output('target1 target2 target3'))
94 ) 96 )
95 97
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/webrtc/libfuzzer.expected/full_client_webrtc_Linux64_Release__Libfuzzer_.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698