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

Side by Side Diff: tools/create_editor.py

Issue 11973012: Rev the version of apache ant in third_party to 1.8.4. This will fix an issue with (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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 | Annotate | Revision Log
« compiler/dartium.gyp ('K') | « third_party/apache_ant/README ('k') | no next file » | 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) 2013, the Dart project authors. Please see the AUTHORS file 3 # Copyright (c) 2013, 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 # A script which will be invoked from gyp to create a build of the editor. 7 # A script which will be invoked from gyp to create a build of the editor.
8 # 8 #
9 # TODO(devoncarew): currently this script is not callable from tools/build.py 9 # TODO(devoncarew): currently this script is not callable from tools/build.py
10 # Usage: ./tools/build.py editor 10 # Usage: ./tools/build.py editor
(...skipping 18 matching lines...) Expand all
29 'linux': 'linux, gtk', 29 'linux': 'linux, gtk',
30 'macos': 'macosx, cocoa' 30 'macos': 'macosx, cocoa'
31 } 31 }
32 32
33 ARCH_CONFIG = { 33 ARCH_CONFIG = {
34 'ia32': 'x86', 34 'ia32': 'x86',
35 'x64': 'x86_64' 35 'x64': 'x86_64'
36 } 36 }
37 37
38 def AntPath(): 38 def AntPath():
39 parent = join('third_party', 'apache_ant', 'v1_7_1', 'bin') 39 parent = join('third_party', 'apache_ant', '1.8.4', 'bin')
40 if utils.IsWindows(): 40 if utils.IsWindows():
41 return join(parent, 'ant.bat') 41 return join(parent, 'ant.bat')
42 else: 42 else:
43 return join(parent, 'ant') 43 return join(parent, 'ant')
44 44
45 45
46 def ProcessEditorArchive(archive, outDir): 46 def ProcessEditorArchive(archive, outDir):
47 tempDir = join(GetEditorTemp(), 'editor.out') 47 tempDir = join(GetEditorTemp(), 'editor.out')
48 os.makedirs(tempDir) 48 os.makedirs(tempDir)
49 49
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 ProcessEditorArchive(archives[0], OUTPUT) 185 ProcessEditorArchive(archives[0], OUTPUT)
186 186
187 if os.path.exists(GetEditorTemp()): 187 if os.path.exists(GetEditorTemp()):
188 shutil.rmtree(GetEditorTemp()) 188 shutil.rmtree(GetEditorTemp())
189 189
190 print('\nEditor build successful') 190 print('\nEditor build successful')
191 191
192 192
193 if __name__ == '__main__': 193 if __name__ == '__main__':
194 sys.exit(Main()) 194 sys.exit(Main())
OLDNEW
« compiler/dartium.gyp ('K') | « third_party/apache_ant/README ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698