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

Unified Diff: scripts/slave/recipe_modules/archive/api.py

Issue 2279953002: lightweight builds archiving for mac and win64 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: lightweight builds archiving for mac and win64 Created 4 years, 4 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
Index: scripts/slave/recipe_modules/archive/api.py
diff --git a/scripts/slave/recipe_modules/archive/api.py b/scripts/slave/recipe_modules/archive/api.py
index bdf1c40b33f73b139539bc815ed134901697354d..481ab9c8d64fce386254a70dfa819c8a07050a64 100644
--- a/scripts/slave/recipe_modules/archive/api.py
+++ b/scripts/slave/recipe_modules/archive/api.py
@@ -92,7 +92,9 @@ class ArchiveApi(recipe_api.RecipeApi):
self, step_name, target, build_url=None, src_dir=None,
build_revision=None, cros_board=None, package_dsym_files=False,
exclude_files=None, exclude_perf_test_files=False,
- update_properties=None, store_by_hash=True, **kwargs):
+ update_properties=None, store_by_hash=True,
+ include_bisect_file_list=None, include_bisect_strip_list=None,
+ include_bisect_whitelist=None, **kwargs):
dtu 2016/08/30 02:40:22 This is a lot of plumbing/parameters in common cod
miimnk 2016/08/30 21:14:54 Yes. Instead, passed only platform name to get the
"""Returns a step invoking zip_build.py to zip up a Chromium build.
If build_url is specified, also uploads the build."""
if not src_dir:
@@ -122,11 +124,16 @@ class ArchiveApi(recipe_api.RecipeApi):
if 'gs_acl' in self.m.properties:
args.extend(['--gs-acl', self.m.properties['gs_acl']])
if exclude_perf_test_files:
- inclusions = ','.join(manual_bisect_files.CHROME_REQUIRED_FILES)
- strip_files = ','.join(manual_bisect_files.CHROME_STRIP_LIST)
- args.extend(['--include-files', inclusions])
- args.extend(['--ignore-regex'])
- args.extend(['--strip-files', strip_files])
+ if include_bisect_file_list:
+ inclusions = ','.join(include_bisect_file_list)
+ args.extend(['--include-files', inclusions])
+ if include_bisect_strip_list:
+ strip_files = ','.join(include_bisect_strip_list)
+ args.extend(['--strip-files', strip_files])
+ if include_bisect_whitelist:
+ args.extend(['--whitelist', include_bisect_whitelist])
+ args.extend(['--not-include-extra'])
+
# If update_properties is passed in and store_by_hash is False,
# we store it with commit position number instead of a hash
if update_properties and not store_by_hash:

Powered by Google App Engine
This is Rietveld 408576698