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

Side by Side Diff: utils/tip/copy_libs.py

Issue 8889031: move tip to utils so it can be picked up in the SDK (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 9 years 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
« no previous file with comments | « utils/tip/background.html ('k') | utils/tip/create_fftip.py » ('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/local/evn python 1 #!/usr/local/evn python
2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
3 # for details. All rights reserved. Use of this source code is governed by a 3 # for details. All rights reserved. Use of this source code is governed by a
4 # BSD-style license that can be found in the LICENSE file. 4 # BSD-style license that can be found in the LICENSE file.
5 5
6 # TODO(jimhug): THIS IS CURRENTLY BROKEN - NEEDS FIX BEFORE EXTENSIONS WORK! 6 # TODO(jimhug): THIS IS CURRENTLY BROKEN - NEEDS FIX BEFORE EXTENSIONS WORK!
7 7
8 # A script that copies dart/frog/lib under dart/frog/tip/lib/. This script 8 # A script that copies dart/frog/lib under dart/frog/tip/lib/. This script
9 # internally uses copy_dart to resolve relative paths used in the libraries and 9 # internally uses copy_dart to resolve relative paths used in the libraries and
10 # merge source files together. 10 # merge source files together.
(...skipping 30 matching lines...) Expand all
41 return libs 41 return libs
42 42
43 def main(): 43 def main():
44 os.chdir(LIB_PATH) 44 os.chdir(LIB_PATH)
45 libs = find_libraries(LIB_PATH) 45 libs = find_libraries(LIB_PATH)
46 return subprocess.call([sys.executable, 46 return subprocess.call([sys.executable,
47 '../../client/tools/copy_dart.py', os.path.join(TIP_PATH, 'lib')] + libs) 47 '../../client/tools/copy_dart.py', os.path.join(TIP_PATH, 'lib')] + libs)
48 48
49 if __name__ == '__main__': 49 if __name__ == '__main__':
50 sys.exit(main()) 50 sys.exit(main())
OLDNEW
« no previous file with comments | « utils/tip/background.html ('k') | utils/tip/create_fftip.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698