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

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

Issue 26895006: ninja/mac: Support iOS codesign for ninja builds. (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 7 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
« no previous file with comments | « no previous file | pylib/gyp/generator/ninja.py » ('j') | 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) 2013 Google Inc. All rights reserved. 1 # Copyright (c) 2013 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 1396 matching lines...) Expand 10 before | Expand all | Expand 10 after
1407 if self.type != 'none': 1407 if self.type != 'none':
1408 for configname in sorted(configs.keys()): 1408 for configname in sorted(configs.keys()):
1409 config = configs[configname] 1409 config = configs[configname]
1410 if self.flavor == 'mac': 1410 if self.flavor == 'mac':
1411 ldflags = self.xcode_settings.GetLdflags(configname, 1411 ldflags = self.xcode_settings.GetLdflags(configname,
1412 generator_default_variables['PRODUCT_DIR'], 1412 generator_default_variables['PRODUCT_DIR'],
1413 lambda p: Sourceify(self.Absolutify(p))) 1413 lambda p: Sourceify(self.Absolutify(p)))
1414 1414
1415 # TARGET_POSTBUILDS_$(BUILDTYPE) is added to postbuilds later on. 1415 # TARGET_POSTBUILDS_$(BUILDTYPE) is added to postbuilds later on.
1416 gyp_to_build = gyp.common.InvertRelativePath(self.path) 1416 gyp_to_build = gyp.common.InvertRelativePath(self.path)
1417 target_postbuild = self.xcode_settings.GetTargetPostbuilds( 1417 target_postbuild = self.xcode_settings.AddImplicitPostbuilds(
1418 configname, 1418 configname,
1419 QuoteSpaces(os.path.normpath(os.path.join(gyp_to_build, 1419 QuoteSpaces(os.path.normpath(os.path.join(gyp_to_build,
1420 self.output))), 1420 self.output))),
1421 QuoteSpaces(os.path.normpath(os.path.join(gyp_to_build, 1421 QuoteSpaces(os.path.normpath(os.path.join(gyp_to_build,
1422 self.output_binary)))) 1422 self.output_binary))))
1423 if target_postbuild: 1423 if target_postbuild:
1424 target_postbuilds[configname] = target_postbuild 1424 target_postbuilds[configname] = target_postbuild
1425 else: 1425 else:
1426 ldflags = config.get('ldflags', []) 1426 ldflags = config.get('ldflags', [])
1427 # Compute an rpath for this output if needed. 1427 # Compute an rpath for this output if needed.
(...skipping 733 matching lines...) Expand 10 before | Expand all | Expand 10 after
2161 root_makefile.write("endif\n") 2161 root_makefile.write("endif\n")
2162 root_makefile.write('\n') 2162 root_makefile.write('\n')
2163 2163
2164 if (not generator_flags.get('standalone') 2164 if (not generator_flags.get('standalone')
2165 and generator_flags.get('auto_regeneration', True)): 2165 and generator_flags.get('auto_regeneration', True)):
2166 WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files) 2166 WriteAutoRegenerationRule(params, root_makefile, makefile_name, build_files)
2167 2167
2168 root_makefile.write(SHARED_FOOTER) 2168 root_makefile.write(SHARED_FOOTER)
2169 2169
2170 root_makefile.close() 2170 root_makefile.close()
OLDNEW
« no previous file with comments | « no previous file | pylib/gyp/generator/ninja.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698