From fceaba3af1a2dbb9e965320be39432b1b412e284 Mon Sep 17 00:00:00 2001 From: Yunlian Jiang Date: Wed, 6 Jun 2018 09:08:44 -0700 Subject: Use internal chrome source tree for telemetry. Now sync_chrome works for mobiletc-prebuild, there is no need to have this workaround. BUG=none TEST=ebuild-caroline $(equery-caroline w chromeos-chrome) prepare works on mobiletc-prebuild account Change-Id: I36ca9967b8b8fe5f79ca3b4dedc69271484d633f Reviewed-on: https://chromium-review.googlesource.com/1089114 Commit-Ready: ChromeOS CL Exonerator Bot Tested-by: Yunlian Jiang Reviewed-by: Manoj Gupta --- buildbot_test_toolchains.py | 38 +++----------------------------------- 1 file changed, 3 insertions(+), 35 deletions(-) (limited to 'buildbot_test_toolchains.py') diff --git a/buildbot_test_toolchains.py b/buildbot_test_toolchains.py index eb137937..e5674a21 100755 --- a/buildbot_test_toolchains.py +++ b/buildbot_test_toolchains.py @@ -175,17 +175,7 @@ class ToolchainComparator(object): f.write(experiment_tests) # Now add vanilla to test file. - if os.getlogin() == ROLE_ACCOUNT: - official_image = """ - vanilla_image { - chromeos_root: %s - build: %s - compiler: llvm - chrome_src: /usr/local/google/crostc/chrome-src-internal - } - """ % (self._chromeos_root, vanilla_image) - else: - official_image = """ + official_image = """ vanilla_image { chromeos_root: %s build: %s @@ -196,17 +186,7 @@ class ToolchainComparator(object): # Now add non-AFDO image to test file. if nonafdo_image: - if os.getlogin() == ROLE_ACCOUNT: - official_nonafdo_image = """ - nonafdo_image { - chromeos_root: %s - build: %s - compiler: llvm - chrome_src: /usr/local/google/crostc/chrome-src-internal - } - """ % (self._chromeos_root, nonafdo_image) - else: - official_nonafdo_image = """ + official_nonafdo_image = """ nonafdo_image { chromeos_root: %s build: %s @@ -219,19 +199,7 @@ class ToolchainComparator(object): # Reuse autotest files from vanilla image for trybot images autotest_files = os.path.join('/tmp', vanilla_image, 'autotest_files') - if os.getlogin() == ROLE_ACCOUNT: - experiment_image = """ - %s { - chromeos_root: %s - build: %s - autotest_path: %s - compiler: %s - chrome_src: /usr/local/google/crostc/chrome-src-internal - } - """ % (label_string, self._chromeos_root, trybot_image, - autotest_files, compiler_string) - else: - experiment_image = """ + experiment_image = """ %s { chromeos_root: %s build: %s -- cgit v1.2.3