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

Unified Diff: tools/dartium/archive.py

Issue 522483005: Remove dead Dartium archive version file code. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | « no previous file | tools/dartium/print_dart_version.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dartium/archive.py
diff --git a/tools/dartium/archive.py b/tools/dartium/archive.py
index f479595c27076495b5681644ff7c7afc78d1dd02..458d2ebf6f5d683e01f10d5a68343d7c6829794a 100755
--- a/tools/dartium/archive.py
+++ b/tools/dartium/archive.py
@@ -14,18 +14,15 @@ import utils
HOST_OS = utils.guessOS()
if HOST_OS == 'mac':
- VERSION_FILE = 'Chromium.app/Contents/MacOS/VERSION'
CONTENTSHELL_FILES = ['Content Shell.app', 'ffmpegsumo.so', 'osmesa.so',
'lib']
CHROMEDRIVER_FILES = ['chromedriver']
elif HOST_OS == 'linux':
- VERSION_FILE = 'VERSION'
CONTENTSHELL_FILES = ['content_shell', 'content_shell.pak', 'fonts.conf',
'libffmpegsumo.so', 'libosmesa.so', 'lib',
'icudtl.dat']
CHROMEDRIVER_FILES = ['chromedriver']
elif HOST_OS == 'win':
- VERSION_FILE = 'VERSION'
# TODO: provide proper list.
CONTENTSHELL_FILES = ['content_shell.exe', 'AHEM____.ttf']
CHROMEDRIVER_FILES = ['chromedriver.exe']
@@ -36,17 +33,6 @@ else:
CONTENTSHELL_FILES.append('snapshot-size.txt')
-def GenerateVersionFile():
- # TODO: fix it.
- if HOST_OS == 'win': return
- versionInfo = utils.getCommandOutput(os.path.join('..', '..',
- 'dart', 'tools', 'dartium',
- 'print_dart_version.sh'))
- file = open(VERSION_FILE, 'w')
- file.write(versionInfo)
- file.close()
-
-
def GenerateDartiumFileList(mode, srcpath):
def blacklisted(name):
# We include everything if this is a debug build.
@@ -135,7 +121,6 @@ def StageAndZip(fileList, target):
for oldFile in oldFiles:
os.remove(oldFile)
- GenerateVersionFile()
GenerateZipFile(zipFile, stageDir, fileList)
print 'last change: %s' % (zipFile)
« no previous file with comments | « no previous file | tools/dartium/print_dart_version.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698