| 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)
|
|
|
|
|