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

Side by Side Diff: pylib/gyp/generator/make.py

Issue 11348152: Add DragonFlyBSD to list of recognized platforms.
Patch Set: Created 8 years 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
« no previous file with comments | « pylib/gyp/common_test.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 Google Inc. All rights reserved. 1 # Copyright (c) 2012 Google Inc. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # Notes: 5 # Notes:
6 # 6 #
7 # This is all roughly based on the Makefile system used by the Linux 7 # This is all roughly based on the Makefile system used by the Linux
8 # kernel, but is a non-recursive make -- we put the entire dependency 8 # kernel, but is a non-recursive make -- we put the entire dependency
9 # graph in front of make and let it figure it out. 9 # graph in front of make and let it figure it out.
10 # 10 #
(...skipping 1982 matching lines...) Expand 10 before | Expand all | Expand 10 after
1993 elif flavor == 'android': 1993 elif flavor == 'android':
1994 header_params.update({ 1994 header_params.update({
1995 'link_commands': LINK_COMMANDS_ANDROID, 1995 'link_commands': LINK_COMMANDS_ANDROID,
1996 }) 1996 })
1997 elif flavor == 'solaris': 1997 elif flavor == 'solaris':
1998 header_params.update({ 1998 header_params.update({
1999 'flock': './gyp-sun-tool flock', 1999 'flock': './gyp-sun-tool flock',
2000 'flock_index': 2, 2000 'flock_index': 2,
2001 'extra_commands': SHARED_HEADER_SUN_COMMANDS, 2001 'extra_commands': SHARED_HEADER_SUN_COMMANDS,
2002 }) 2002 })
2003 elif flavor == 'freebsd': 2003 elif flavor == 'freebsd' or flavor == 'dragonflybsd':
2004 header_params.update({ 2004 header_params.update({
2005 'flock': 'lockf', 2005 'flock': 'lockf',
2006 }) 2006 })
2007 2007
2008 header_params.update({ 2008 header_params.update({
2009 'CC.target': GetEnvironFallback(('CC_target', 'CC'), '$(CC)'), 2009 'CC.target': GetEnvironFallback(('CC_target', 'CC'), '$(CC)'),
2010 'AR.target': GetEnvironFallback(('AR_target', 'AR'), '$(AR)'), 2010 'AR.target': GetEnvironFallback(('AR_target', 'AR'), '$(AR)'),
2011 'CXX.target': GetEnvironFallback(('CXX_target', 'CXX'), '$(CXX)'), 2011 'CXX.target': GetEnvironFallback(('CXX_target', 'CXX'), '$(CXX)'),
2012 'LINK.target': GetEnvironFallback(('LD_target', 'LD'), '$(LINK)'), 2012 'LINK.target': GetEnvironFallback(('LD_target', 'LD'), '$(LINK)'),
2013 'CC.host': GetEnvironFallback(('CC_host',), 'gcc'), 2013 'CC.host': GetEnvironFallback(('CC_host',), 'gcc'),
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
2144 root_makefile.write("endif\n") 2144 root_makefile.write("endif\n")
2145 root_makefile.write('\n') 2145 root_makefile.write('\n')
2146 2146
2147 if (not generator_flags.get('standalone') 2147 if (not generator_flags.get('standalone')
2148 and generator_flags.get('auto_regeneration', True)): 2148 and generator_flags.get('auto_regeneration', True)):
2149 WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files) 2149 WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files)
2150 2150
2151 root_makefile.write(SHARED_FOOTER) 2151 root_makefile.write(SHARED_FOOTER)
2152 2152
2153 root_makefile.close() 2153 root_makefile.close()
OLDNEW
« no previous file with comments | « pylib/gyp/common_test.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698