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

Side by Side Diff: trunk/pylib/gyp/generator/make.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/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.
6
3 # Notes: 7 # Notes:
4 # 8 #
5 # This is all roughly based on the Makefile system used by the Linux 9 # This is all roughly based on the Makefile system used by the Linux
6 # kernel, but is a non-recursive make -- we put the entire dependency 10 # kernel, but is a non-recursive make -- we put the entire dependency
7 # graph in front of make and let it figure it out. 11 # graph in front of make and let it figure it out.
8 # 12 #
9 # The code below generates a separate .mk file for each target, but 13 # The code below generates a separate .mk file for each target, but
10 # all are sourced by the top-level Makefile. This means that all 14 # all are sourced by the top-level Makefile. This means that all
11 # variables in .mk-files clobber one another. Be careful to use := 15 # variables in .mk-files clobber one another. Be careful to use :=
12 # where appropriate for immediate evaluation, and similarly to watch 16 # where appropriate for immediate evaluation, and similarly to watch
(...skipping 965 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 ' '.join(map(Sourceify, build_files)), 982 ' '.join(map(Sourceify, build_files)),
979 gyp.common.EncodePOSIXShellList( 983 gyp.common.EncodePOSIXShellList(
980 [gyp.common.FixIfRelativePath(params['gyp_binary'], options.depth), 984 [gyp.common.FixIfRelativePath(params['gyp_binary'], options.depth),
981 '-fmake'] + 985 '-fmake'] +
982 gyp.RegenerateFlags(options) + 986 gyp.RegenerateFlags(options) +
983 build_files_args))) 987 build_files_args)))
984 988
985 root_makefile.write(SHARED_FOOTER) 989 root_makefile.write(SHARED_FOOTER)
986 990
987 root_makefile.close() 991 root_makefile.close()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698