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

Side by Side Diff: pylib/gyp/xcode_emulation.py

Issue 1605153002: Stop copying deprecated ResourceRules.plist (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « pylib/gyp/mac_tool.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 """ 5 """
6 This module contains classes that help to emulate xcodebuild behavior on top of 6 This module contains classes that help to emulate xcodebuild behavior on top of
7 other build systems, such as make and ninja. 7 other build systems, such as make and ninja.
8 """ 8 """
9 9
10 import copy 10 import copy
(...skipping 991 matching lines...) Expand 10 before | Expand all | Expand 10 after
1002 if not key: 1002 if not key:
1003 return [] 1003 return []
1004 1004
1005 # Warn for any unimplemented signing xcode keys. 1005 # Warn for any unimplemented signing xcode keys.
1006 unimpl = ['OTHER_CODE_SIGN_FLAGS'] 1006 unimpl = ['OTHER_CODE_SIGN_FLAGS']
1007 unimpl = set(unimpl) & set(self.xcode_settings[configname].keys()) 1007 unimpl = set(unimpl) & set(self.xcode_settings[configname].keys())
1008 if unimpl: 1008 if unimpl:
1009 print 'Warning: Some codesign keys not implemented, ignoring: %s' % ( 1009 print 'Warning: Some codesign keys not implemented, ignoring: %s' % (
1010 ', '.join(sorted(unimpl))) 1010 ', '.join(sorted(unimpl)))
1011 1011
1012 return ['%s code-sign-bundle "%s" "%s" "%s" "%s"' % ( 1012 return ['%s code-sign-bundle "%s" "%s" "%s"' % (
1013 os.path.join('${TARGET_BUILD_DIR}', 'gyp-mac-tool'), key, 1013 os.path.join('${TARGET_BUILD_DIR}', 'gyp-mac-tool'), key,
1014 settings.get('CODE_SIGN_RESOURCE_RULES_PATH', ''),
1015 settings.get('CODE_SIGN_ENTITLEMENTS', ''), 1014 settings.get('CODE_SIGN_ENTITLEMENTS', ''),
1016 settings.get('PROVISIONING_PROFILE', '')) 1015 settings.get('PROVISIONING_PROFILE', ''))
1017 ] 1016 ]
1018 1017
1019 def _GetIOSCodeSignIdentityKey(self, settings): 1018 def _GetIOSCodeSignIdentityKey(self, settings):
1020 identity = settings.get('CODE_SIGN_IDENTITY') 1019 identity = settings.get('CODE_SIGN_IDENTITY')
1021 if not identity: 1020 if not identity:
1022 return None 1021 return None
1023 if identity not in XcodeSettings._codesigning_key_cache: 1022 if identity not in XcodeSettings._codesigning_key_cache:
1024 output = subprocess.check_output( 1023 output = subprocess.check_output(
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 if toolset == 'target': 1641 if toolset == 'target':
1643 iphoneos_config_dict['xcode_settings']['SDKROOT'] = 'iphoneos' 1642 iphoneos_config_dict['xcode_settings']['SDKROOT'] = 'iphoneos'
1644 return targets 1643 return targets
1645 1644
1646 def CloneConfigurationForDeviceAndEmulator(target_dicts): 1645 def CloneConfigurationForDeviceAndEmulator(target_dicts):
1647 """If |target_dicts| contains any iOS targets, automatically create -iphoneos 1646 """If |target_dicts| contains any iOS targets, automatically create -iphoneos
1648 targets for iOS device builds.""" 1647 targets for iOS device builds."""
1649 if _HasIOSTarget(target_dicts): 1648 if _HasIOSTarget(target_dicts):
1650 return _AddIOSDeviceConfigurations(target_dicts) 1649 return _AddIOSDeviceConfigurations(target_dicts)
1651 return target_dicts 1650 return target_dicts
OLDNEW
« no previous file with comments | « pylib/gyp/mac_tool.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698