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 b451d1b9169b90d18a0bec72916984174de16e5a..0eb5bbcb07be544e8420c9c994d47479b9e306a7 100644 |
--- a/scripts/slave/recipe_modules/archive/api.py |
+++ b/scripts/slave/recipe_modules/archive/api.py |
@@ -270,6 +270,17 @@ class ArchiveApi(recipe_api.RecipeApi): |
else: |
staging_dir = self.m.path.mkdtemp('chrome_staging') |
+ llvm_tools_to_copy = ['sancov', 'llvm-symbolizer'] |
inferno
2016/10/05 22:16:38
nit: alpha ordering.
Oliver Chang
2016/10/06 18:50:07
Done.
|
+ llvm_bin_dir = self.m.path['checkout'].join('third_party', 'llvm-build', |
+ 'Release+Asserts', 'bin') |
+ exe = '' |
inferno
2016/10/05 22:16:38
nit: s/exe/ext
Oliver Chang
2016/10/06 18:50:07
Done.
|
+ if self.m.platform.name == 'win': |
+ exe = '.exe' |
+ |
+ for tool in llvm_tools_to_copy: |
+ self.m.file.copy('Copy ' + tool, |
+ self.m.path.join(llvm_bin_dir, tool + exe), build_dir) |
+ |
# Build the list of files to archive. |
zip_file_list = [f for f in self.m.file.listdir('build_dir', build_dir) |
if self._cf_should_package_file(f)] |