Chromium Code Reviews| Index: pylib/gyp/generator/xcode.py |
| diff --git a/pylib/gyp/generator/xcode.py b/pylib/gyp/generator/xcode.py |
| index d97b0a2e23c82f6c01d3e63c3f22916d39324fee..bf977c0d63c4b49f4ff05ec195b42536e2015220 100644 |
| --- a/pylib/gyp/generator/xcode.py |
| +++ b/pylib/gyp/generator/xcode.py |
| @@ -1130,6 +1130,9 @@ exit 1 |
| # Relative paths are relative to $(SRCROOT). |
| dest = '$(SRCROOT)/' + dest |
| + code_sign = int(copy_group.get('code_sign', 0)) |
|
Mark Mentovai
2015/02/26 21:35:13
I agree, please change this to xcode_code_sign and
|
| + settings = (None, '{ATTRIBUTES = (CodeSignOnCopy, ); }')[code_sign]; |
| + |
| # Coalesce multiple "copies" sections in the same target with the same |
| # "destination" property into the same PBXCopyFilesBuildPhase, otherwise |
| # they'll wind up with ID collisions. |
| @@ -1148,7 +1151,7 @@ exit 1 |
| pbxcp_dict[dest] = pbxcp |
| for file in copy_group['files']: |
| - pbxcp.AddFile(file) |
| + pbxcp.AddFile(file, settings) |
| # Excluded files can also go into the project file. |
| if not skip_excluded_files: |