 Chromium Code Reviews
 Chromium Code Reviews| Index: runtime/tools/concat_library.py | 
| =================================================================== | 
| --- runtime/tools/concat_library.py (revision 15315) | 
| +++ runtime/tools/concat_library.py (working copy) | 
| @@ -31,7 +31,10 @@ | 
| for source in arguments: | 
| with open(source, 'r') as inpt: | 
| for line in inpt: | 
| - if line.startswith('#source'): | 
| + # Drop unneeded library tags as all the library's files | 
| + # are concatenated into one big file here: | 
| + # The 'part' and 'part of' library tags are removed. | 
| + if line.startswith('#source') or line.startswith('part '): | 
| 
siva
2012/11/27 02:18:07
There is the danger of legal lines which start wit
 
Ivan Posva
2012/11/27 05:38:19
I understand all of these limitations (they went a
 | 
| line = '// %s' % line | 
| output.write(line) | 
| shutil.move(tmp_name, options.output) |