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

Unified Diff: scripts/slave/recipe_modules/gpu/test_api.py

Issue 1675443002: Delete the GPU recipe and code that only it depended on. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressed iannucci's review feedback. Created 4 years, 10 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 | « scripts/slave/recipe_modules/gpu/common.py ('k') | scripts/slave/recipe_modules/isolate/api.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/gpu/test_api.py
diff --git a/scripts/slave/recipe_modules/gpu/test_api.py b/scripts/slave/recipe_modules/gpu/test_api.py
deleted file mode 100644
index 833b2d0d142f649caf2fc8ff993d9ff8a547a76a..0000000000000000000000000000000000000000
--- a/scripts/slave/recipe_modules/gpu/test_api.py
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-from recipe_engine import recipe_test_api
-
-import common
-
-class GpuTestApi(recipe_test_api.RecipeTestApi):
- @property
- def dummy_swarm_hashes(self):
- return dict(
- (target, '[dummy hash for %s]' % target)
- for target in common.GPU_ISOLATES)
-
- @property
- def dummy_win_fyi_swarm_hashes(self):
- return dict(
- (target, '[dummy hash for %s]' % target)
- for target in common.ALL_WIN_FYI_GPU_ISOLATES)
-
- @property
- def dummy_linux_fyi_swarm_hashes(self):
- return dict(
- (target, '[dummy hash for %s]' % target)
- for target in common.ALL_LINUX_FYI_GPU_ISOLATES)
-
- @property
- def dummy_angle_trybot_swarm_hashes(self):
- return dict(
- (target, '[dummy hash for %s]' % target)
- for target in common.ALL_ANGLE_TRYBOT_GPU_ISOLATES)
-
- def get_dummy_swarm_hashes_for_trybot(self, master):
- if master == 'tryserver.chromium.angle':
- return self.dummy_angle_trybot_swarm_hashes
- else:
- return self.dummy_swarm_hashes
-
- # The following data was generated by running 'gyp_chromium
- # --analyzer' with input JSON files corresponding to changes
- # affecting these targets.
-
- @property
- def analyze_builds_nothing(self):
- return self.m.json.output({
- 'status': 'No dependencies',
- 'compile_targets': [],
- 'test_targets': [],
- })
-
- @property
- def analyze_builds_angle_unittests(self):
- return self.m.json.output({
- 'status': 'Found dependency',
- 'compile_targets': ['All', 'angle_unittests'],
- 'test_targets': ['angle_unittests_run'],
- })
-
- @property
- def analyze_builds_everything(self):
- return self.m.json.output({
- 'status': 'Found dependency',
- 'compile_targets': sorted((
- # A few random targets from the Chrome build to try to
- # confuse the recipe
- 'All', 'app_list_demo', 'app_list_unittests', 'app_shell',
- 'chrome_initial') +
- # The names of our isolates (even though telemetry_gpu_test
- # won't actually be reported by analyze)
- common.GPU_ISOLATES ),
- 'test_targets': [u'%s_run' % test for test in common.GPU_ISOLATES],
- })
« no previous file with comments | « scripts/slave/recipe_modules/gpu/common.py ('k') | scripts/slave/recipe_modules/isolate/api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698