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

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

Issue 2260733002: Use files in path['checkout'] not resource. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: updated *.json 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
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/isolate/resources/compare_build_artifacts.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/isolate/api.py
diff --git a/scripts/slave/recipe_modules/isolate/api.py b/scripts/slave/recipe_modules/isolate/api.py
index 69d7836af3337924e7e345d65defb86790140fc8..03a4dea1a8a0dadef7da0d001b306accab1844e1 100644
--- a/scripts/slave/recipe_modules/isolate/api.py
+++ b/scripts/slave/recipe_modules/isolate/api.py
@@ -207,13 +207,15 @@ class IsolateApi(recipe_api.RecipeApi):
"""Removes the build metadata embedded in the build artifacts."""
args = [
'--build-dir', self.m.chromium.output_dir,
- '--src-dir', self.m.path['checkout']
]
# Turn the failures during this step into warnings, it's a best effort step
# that shouldn't break the build for now.
try:
self.m.python('remove_build_metadata',
- self.resource('remove_build_metadata.py'),
+ self.m.path.join(self.m.path['checkout'],
+ 'tools',
+ 'determinism',
+ 'remove_build_metadata.py'),
args=args,
cwd=self.m.path['slave_build'])
except self.m.step.StepFailure:
@@ -228,6 +230,9 @@ class IsolateApi(recipe_api.RecipeApi):
'--target-platform', self.m.chromium.c.TARGET_PLATFORM
]
self.m.python('compare_build_artifacts',
- self.resource('compare_build_artifacts.py'),
+ self.m.path.join(self.m.path['checkout'],
+ 'tools',
+ 'determinism',
+ 'compare_build_artifacts.py'),
args=args,
cwd=self.m.path['slave_build'])
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/isolate/resources/compare_build_artifacts.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698