diff options
author | Michaël Zasso <targos@protonmail.com> | 2019-10-09 10:05:50 +0200 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-10-13 20:28:08 +0200 |
commit | 66b953207d6f0e9c98155af97147a731b2e461bd (patch) | |
tree | 3e0bc55ff28abc187be7b7985fe58dbea54da521 /tools/gyp/pylib/gyp/xcode_emulation.py | |
parent | 7de5a557103dd689bd9a757720eca72459d86e66 (diff) | |
download | android-node-v8-66b953207d6f0e9c98155af97147a731b2e461bd.tar.gz android-node-v8-66b953207d6f0e9c98155af97147a731b2e461bd.tar.bz2 android-node-v8-66b953207d6f0e9c98155af97147a731b2e461bd.zip |
tools: port Python 3 compat patches from node-gyp to gyp
Refs: https://github.com/nodejs/node-gyp/pull/1820
Refs: https://github.com/nodejs/node-gyp/pull/1843
PR-URL: https://github.com/nodejs/node/pull/29897
Reviewed-By: Christian Clauss <cclauss@me.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Diffstat (limited to 'tools/gyp/pylib/gyp/xcode_emulation.py')
-rw-r--r-- | tools/gyp/pylib/gyp/xcode_emulation.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py index 25a928b3e6..9a58df4782 100644 --- a/tools/gyp/pylib/gyp/xcode_emulation.py +++ b/tools/gyp/pylib/gyp/xcode_emulation.py @@ -1792,7 +1792,7 @@ def _HasIOSTarget(targets): def _AddIOSDeviceConfigurations(targets): """Clone all targets and append -iphoneos to the name. Configure these targets to build for iOS devices and use correct architectures for those builds.""" - for target_dict in targets.itervalues(): + for target_dict in targets.values(): toolset = target_dict['toolset'] configs = target_dict['configurations'] for config_name, simulator_config_dict in dict(configs).items(): |