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

Side by Side Diff: trunk/pylib/gyp/generator/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, 1 month 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/python 1 #!/usr/bin/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.
3 6
4 import gyp 7 import gyp
5 import gyp.common 8 import gyp.common
6 import gyp.SCons as SCons 9 import gyp.SCons as SCons
7 import os.path 10 import os.path
8 import pprint 11 import pprint
9 import re 12 import re
10 13
11 14
12 # TODO: remove when we delete the last WriteList() call in this module 15 # TODO: remove when we delete the last WriteList() call in this module
(...skipping 976 matching lines...) Expand 10 before | Expand all | Expand 10 after
989 bf, target = gyp.common.ParseQualifiedTarget(t)[:2] 992 bf, target = gyp.common.ParseQualifiedTarget(t)[:2]
990 target_filename = TargetFilename(target, bf, options.suffix) 993 target_filename = TargetFilename(target, bf, options.suffix)
991 tpath = gyp.common.RelativePath(target_filename, output_dir) 994 tpath = gyp.common.RelativePath(target_filename, output_dir)
992 sconscript_files[target] = tpath 995 sconscript_files[target] = tpath
993 996
994 output_filename = output_path(output_filename) 997 output_filename = output_path(output_filename)
995 if sconscript_files: 998 if sconscript_files:
996 GenerateSConscriptWrapper(build_file, data[build_file], basename, 999 GenerateSConscriptWrapper(build_file, data[build_file], basename,
997 output_filename, sconscript_files, 1000 output_filename, sconscript_files,
998 default_configuration) 1001 default_configuration)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698