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

Side by Side Diff: scripts/slave/recipe_modules/isolate/api.py

Issue 763363002: Deterministic build: Add a whitelist to the compare_build_artifact script (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 6 years 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/recipe_modules/isolate/resources/compare_build_artifacts.py » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from slave import recipe_api 5 from slave import recipe_api
6 6
7 7
8 class IsolateApi(recipe_api.RecipeApi): 8 class IsolateApi(recipe_api.RecipeApi):
9 """APIs for interacting with isolates.""" 9 """APIs for interacting with isolates."""
10 10
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
267 args=args, 267 args=args,
268 cwd=self.m.path['slave_build']) 268 cwd=self.m.path['slave_build'])
269 except self.m.step.StepFailure: 269 except self.m.step.StepFailure:
270 step_result = self.m.step.active_result 270 step_result = self.m.step.active_result
271 step_result.presentation.status = self.m.step.WARNING 271 step_result.presentation.status = self.m.step.WARNING
272 272
273 def compare_build_artifacts(self, first_dir, second_dir): 273 def compare_build_artifacts(self, first_dir, second_dir):
274 """Compare the artifacts from 2 builds.""" 274 """Compare the artifacts from 2 builds."""
275 args = [ 275 args = [
276 '--first-build-dir', first_dir, 276 '--first-build-dir', first_dir,
277 '--second-build-dir', second_dir 277 '--second-build-dir', second_dir,
278 '--target-platform', self.m.chromium.c.TARGET_PLATFORM
278 ] 279 ]
279 self.m.python('compare_build_artifacts', 280 self.m.python('compare_build_artifacts',
280 self.resource('compare_build_artifacts.py'), 281 self.resource('compare_build_artifacts.py'),
281 args=args, 282 args=args,
282 cwd=self.m.path['slave_build']) 283 cwd=self.m.path['slave_build'])
OLDNEW
« 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