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

Unified Diff: scripts/slave/recipe_modules/chromium_tests/manual_bisect_files.py

Issue 2279953002: lightweight builds archiving for mac and win64 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: lightweight builds archiving for mac and win64 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
Index: scripts/slave/recipe_modules/chromium_tests/manual_bisect_files.py
diff --git a/scripts/slave/recipe_modules/chromium_tests/manual_bisect_files.py b/scripts/slave/recipe_modules/chromium_tests/manual_bisect_files.py
new file mode 100644
index 0000000000000000000000000000000000000000..25f1b6570fa1c0ea3e36e4fb551ba7e4cc56be8a
--- /dev/null
+++ b/scripts/slave/recipe_modules/chromium_tests/manual_bisect_files.py
@@ -0,0 +1,78 @@
+# Copyright 2016 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.
+
+""" Defines variables necessary to make lightweight linux perf builds.
+
+Declares required files and whitelisted files to run manual bisect
+script on perf builds. Binary files that should be
+stripped to reduce zip file size are declared. The file list was
+gotten from the local chrome executable path. (This can be retrieved by
+typing 'chrome://version' in chrome and following the executable path.
+The list needs to be updated if future chrome versions require additional files.
+"""
+CHROME_REQUIRED_FILES = {
+ 'Linux Builder': [
dtu 2016/08/30 02:40:22 Prefer to not index by display name. If we could u
miimnk 2016/08/30 21:14:54 Passed in the platform name from chromium_tests/ap
+ 'chrome',
+ 'chrome_100_percent.pak',
+ 'chrome_200_percent.pak',
+ 'default_apps',
+ 'icudtl.dat',
+ 'libwidevinecdm.so',
+ 'locales',
+ 'nacl_helper',
+ 'nacl_helper_bootstrap',
+ 'nacl_irt_x86_64.nexe',
+ 'natives_blob.bin',
+ 'PepperFlash',
+ 'product_logo_48.png'
+ 'resources.pak',
+ 'snapshot_blob.bin',
+ 'xdg-mime',
+ 'xdg-settings'
+ ],
+ 'Win x64 Builder': [
+ 'chrome.dll',
+ 'chrome.exe',
+ 'chrome_100_percent.pak',
+ 'chrome_200_percent.pak',
+ 'chrome_child.dll',
+ 'chrome_elf.dll',
+ 'chrome_watcher.dll',
+ 'default_apps',
+ 'd3dcompiler_47.dll',
+ 'icudtl.dat',
+ 'libEGL.dll',
+ 'libGLESv2.dll',
+ 'locales',
+ 'nacl_irt_x86_64.nexe',
+ 'natives_blob.bin',
+ 'PepperFlash',
+ 'resources.pak',
+ 'SecondaryTile.png',
+ 'snapshot_blob.bin'
+ ],
+ 'Mac Builder': [
+ 'Google Chrome.app'
+ ]
+}
+
+CHROME_WHITELIST_FILES = {
+ 'Linux Builder': '',
+ 'Win x64 Builder': '^\d+\.\d+\.\d+\.\d+\.manifest$',
+ 'Mac Builder': ''
+}
+
+CHROME_STRIP_LIST = {
+ 'Linux Builder': [
+ 'chrome',
+ 'nacl_helper'
+ ],
+ 'Win x64 Builder': [
+ # No stripping symbols from win64 archives.
+
+ ],
+ 'Mac Builder': [
+ # No stripping symbols from Mac archives.
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698