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

Side by Side Diff: tools/dom/scripts/idlsync.py

Issue 11958043: Remove debug print. (Closed) Base URL: https://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
« no previous file with comments | « no previous file | 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/python 1 #!/usr/bin/python
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2 # Copyright (c) 2012, 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 import optparse 6 import optparse
7 import os 7 import os
8 import os.path 8 import os.path
9 import re 9 import re
10 import shutil 10 import shutil
11 import subprocess 11 import subprocess
12 import sys 12 import sys
13 13
14 SCRIPT_PATH = os.path.abspath(os.path.dirname(__file__)) 14 SCRIPT_PATH = os.path.abspath(os.path.dirname(__file__))
15 DART_PATH = os.path.abspath(os.path.join(SCRIPT_PATH, '..', '..', '..')) 15 DART_PATH = os.path.abspath(os.path.join(SCRIPT_PATH, '..', '..', '..'))
16 print '***', DART_PATH
17 16
18 # Path to install latest IDL. 17 # Path to install latest IDL.
19 IDL_PATH = os.path.join(DART_PATH, 'third_party', 'WebCore') 18 IDL_PATH = os.path.join(DART_PATH, 'third_party', 'WebCore')
20 19
21 # Whitelist of files to keep. 20 # Whitelist of files to keep.
22 WHITELIST = [ 21 WHITELIST = [
23 r'LICENSE(\S+)', 22 r'LICENSE(\S+)',
24 r'(\S+)\.idl'] 23 r'(\S+)\.idl']
25 24
26 # README file to generate. 25 # README file to generate.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 url, latest = GetWebkitSvnRevision() 110 url, latest = GetWebkitSvnRevision()
112 if not revision: 111 if not revision:
113 revision = latest 112 revision = latest
114 RefreshIDL(url, revision) 113 RefreshIDL(url, revision)
115 PruneExtraFiles() 114 PruneExtraFiles()
116 GenerateReadme(url, revision) 115 GenerateReadme(url, revision)
117 116
118 117
119 if __name__ == '__main__': 118 if __name__ == '__main__':
120 main() 119 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698