Index: master/master_private_builders_cfg.py |
diff --git a/master/master_private_builders_cfg.py b/master/master_private_builders_cfg.py |
deleted file mode 100644 |
index ff11b4ac756045b36870ea7bfb4304e836f72dd9..0000000000000000000000000000000000000000 |
--- a/master/master_private_builders_cfg.py |
+++ /dev/null |
@@ -1,91 +0,0 @@ |
-# Copyright (c) 2012 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. |
- |
-# Sets up all the builders we want the private buildbot master to run. |
- |
- |
-#pylint: disable=C0301 |
- |
- |
-import master_builders_cfg |
-from master_builders_cfg import LINUX, S_PERCOMMIT |
- |
-from skia_master_scripts.android_factory import AndroidFactory as f_android |
-from skia_master_scripts.android_roll_factory import AndroidRollFactory as \ |
- f_androidroll |
- |
- |
-def setup_test_and_perf_builders(helper, do_upload_render_results, |
- do_upload_bench_results): |
- """Set up all Test and Perf builders for the private master. |
- |
- Args: |
- helper: instance of utils.SkiaHelper |
- do_upload_render_results: bool; whether the builders should upload their |
- render results. |
- do_upload_bench_results: bool; whether the builders should upload their |
- bench results. |
- """ |
- # |
- # TEST AND PERF BUILDERS |
- # |
- # Role, OS, Model, GPU, Arch, Config, Extra Config,GYP_DEFS, Factory, Target, Scheduler, Extra Args |
- # |
- builder_specs = [ |
- ('Test', 'Android', 'Reference', 'Unknown', 'Arm64', 'Debug', None, None, f_android, LINUX, S_PERCOMMIT, {'device': 'arm64'}), |
- ('Test', 'Android', 'Reference', 'Unknown', 'Arm64', 'Release', None, None, f_android, LINUX, S_PERCOMMIT, {'device': 'arm64'}), |
- ('Perf', 'Android', 'Reference', 'Unknown', 'Arm64', 'Release', None, None, f_android, LINUX, S_PERCOMMIT, {'device': 'arm64'}), |
- ] |
- |
- master_builders_cfg.setup_builders_from_config_list( |
- builder_specs, |
- helper, |
- do_upload_render_results, |
- do_upload_bench_results, |
- master_builders_cfg.Builder) |
- |
- |
-def setup_housekeepers(helper, do_upload_render_results, |
- do_upload_bench_results): |
- """Set up the Housekeeping builders. |
- |
- Args: |
- helper: instance of utils.SkiaHelper |
- do_upload_render_results: bool; whether the builders should upload their |
- render results. |
- do_upload_bench_results: bool; whether the builders should upload their |
- bench results. |
- """ |
- # |
- # HOUSEKEEPING BUILDERS |
- # |
- # Frequency, Extra Config, Factory, Target, Scheduler, Extra Args |
- # |
- housekeepers = [ |
- ('PerCommit', 'AndroidRoll', f_androidroll, LINUX, S_PERCOMMIT, {}), |
- ] |
- |
- master_builders_cfg.setup_builders_from_config_list( |
- housekeepers, helper, |
- do_upload_render_results, |
- do_upload_bench_results, |
- master_builders_cfg.HousekeepingBuilder) |
- |
- |
-def setup_all_builders(helper, do_upload_render_results, |
- do_upload_bench_results): |
- """Set up all builders for the private master. |
- |
- Args: |
- helper: instance of utils.SkiaHelper |
- do_upload_render_results: bool; whether the builders should upload their |
- render results. |
- do_upload_bench_results: bool; whether the builders should upload their |
- bench results. |
- """ |
- setup_test_and_perf_builders(helper, do_upload_render_results, |
- do_upload_bench_results) |
- setup_housekeepers(helper=helper, |
- do_upload_render_results=do_upload_render_results, |
- do_upload_bench_results=do_upload_bench_results) |