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

Side by Side Diff: trunk/pylib/gyp/MSVSProject.py

Issue 306051: Add AUTHORS and LICENSE files, and copyright headers to relevant source files... (Closed) Base URL: http://gyp.googlecode.com/svn/
Patch Set: '' Created 11 years, 2 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/python2.4 1 #!/usr/bin/python2.4
2 2
3 # Copyright (c) 2009 Google Inc. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
3 """Visual Studio project reader/writer.""" 7 """Visual Studio project reader/writer."""
4 8
5 import common 9 import common
6 import xml.dom 10 import xml.dom
7 import xml.dom.minidom 11 import xml.dom.minidom
8 import MSVSNew 12 import MSVSNew
9 13
10 #------------------------------------------------------------------------------ 14 #------------------------------------------------------------------------------
11 15
12 16
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 # Add the config to the file node 230 # Add the config to the file node
227 self._AddConfigToNode(parent, 'FileConfiguration', config, attrs, tools) 231 self._AddConfigToNode(parent, 'FileConfiguration', config, attrs, tools)
228 232
229 def Write(self, writer=common.WriteOnDiff): 233 def Write(self, writer=common.WriteOnDiff):
230 """Writes the project file.""" 234 """Writes the project file."""
231 f = writer(self.project_path) 235 f = writer(self.project_path)
232 self.doc.writexml(f, encoding='Windows-1252', addindent=' ', newl='\r\n') 236 self.doc.writexml(f, encoding='Windows-1252', addindent=' ', newl='\r\n')
233 f.close() 237 f.close()
234 238
235 #------------------------------------------------------------------------------ 239 #------------------------------------------------------------------------------
OLDNEW
« trunk/AUTHORS ('K') | « trunk/pylib/gyp/MSVSNew.py ('k') | trunk/pylib/gyp/MSVSToolFile.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698