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

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

Issue 1757843002: Revert of 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'})
71 69
72 api.chromium.run_gn(use_goma=False) 70 api.chromium.run_gn(use_goma=False)
73 71
74 step_result = api.python('calculate targets', 72 step_result = api.python('calculate targets',
75 api.path['depot_tools'].join('gn.py'), 73 api.path['depot_tools'].join('gn.py'),
76 ['--root=%s' % str(api.path['checkout']), 74 ['--root=%s' % str(api.path['checkout']),
77 'refs', 75 'refs',
78 str(api.chromium.output_dir), 76 str(api.chromium.output_dir),
79 '--all', 77 '--all',
80 '--type=executable', 78 '--type=executable',
81 '--as=output', 79 '--as=output',
82 '//webrtc/test/fuzzers:webrtc_fuzzer_main', 80 '//webrtc/test/fuzzers:webrtc_fuzzer_main',
83 ], 81 ],
84 stdout=api.raw_io.output()) 82 stdout=api.raw_io.output())
85 83
86 targets = step_result.stdout.split() 84 targets = step_result.stdout.split()
87 api.step.active_result.presentation.logs['targets'] = targets 85 api.step.active_result.presentation.logs['targets'] = targets
88 api.chromium.compile(targets=targets) 86 api.chromium.compile(targets=targets)
89 87
90 88
91 def GenTests(api): 89 def GenTests(api):
92 for test in api.chromium.gen_tests_for_builders(BUILDERS): 90 for test in api.chromium.gen_tests_for_builders(BUILDERS):
93 yield (test + 91 yield (test +
94 api.step_data('calculate targets', 92 api.step_data('calculate targets',
95 stdout=api.raw_io.output('target1 target2 target3')) 93 stdout=api.raw_io.output('target1 target2 target3'))
96 ) 94 )
97 95
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