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

Side by Side Diff: core/scripts/action_derivedsourcesallinone.py

Issue 23014006: Roll IDL to multivm@1350 (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
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
« no previous file with comments | « core/page/Window.idl ('k') | core/scripts/make_style_builder.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/bin/python 1 #!/usr/bin/python
2 # 2 #
3 # Copyright (C) 2009 Google Inc. All rights reserved. 3 # Copyright (C) 2009 Google Inc. All rights reserved.
4 # 4 #
5 # Redistribution and use in source and binary forms, with or without 5 # Redistribution and use in source and binary forms, with or without
6 # modification, are permitted provided that the following conditions are 6 # modification, are permitted provided that the following conditions are
7 # met: 7 # met:
8 # 8 #
9 # * Redistributions of source code must retain the above copyright 9 # * Redistributions of source code must retain the above copyright
10 # notice, this list of conditions and the following disclaimer. 10 # notice, this list of conditions and the following disclaimer.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 import re 47 import re
48 import subprocess 48 import subprocess
49 import sys 49 import sys
50 50
51 # A regexp for finding Conditional attributes in interface definitions. 51 # A regexp for finding Conditional attributes in interface definitions.
52 conditionalPattern = re.compile('interface[\s]*\[[^\]]*Conditional=([\_0-9a-zA-Z &|]*)') 52 conditionalPattern = re.compile('interface[\s]*\[[^\]]*Conditional=([\_0-9a-zA-Z &|]*)')
53 53
54 copyrightTemplate = """/* 54 copyrightTemplate = """/*
55 * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT. 55 * THIS FILE WAS AUTOMATICALLY GENERATED, DO NOT EDIT.
56 * 56 *
57 * This file was generated by the make_jni_lists.py script. 57 * This file was generated by the action_derivedsourcesallinone.py script.
58 * 58 *
59 * Copyright (C) 2009 Google Inc. All rights reserved. 59 * Copyright (C) 2009 Google Inc. All rights reserved.
60 * 60 *
61 * Redistribution and use in source and binary forms, with or without 61 * Redistribution and use in source and binary forms, with or without
62 * modification, are permitted provided that the following conditions 62 * modification, are permitted provided that the following conditions
63 * are met: 63 * are met:
64 * 1. Redistributions of source code must retain the above copyright 64 * 1. Redistributions of source code must retain the above copyright
65 * notice, this list of conditions and the following disclaimer. 65 * notice, this list of conditions and the following disclaimer.
66 * 2. Redistributions in binary form must reproduce the above copyright 66 * 2. Redistributions in binary form must reproduce the above copyright
67 * notice, this list of conditions and the following disclaimer in the 67 * notice, this list of conditions and the following disclaimer in the
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 for fileName in outputFileNames: 216 for fileName in outputFileNames:
217 partition = outputFileNames.index(fileName) 217 partition = outputFileNames.index(fileName)
218 fileContents = generateContent(filesMetaData, partition, len(outputFileN ames)) 218 fileContents = generateContent(filesMetaData, partition, len(outputFileN ames))
219 writeContent(fileContents, fileName) 219 writeContent(fileContents, fileName)
220 220
221 return 0 221 return 0
222 222
223 223
224 if __name__ == '__main__': 224 if __name__ == '__main__':
225 sys.exit(main(sys.argv)) 225 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « core/page/Window.idl ('k') | core/scripts/make_style_builder.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698