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

Side by Side Diff: tools/create_tarball.py

Issue 1697203002: Switch to downloaded SDK executable, drop executables in testing/bin. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « tools/bots/cross-vm.py ('k') | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
4 # for details. All rights reserved. Use of this source code is governed by a 4 # for details. All rights reserved. Use of this source code is governed by a
5 # BSD-style license that can be found in the LICENSE file. 5 # BSD-style license that can be found in the LICENSE file.
6 # 6 #
7 7
8 # Script to build a tarball of the Dart source. 8 # Script to build a tarball of the Dart source.
9 # 9 #
10 # The tarball includes all the source needed to build Dart. This 10 # The tarball includes all the source needed to build Dart. This
(...skipping 22 matching lines...) Expand all
33 33
34 HOST_OS = utils.GuessOS() 34 HOST_OS = utils.GuessOS()
35 DART_DIR = abspath(join(__file__, '..', '..')) 35 DART_DIR = abspath(join(__file__, '..', '..'))
36 # Flags. 36 # Flags.
37 verbose = False 37 verbose = False
38 38
39 # Name of the dart directory when unpacking the tarball. 39 # Name of the dart directory when unpacking the tarball.
40 versiondir = '' 40 versiondir = ''
41 41
42 # Ignore Git/SVN files, checked-in binaries, backup files, etc.. 42 # Ignore Git/SVN files, checked-in binaries, backup files, etc..
43 ignoredPaths = ['tools/testing/bin', 43 ignoredPaths = ['tools/sdks',
44 'tools/sdks',
45 'third_party/7zip', 'third_party/android_tools', 44 'third_party/7zip', 'third_party/android_tools',
46 'third_party/clang', 'third_party/d8', 45 'third_party/clang', 'third_party/d8',
47 'third_party/firefox_jsshell'] 46 'third_party/firefox_jsshell']
48 ignoredDirs = ['.svn', '.git'] 47 ignoredDirs = ['.svn', '.git']
49 ignoredEndings = ['.mk', '.pyc', 'Makefile', '~'] 48 ignoredEndings = ['.mk', '.pyc', 'Makefile', '~']
50 49
51 def BuildOptions(): 50 def BuildOptions():
52 result = optparse.OptionParser() 51 result = optparse.OptionParser()
53 result.add_option("-v", "--verbose", 52 result.add_option("-v", "--verbose",
54 help='Verbose output.', 53 help='Verbose output.',
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 tar_filename = options.tar_filename 159 tar_filename = options.tar_filename
161 if not tar_filename: 160 if not tar_filename:
162 tar_filename = join(DART_DIR, 161 tar_filename = join(DART_DIR,
163 utils.GetBuildDir(HOST_OS), 162 utils.GetBuildDir(HOST_OS),
164 'dart-%s.tar.gz' % utils.GetVersion()) 163 'dart-%s.tar.gz' % utils.GetVersion())
165 164
166 CreateTarball(tar_filename) 165 CreateTarball(tar_filename)
167 166
168 if __name__ == '__main__': 167 if __name__ == '__main__':
169 sys.exit(Main()) 168 sys.exit(Main())
OLDNEW
« no previous file with comments | « tools/bots/cross-vm.py ('k') | tools/deps/dartium.deps/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698