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

Side by Side Diff: trunk/pylib/gyp/SCons.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/env python 1 #!/usr/bin/env python
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 """ 7 """
4 SCons generator. 8 SCons generator.
5 9
6 This contains class definitions and supporting functions for generating 10 This contains class definitions and supporting functions for generating
7 pieces of SCons files for the different types of GYP targets. 11 pieces of SCons files for the different types of GYP targets.
8 """ 12 """
9 13
10 import os 14 import os
11 15
12 16
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 'none' : NoneTarget, 190 'none' : NoneTarget,
187 'settings' : SettingsTarget, 191 'settings' : SettingsTarget,
188 'executable' : ProgramTarget, 192 'executable' : ProgramTarget,
189 'static_library' : StaticLibraryTarget, 193 'static_library' : StaticLibraryTarget,
190 'shared_library' : SharedLibraryTarget, 194 'shared_library' : SharedLibraryTarget,
191 'loadable_module' : LoadableModuleTarget, 195 'loadable_module' : LoadableModuleTarget,
192 } 196 }
193 197
194 def Target(spec): 198 def Target(spec):
195 return TargetMap[spec.get('type')](spec) 199 return TargetMap[spec.get('type')](spec)
OLDNEW
« trunk/AUTHORS ('K') | « trunk/pylib/gyp/MSVSVersion.py ('k') | trunk/pylib/gyp/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698