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: dart/tools/compiler_scripts/generate_source_list.py

Issue 20722006: Removed compiler/ directory from repository (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env 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 from __future__ import with_statement 6 from __future__ import with_statement
7 import StringIO 7 import StringIO
8 import os 8 import os
9 import sys 9 import sys
10 10
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 *rest): 120 *rest):
121 if not path: 121 if not path:
122 raise GenerateError("usage: %s NAME OUTPUT PATH EXCLUDE_DIR_NAME ..." 122 raise GenerateError("usage: %s NAME OUTPUT PATH EXCLUDE_DIR_NAME ..."
123 % script_name) 123 % script_name)
124 base_directory = os.path.dirname(output) 124 base_directory = os.path.dirname(output)
125 Generator(base_directory, name, output, path, *rest).generate() 125 Generator(base_directory, name, output, path, *rest).generate()
126 126
127 127
128 if __name__ == '__main__': 128 if __name__ == '__main__':
129 sys.exit(Main(*sys.argv)) 129 sys.exit(Main(*sys.argv))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698