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

Unified Diff: scripts/slave/zip_build.py

Issue 11234013: Selective build clobbering feature (compile.py). (Closed) Base URL: http://git.chromium.org/chromium/tools/build.git@master
Patch Set: Evil typobug Created 8 years, 1 month 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
« scripts/slave/compile.py ('K') | « scripts/slave/compile.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/zip_build.py
diff --git a/scripts/slave/zip_build.py b/scripts/slave/zip_build.py
index 6b3376f9b8bc874d64764f68bd1be2a4ccde9080..e379cc72631d86e6723bd3b6ab0a96ae30a0f269 100755
--- a/scripts/slave/zip_build.py
+++ b/scripts/slave/zip_build.py
@@ -133,12 +133,13 @@ def FileRegexBlacklist(options):
def FileExclusions():
+ all_platforms = ['.landmines', 'obj', 'lib']
# Skip files that the testers don't care about. Mostly directories.
if chromium_utils.IsWindows():
# Remove obj or lib dir entries
- return ['obj', 'lib', 'cfinstaller_archive', 'installer_archive']
+ return all_platforms + ['cfinstaller_archive', 'installer_archive']
if chromium_utils.IsMac():
- return [
+ return all_platforms + [
# We don't need the arm bits v8 builds.
'd8_arm', 'v8_shell_arm',
# pdfsqueeze is a build helper, no need to copy it to testers.
@@ -157,12 +158,12 @@ def FileExclusions():
# copy outside the app.
'Chromium Helper.app',
'Google Chrome Helper.app',
- '.deps', 'obj', 'obj.host', 'obj.target',
+ '.deps', 'obj.host', 'obj.target',
]
if chromium_utils.IsLinux():
- return [
+ return all_platforms + [
# intermediate build directories (full of .o, .d, etc.).
- 'appcache', 'glue', 'googleurl', 'lib', 'lib.host', 'obj', 'obj.host',
+ 'appcache', 'glue', 'googleurl', 'lib.host', 'obj.host',
'obj.target', 'src', '.deps',
# scons build cruft
'.sconsign.dblite',
@@ -170,7 +171,7 @@ def FileExclusions():
'mksnapshot',
]
- return []
+ return all_platforms
def WriteRevisionFile(dirname, build_revision):
« scripts/slave/compile.py ('K') | « scripts/slave/compile.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698