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

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

Issue 11931041: Adjust to recent move. (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 | « third_party/WebCore/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/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
16 17
17 # Path to install latest IDL. 18 # Path to install latest IDL.
18 IDL_PATH = os.path.join(DART_PATH, 'third_party', 'WebCore') 19 IDL_PATH = os.path.join(DART_PATH, 'third_party', 'WebCore')
19 20
20 # Whitelist of files to keep. 21 # Whitelist of files to keep.
21 WHITELIST = [ 22 WHITELIST = [
22 r'LICENSE(\S+)', 23 r'LICENSE(\S+)',
23 r'(\S+)\.idl'] 24 r'(\S+)\.idl']
24 25
25 # README file to generate. 26 # README file to generate.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 url, latest = GetWebkitSvnRevision() 111 url, latest = GetWebkitSvnRevision()
111 if not revision: 112 if not revision:
112 revision = latest 113 revision = latest
113 RefreshIDL(url, revision) 114 RefreshIDL(url, revision)
114 PruneExtraFiles() 115 PruneExtraFiles()
115 GenerateReadme(url, revision) 116 GenerateReadme(url, revision)
116 117
117 118
118 if __name__ == '__main__': 119 if __name__ == '__main__':
119 main() 120 main()
OLDNEW
« no previous file with comments | « third_party/WebCore/README ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698