@@ -778,7 +778,7 @@ def GetLdflags(self, configname, product_dir, gyp_to_build_path, arch=None):
778
778
product_dir: The directory where products such static and dynamic
779
779
libraries are placed. This is added to the library search path.
780
780
gyp_to_build_path: A function that converts paths relative to the
781
- current gyp file to paths relative to the build direcotry .
781
+ current gyp file to paths relative to the build directory .
782
782
"""
783
783
self .configname = configname
784
784
ldflags = []
@@ -923,7 +923,7 @@ def GetPerTargetSetting(self, setting, default=None):
923
923
924
924
def _GetStripPostbuilds (self , configname , output_binary , quiet ):
925
925
"""Returns a list of shell commands that contain the shell commands
926
- neccessary to strip this target's binary. These should be run as postbuilds
926
+ necessary to strip this target's binary. These should be run as postbuilds
927
927
before the actual postbuilds run."""
928
928
self .configname = configname
929
929
@@ -957,7 +957,7 @@ def _GetStripPostbuilds(self, configname, output_binary, quiet):
957
957
958
958
def _GetDebugInfoPostbuilds (self , configname , output , output_binary , quiet ):
959
959
"""Returns a list of shell commands that contain the shell commands
960
- neccessary to massage this target's debug information. These should be run
960
+ necessary to massage this target's debug information. These should be run
961
961
as postbuilds before the actual postbuilds run."""
962
962
self .configname = configname
963
963
@@ -1052,7 +1052,7 @@ def _AdjustLibrary(self, library, config_name=None):
1052
1052
# "/usr/lib" libraries, is do "-L/usr/lib -lname" which is dependent on the
1053
1053
# library order and cause collision when building Chrome.
1054
1054
#
1055
- # Instead substitude ".tbd" to ".dylib" in the generated project when the
1055
+ # Instead substitute ".tbd" to ".dylib" in the generated project when the
1056
1056
# following conditions are both true:
1057
1057
# - library is referenced in the gyp file as "$(SDKROOT)/**/*.dylib",
1058
1058
# - the ".dylib" file does not exists but a ".tbd" file do.
@@ -1341,7 +1341,7 @@ def GetStdout(cmdlist):
1341
1341
def MergeGlobalXcodeSettingsToSpec (global_dict , spec ):
1342
1342
"""Merges the global xcode_settings dictionary into each configuration of the
1343
1343
target represented by spec. For keys that are both in the global and the local
1344
- xcode_settings dict, the local key gets precendence .
1344
+ xcode_settings dict, the local key gets precedence .
1345
1345
"""
1346
1346
# The xcode generator special-cases global xcode_settings and does something
1347
1347
# that amounts to merging in the global xcode_settings into each local
@@ -1384,7 +1384,7 @@ def GetMacBundleResources(product_dir, xcode_settings, resources):
1384
1384
output = dest
1385
1385
1386
1386
# The make generator doesn't support it, so forbid it everywhere
1387
- # to keep the generators more interchangable .
1387
+ # to keep the generators more interchangeable .
1388
1388
assert ' ' not in res , (
1389
1389
"Spaces in resource filenames not supported (%s)" % res )
1390
1390
@@ -1426,14 +1426,14 @@ def GetMacInfoPlist(product_dir, xcode_settings, gyp_path_to_build_path):
1426
1426
relative to the build directory.
1427
1427
xcode_settings: The XcodeSettings of the current target.
1428
1428
gyp_to_build_path: A function that converts paths relative to the
1429
- current gyp file to paths relative to the build direcotry .
1429
+ current gyp file to paths relative to the build directory .
1430
1430
"""
1431
1431
info_plist = xcode_settings .GetPerTargetSetting ('INFOPLIST_FILE' )
1432
1432
if not info_plist :
1433
1433
return None , None , [], {}
1434
1434
1435
1435
# The make generator doesn't support it, so forbid it everywhere
1436
- # to keep the generators more interchangable .
1436
+ # to keep the generators more interchangeable .
1437
1437
assert ' ' not in info_plist , (
1438
1438
"Spaces in Info.plist filenames not supported (%s)" % info_plist )
1439
1439
0 commit comments