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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py
diff --git a/scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py b/scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py
index 2fd632d6018057b7c45a036836b39035daa9c994..d5c235337c2eb23338e755e9dcf35eb7b7b1baf3 100644
--- a/scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py
+++ b/scripts/slave/recipes/chromium.fyi.misc_block.recipe_autogen.py
@@ -6,6 +6,7 @@ DEPS = [
'chromium',
'depot_tools/bot_update',
'depot_tools/gclient',
+ 'file',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/properties',
@@ -86,6 +87,10 @@ def CFI_Linux_CF_steps(api):
api.gclient.c = src_cfg
result = api.bot_update.ensure_checkout(force=True)
build_properties.update(result.json.output.get("properties", {}))
+
+ # clobber before runhooks
+ api.file.rmtree('clobber', api.path['checkout'].join('out', 'Release'))
+
# gclient revert step; made unnecessary by bot_update
# gclient update step; made unnecessary by bot_update
# gclient runhooks wrapper step
@@ -101,7 +106,7 @@ def CFI_Linux_CF_steps(api):
# cleanup_temp step
api.chromium.cleanup_temp()
# compile.py step
- args = ['--target', 'Release', '--clobber', 'chromium_builder_asan']
+ args = ['--target', 'Release', 'chromium_builder_asan']
api.python("compile",
api.path["build"].join("scripts", "slave", "compile.py"),
args=args)
« 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