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

Side by Side Diff: scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py

Issue 2047963003: Give autogen bots on chromium.fyi and client.nacl.sdk a separate clobber step (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build@master
Patch Set: Created 4 years, 6 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.fyi.misc_block.recipe_autogen.expected/CFI_Linux_CF.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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 DEPS = [ 5 DEPS = [
6 'chromium', 6 'chromium',
7 'depot_tools/bot_update', 7 'depot_tools/bot_update',
8 'depot_tools/gclient', 8 'depot_tools/gclient',
9 'file',
9 'recipe_engine/json', 10 'recipe_engine/json',
10 'recipe_engine/path', 11 'recipe_engine/path',
11 'recipe_engine/properties', 12 'recipe_engine/properties',
12 'recipe_engine/python', 13 'recipe_engine/python',
13 'recipe_engine/step', 14 'recipe_engine/step',
14 ] 15 ]
15 16
16 17
17 def Android_ChromeDriver_Tests__dbg__steps(api): 18 def Android_ChromeDriver_Tests__dbg__steps(api):
18 build_properties = api.properties.legacy() 19 build_properties = api.properties.legacy()
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 'https://svn.code.sf.net/p/%(repo)s/code', 80 'https://svn.code.sf.net/p/%(repo)s/code',
80 'llvm_url': 'http://llvm.org/svn/llvm-project'} 81 'llvm_url': 'http://llvm.org/svn/llvm-project'}
81 src_cfg.got_revision_mapping.update( 82 src_cfg.got_revision_mapping.update(
82 {'src': 'got_revision', 83 {'src': 'got_revision',
83 'src/third_party/WebKit': 'got_webkit_revision', 84 'src/third_party/WebKit': 'got_webkit_revision',
84 'src/tools/swarming_client': 'got_swarming_client_revision', 85 'src/tools/swarming_client': 'got_swarming_client_revision',
85 'src/v8': 'got_v8_revision'}) 86 'src/v8': 'got_v8_revision'})
86 api.gclient.c = src_cfg 87 api.gclient.c = src_cfg
87 result = api.bot_update.ensure_checkout(force=True) 88 result = api.bot_update.ensure_checkout(force=True)
88 build_properties.update(result.json.output.get("properties", {})) 89 build_properties.update(result.json.output.get("properties", {}))
90
91 # clobber before runhooks
92 api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release'))
93
89 # gclient revert step; made unnecessary by bot_update 94 # gclient revert step; made unnecessary by bot_update
90 # gclient update step; made unnecessary by bot_update 95 # gclient update step; made unnecessary by bot_update
91 # gclient runhooks wrapper step 96 # gclient runhooks wrapper step
92 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1', 97 env = {'CHROMIUM_GYP_SYNTAX_CHECK': '1',
93 'LANDMINES_VERBOSE': '1', 98 'LANDMINES_VERBOSE': '1',
94 'DEPOT_TOOLS_UPDATE': '0', 99 'DEPOT_TOOLS_UPDATE': '0',
95 'GYP_DEFINES': ' component=static_library', 100 'GYP_DEFINES': ' component=static_library',
96 'LLVM_DOWNLOAD_GOLD_PLUGIN': '1'} 101 'LLVM_DOWNLOAD_GOLD_PLUGIN': '1'}
97 api.python("gclient runhooks wrapper", 102 api.python("gclient runhooks wrapper",
98 api.path["build"].join("scripts", "slave", 103 api.path["build"].join("scripts", "slave",
99 "runhooks_wrapper.py"), 104 "runhooks_wrapper.py"),
100 env=env) 105 env=env)
101 # cleanup_temp step 106 # cleanup_temp step
102 api.chromium.cleanup_temp() 107 api.chromium.cleanup_temp()
103 # compile.py step 108 # compile.py step
104 args = ['--target', 'Release', '--clobber', 'chromium_builder_asan'] 109 args = ['--target', 'Release', 'chromium_builder_asan']
105 api.python("compile", 110 api.python("compile",
106 api.path["build"].join("scripts", "slave", "compile.py"), 111 api.path["build"].join("scripts", "slave", "compile.py"),
107 args=args) 112 args=args)
108 # ClusterFuzz Archive step 113 # ClusterFuzz Archive step
109 # HACK(aneeshm): chromium_utils fails without this. 114 # HACK(aneeshm): chromium_utils fails without this.
110 build_properties["primary_repo"] = "" 115 build_properties["primary_repo"] = ""
111 api.python( 116 api.python(
112 'ClusterFuzz Archive', 117 'ClusterFuzz Archive',
113 api.path["build"].join("scripts", "slave", "chromium", 118 api.path["build"].join("scripts", "slave", "chromium",
114 "cf_archive_build.py"), 119 "cf_archive_build.py"),
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 api.properties(revision='123456789abcdef') + 158 api.properties(revision='123456789abcdef') +
154 api.properties(got_revision='123456789abcdef') + 159 api.properties(got_revision='123456789abcdef') +
155 api.properties(buildnumber='42') + 160 api.properties(buildnumber='42') +
156 api.properties(slavename='TestSlave') 161 api.properties(slavename='TestSlave')
157 ) 162 )
158 yield (api.test('builder_not_in_dispatch_directory') + 163 yield (api.test('builder_not_in_dispatch_directory') +
159 api.properties(mastername='chromium.fyi') + 164 api.properties(mastername='chromium.fyi') +
160 api.properties(buildername='nonexistent_builder') + 165 api.properties(buildername='nonexistent_builder') +
161 api.properties(slavename='TestSlave') 166 api.properties(slavename='TestSlave')
162 ) 167 )
OLDNEW
« no previous file with comments | « no previous file | scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.expected/CFI_Linux_CF.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698