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

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

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 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
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',
11 'depot_tools/infra_paths',
12 'chromium', 11 'chromium',
13 'file', 12 'file',
14 'recipe_engine/json', 13 'recipe_engine/json',
15 'recipe_engine/path', 14 'recipe_engine/path',
16 'recipe_engine/platform', 15 'recipe_engine/platform',
17 'recipe_engine/properties', 16 'recipe_engine/properties',
18 'recipe_engine/python', 17 'recipe_engine/python',
19 'recipe_engine/raw_io', 18 'recipe_engine/raw_io',
20 'recipe_engine/step', 19 'recipe_engine/step',
21 'webrtc', 20 'webrtc',
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 def RunSteps(api): 56 def RunSteps(api):
58 webrtc = api.webrtc 57 webrtc = api.webrtc
59 webrtc.apply_bot_config(BUILDERS, webrtc.RECIPE_CONFIGS) 58 webrtc.apply_bot_config(BUILDERS, webrtc.RECIPE_CONFIGS)
60 59
61 api.webrtc.checkout() 60 api.webrtc.checkout()
62 api.chromium.runhooks() 61 api.chromium.runhooks()
63 62
64 api.chromium.run_gn(use_goma=False) 63 api.chromium.run_gn(use_goma=False)
65 64
66 step_result = api.python('calculate targets', 65 step_result = api.python('calculate targets',
67 api.infra_paths['depot_tools'].join('gn.py'), 66 api.path['depot_tools'].join('gn.py'),
68 ['--root=%s' % str(api.path['checkout']), 67 ['--root=%s' % str(api.path['checkout']),
69 'refs', 68 'refs',
70 str(api.chromium.output_dir), 69 str(api.chromium.output_dir),
71 '--all', 70 '--all',
72 '--type=executable', 71 '--type=executable',
73 '--as=output', 72 '--as=output',
74 '//webrtc/test/fuzzers:webrtc_fuzzer_main', 73 '//webrtc/test/fuzzers:webrtc_fuzzer_main',
75 ], 74 ],
76 stdout=api.raw_io.output()) 75 stdout=api.raw_io.output())
77 76
78 targets = step_result.stdout.split() 77 targets = step_result.stdout.split()
79 api.step.active_result.presentation.logs['targets'] = targets 78 api.step.active_result.presentation.logs['targets'] = targets
80 api.chromium.compile(targets=targets) 79 api.chromium.compile(targets=targets)
81 80
82 81
83 def GenTests(api): 82 def GenTests(api):
84 for test in api.chromium.gen_tests_for_builders(BUILDERS): 83 for test in api.chromium.gen_tests_for_builders(BUILDERS):
85 yield (test + 84 yield (test +
86 api.step_data('calculate targets', 85 api.step_data('calculate targets',
87 stdout=api.raw_io.output('target1 target2 target3')) 86 stdout=api.raw_io.output('target1 target2 target3'))
88 ) 87 )
89 88
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698