summaryrefslogtreecommitdiff
path: root/tools/gyp/pylib/gyp/generator/xcode.py
diff options
context:
space:
mode:
authorMattIPv4 <matthew@cowley.org.uk>2019-08-20 16:20:31 +0100
committerRich Trott <rtrott@gmail.com>2019-08-22 21:24:39 -0700
commit6726f567d7110c0e3f402babb6e0bbdfd2a97156 (patch)
tree979fa9bc418240d3ee7219721495e540bc7cb5d2 /tools/gyp/pylib/gyp/generator/xcode.py
parent6c5ca74c9313e52cd5bba351d558f75240eb3fd6 (diff)
downloadandroid-node-v8-6726f567d7110c0e3f402babb6e0bbdfd2a97156.tar.gz
android-node-v8-6726f567d7110c0e3f402babb6e0bbdfd2a97156.tar.bz2
android-node-v8-6726f567d7110c0e3f402babb6e0bbdfd2a97156.zip
gyp: remove semicolons (Python != JavaScript)
PR-URL: https://github.com/nodejs/node/pull/29228 Reviewed-By: Christian Clauss <cclauss@me.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rod Vagg <rod@vagg.org> Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Diffstat (limited to 'tools/gyp/pylib/gyp/generator/xcode.py')
-rw-r--r--tools/gyp/pylib/gyp/generator/xcode.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gyp/pylib/gyp/generator/xcode.py b/tools/gyp/pylib/gyp/generator/xcode.py
index 8d65e53cca..9242324196 100644
--- a/tools/gyp/pylib/gyp/generator/xcode.py
+++ b/tools/gyp/pylib/gyp/generator/xcode.py
@@ -248,7 +248,7 @@ class XcodeProject(object):
targets_for_all.append(xcode_target)
if target_name.lower() == 'all':
- has_custom_all = True;
+ has_custom_all = True
# If this target has a 'run_as' attribute, add its target to the
# targets, and add it to the test targets.
@@ -639,7 +639,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
pbxp = xcp.project
# Set project-level attributes from multiple options
- project_attributes = {};
+ project_attributes = {}
if parallel_builds:
project_attributes['BuildIndependentTargetsInParallel'] = 'YES'
if upgrade_check_project_version:
@@ -788,7 +788,7 @@ def GenerateOutput(target_list, target_dicts, data, params):
# logic all happens in ninja. Don't bother creating the extra targets in
# that case.
if type != 'none' and (spec_actions or spec_rules) and not ninja_wrapper:
- support_xccl = CreateXCConfigurationList(configuration_names);
+ support_xccl = CreateXCConfigurationList(configuration_names)
support_target_suffix = generator_flags.get(
'support_target_suffix', ' Support')
support_target_properties = {
@@ -1183,7 +1183,7 @@ exit 1
dest = '$(SRCROOT)/' + dest
code_sign = int(copy_group.get('xcode_code_sign', 0))
- settings = (None, '{ATTRIBUTES = (CodeSignOnCopy, ); }')[code_sign];
+ settings = (None, '{ATTRIBUTES = (CodeSignOnCopy, ); }')[code_sign]
# Coalesce multiple "copies" sections in the same target with the same
# "destination" property into the same PBXCopyFilesBuildPhase, otherwise