Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bnoordhuis/gyp
/ functions
Functions
1,710 in github.com/bnoordhuis/gyp
⨍
Functions
1,710
◇
Types & classes
123
↓ 2 callers
Method
Query
r"""Use reg.exe to read a particular key through _QueryBase. First tries to launch from %WinDir%\Sysnative to avoid WoW64 redirection. If tha
test/lib/TestWin.py:46
↓ 2 callers
Method
SDKBuild
(self)
test/lib/TestMac.py:58
↓ 2 callers
Method
SDKVersion
(self)
test/lib/TestMac.py:65
↓ 2 callers
Function
SetGeneratorGlobals
(generator_input_info)
pylib/gyp/input.py:2737
↓ 2 callers
Method
ShortName
(self)
pylib/gyp/MSVSVersion.py:39
↓ 2 callers
Function
SourceTreeAndPathFromPath
Given input_path, returns a tuple with sourceTree and path values. Examples: input_path (source_tree, output_path) '$(VAR)/path' ('VAR
pylib/gyp/xcodeproj_file.py:178
↓ 2 callers
Function
TurnIntIntoStrInDict
Given dict the_dict, recursively converts all integers into strings.
pylib/gyp/input.py:2643
↓ 2 callers
Method
UsesToc
Return true if the target should produce a restat rule based on a TOC file.
pylib/gyp/generator/ninja.py:159
↓ 2 callers
Method
VerifyHasRequiredProperties
Ensure that all properties identified as required by the schema are set.
pylib/gyp/xcodeproj_file.py:861
↓ 2 callers
Method
Write
Writes the solution file to disk. Raises: IndexError: An entry appears multiple times.
pylib/gyp/MSVSNew.py:216
↓ 2 callers
Method
WriteDependencyOnExtraOutputs
(self, target, extra_outputs)
pylib/gyp/generator/make.py:1447
↓ 2 callers
Method
WriteLinkForArch
Write out a link step. Fills out target.binary.
pylib/gyp/generator/ninja.py:1130
↓ 2 callers
Method
WriteNewNinjaRule
Write out a new ninja "rule" statement for a given command. Returns the name of the new rule, and a copy of |args| with variables expanded.
pylib/gyp/generator/ninja.py:1588
↓ 2 callers
Method
WriteSourcesForArch
Write build rules to compile all of |sources|.
pylib/gyp/generator/ninja.py:926
↓ 2 callers
Function
_AddActions
(actions_to_add, spec, relative_path_of_gyp_file)
pylib/gyp/generator/msvs.py:1666
↓ 2 callers
Method
_AddChildToDicts
(self, child)
pylib/gyp/xcodeproj_file.py:1140
↓ 2 callers
Function
_AddCopies
(actions_to_add, spec)
pylib/gyp/generator/msvs.py:1711
↓ 2 callers
Method
_AddObjectiveCARCFlags
(self, flags)
pylib/gyp/xcode_emulation.py:724
↓ 2 callers
Method
_AddObjectiveCGarbageCollectionFlags
(self, flags)
pylib/gyp/xcode_emulation.py:717
↓ 2 callers
Method
_AddObjectiveCMissingPropertySynthesisFlags
(self, flags)
pylib/gyp/xcode_emulation.py:728
↓ 2 callers
Function
_AddSources
Extracts valid sources from |sources| and adds them to |result|. Each source file is relative to |base_path|, but may contain '..'. To make resolv
pylib/gyp/generator/analyzer.py:137
↓ 2 callers
Function
_AddWinLinkRules
Adds link rules for Windows platform to |master_ninja|.
pylib/gyp/generator/ninja.py:1808
↓ 2 callers
Function
_AdjustSourcesAndConvertToFilterHierarchy
Adjusts the list of sources and excluded sources. Also converts the sets to lists. Arguments: spec: The target dictionary containing the pro
pylib/gyp/generator/msvs.py:1501
↓ 2 callers
Method
_AllSymrootsUnique
(self, target, inherit_unique_symroot)
pylib/gyp/xcodeproj_file.py:2821
↓ 2 callers
Method
_AppendPlatformVersionMinFlags
(self, lst)
pylib/gyp/xcode_emulation.py:529
↓ 2 callers
Method
_CompiledHeader
(self, lang, arch)
pylib/gyp/xcode_emulation.py:1325
↓ 2 callers
Method
_ConfigAttrib
_GetAndMunge for msvs_configuration_attributes.
pylib/gyp/msvs_emulation.py:333
↓ 2 callers
Function
_ConfigBaseName
(config_name, platform_name)
pylib/gyp/generator/msvs.py:285
↓ 2 callers
Function
_ConvertMSVSCharacterSet
(char_set)
pylib/gyp/generator/msvs.py:2838
↓ 2 callers
Function
_ConvertMSVSConfigurationType
(config_type)
pylib/gyp/generator/msvs.py:2848
↓ 2 callers
Method
_ConvertToBinary
(self, dest)
pylib/gyp/mac_tool.py:124
↓ 2 callers
Function
_ConvertToCygpath
Convert to cygwin path if we are using cygwin.
pylib/gyp/MSVSVersion.py:367
↓ 2 callers
Method
_CopyXIBFile
Compiles a XIB file with ibtool into a binary plist in the bundle.
pylib/gyp/mac_tool.py:76
↓ 2 callers
Method
_DefinedSymroots
(self, target)
pylib/gyp/xcodeproj_file.py:2833
↓ 2 callers
Function
_EscapeEnvironmentVariableExpansion
Escapes % characters. Escapes any % characters so that Windows-style environment variable expansions will leave them alone. See http://connect.
pylib/gyp/generator/msvs.py:684
↓ 2 callers
Function
_ExtractSourcesFromAction
(action, base_path, base_path_components, results)
pylib/gyp/generator/analyzer.py:161
↓ 2 callers
Function
_FilterActionsFromExcluded
Take inputs with actions attached out of the list of exclusions. Arguments: excluded_sources: list of source files not to be built. actions
pylib/gyp/generator/msvs.py:884
↓ 2 callers
Function
_GenerateExternalRules
Generate an external makefile to do a set of rules. Arguments: rules: the list of rules to include output_dir: path containing project and
pylib/gyp/generator/msvs.py:603
↓ 2 callers
Method
_GetAdditionalLibraryDirectories
Get and normalize the list of paths in AdditionalLibraryDirectories setting.
pylib/gyp/msvs_emulation.py:513
↓ 2 callers
Function
_GetConfigurationAndPlatform
(name, settings)
pylib/gyp/generator/msvs.py:2659
↓ 2 callers
Function
_GetDefines
Returns the list of preprocessor definitions for this configuation. Arguments: config: The dictionary that defines the special processing to be
pylib/gyp/generator/msvs.py:1348
↓ 2 callers
Function
_GetDisabledWarnings
(config)
pylib/gyp/generator/msvs.py:1367
↓ 2 callers
Function
_GetExcludedFilesFromBuild
(spec, excluded_sources, excluded_idl)
pylib/gyp/generator/msvs.py:1596
↓ 2 callers
Function
_GetIncludeDirs
Returns the list of directories to be used for #include directives. Arguments: config: The dictionary that defines the special processing to be
pylib/gyp/generator/msvs.py:1226
↓ 2 callers
Function
_GetLibraries
Returns the list of libraries for this configuration. Arguments: spec: The target dictionary containing the properties of the target. Returns
pylib/gyp/generator/msvs.py:1265
↓ 2 callers
Function
_GetLibraryDirs
Returns the list of directories to be used for library search paths. Arguments: config: The dictionary that defines the special processing to b
pylib/gyp/generator/msvs.py:1250
↓ 2 callers
Function
_GetMSBuildAttributes
(spec, config, build_file)
pylib/gyp/generator/msvs.py:2860
↓ 2 callers
Function
_GetMSBuildLocalProperties
(msbuild_toolset)
pylib/gyp/generator/msvs.py:2763
↓ 2 callers
Function
_GetMSBuildPropertyGroup
Returns a PropertyGroup definition for the specified properties. Arguments: spec: The target project dict. label: An optional label for the
pylib/gyp/generator/msvs.py:2985
↓ 2 callers
Function
_GetMSVSAttributes
(spec, config, config_type)
pylib/gyp/generator/msvs.py:1432
↓ 2 callers
Function
_GetModuleDefinition
(spec)
pylib/gyp/generator/msvs.py:1371
↓ 2 callers
Function
_GetOrCreateTargetByName
Creates or returns the Target at targets[target_name]. If there is no Target for |target_name| one is created. Returns a tuple of whether a new Ta
pylib/gyp/generator/analyzer.py:300
↓ 2 callers
Function
_GetOutputFilePathAndTool
Returns the path and tool to use for this target. Figures out the path of the file this spec will create and the name of the VC tool that will cr
pylib/gyp/generator/msvs.py:1291
↓ 2 callers
Method
_GetPchFlags
Get the flags to be added to the cflags for precompiled header support.
pylib/gyp/msvs_emulation.py:488
↓ 2 callers
Method
_GetSpecForConfiguration
Returns the specification for a configuration. Args: config_type: Type of configuration node. config_name: Configuration name.
pylib/gyp/MSVSProject.py:92
↓ 2 callers
Method
_GetSpecification
Creates an element for the tool. Returns: A new xml.dom.Element for the tool.
pylib/gyp/MSVSProject.py:26
↓ 2 callers
Function
_GetValueFormattedForMSBuild
(tool_name, name, value)
pylib/gyp/generator/msvs.py:3150
↓ 2 callers
Function
_GetWinLinkRuleNameSuffix
Returns the suffix used to select an appropriate linking rule depending on whether the manifest embedding is enabled.
pylib/gyp/generator/ninja.py:1802
↓ 2 callers
Method
_HasExplicitRuleForExtension
Determine if there's an explicit rule for a particular extension.
pylib/gyp/msvs_emulation.py:829
↓ 2 callers
Method
_InstallableTargetInstallPath
Returns the location of the final output for an installable target.
pylib/gyp/generator/make.py:1945
↓ 2 callers
Method
_IsXCUiTest
(self)
pylib/gyp/xcode_emulation.py:238
↓ 2 callers
Function
_LanguageMatchesForPch
(source_ext, pch_source_ext)
pylib/gyp/msvs_emulation.py:880
↓ 2 callers
Function
_LicenseHeader
(input_api)
PRESUBMIT.py:76
↓ 2 callers
Method
_LinkDependenciesInternal
Returns an OrderedSet of dependency targets that are linked into this target. This function has a split personality, depending on the setting
pylib/gyp/input.py:1685
↓ 2 callers
Function
_LookupTargets
Returns a list of the mapping[name] for each value in |names| that is in |mapping|.
pylib/gyp/generator/analyzer.py:569
↓ 2 callers
Function
_MapFileToMsBuildSourceType
Returns the group and element type of the source file. Arguments: source: The source file name. extension_to_rule_name: A dictionary ma
pylib/gyp/generator/msvs.py:2147
↓ 2 callers
Function
_MovedAndRenamed
Defines a setting that may have moved to a new section. Args: tool: a dictionary that gives the names of the tool for MSVS and MSBuild. msv
pylib/gyp/MSVSSettings.py:269
↓ 2 callers
Function
_NormalizeEnvVarReferences
Takes a string containing variable references in the form ${FOO}, $(FOO), or $FOO, and returns a string with all variable references in the form ${F
pylib/gyp/xcode_emulation.py:1682
↓ 2 callers
Method
_PchHeader
Get the header that will appear in an #include line for all source files.
pylib/gyp/msvs_emulation.py:900
↓ 2 callers
Function
_PrepareListOfSources
Prepare list of sources and excluded sources. Besides the sources specified directly in the spec, adds the gyp file so that a change to it will c
pylib/gyp/generator/msvs.py:1462
↓ 2 callers
Method
_QueryBase
Use reg.exe to read a particular key. While ideally we might use the win32 module, we would like gyp to be python neutral, so for instance cy
test/lib/TestWin.py:16
↓ 2 callers
Function
_RegistryGetValue
Use _winreg or reg.exe to obtain the value of a registry key. Using _winreg is preferable because it solves an issue on some corporate environmen
pylib/gyp/MSVSVersion.py:220
↓ 2 callers
Function
_RegistryQueryBase
Use reg.exe to read a particular key. While ideally we might use the win32 module, we would like gyp to be python neutral, so for instance cygwin
pylib/gyp/MSVSVersion.py:141
↓ 2 callers
Method
_SubninjaNameForArch
(self, arch)
pylib/gyp/generator/ninja.py:363
↓ 2 callers
Function
_TargetFromSpec
Create fake target for xcode-ninja wrapper.
pylib/gyp/xcode_ninja.py:56
↓ 2 callers
Function
_ToolSetOrAppend
(tools, tool_name, setting, value, only_if_unset=False)
pylib/gyp/generator/msvs.py:252
↓ 2 callers
Function
_ValidateExclusionSetting
Verify that 'setting' is valid if it is generated from an exclusion list. If the setting appears to be generated from an exclusion list, the root n
pylib/gyp/MSVSSettings.py:381
↓ 2 callers
Function
_ValidateSettings
Validates that the settings are valid for MSBuild or MSVS. We currently only validate the names of the settings, not their values. Args: v
pylib/gyp/MSVSSettings.py:502
↓ 2 callers
Function
_VerifySourcesExist
Verifies that all source files exist on disk. Checks that all regular source files, i.e. not created at run time, exist on disk. Missing files c
pylib/gyp/generator/msvs.py:3178
↓ 2 callers
Method
_XcodeVersion
(self)
test/lib/TestMac.py:42
↓ 2 callers
Function
_XmlEscape
Escape a string for inclusion in XML.
pylib/gyp/easy_xml.py:154
↓ 2 callers
Method
__init__
(self, msvs_name, msbuild_name)
pylib/gyp/MSVSSettings.py:43
↓ 2 callers
Method
__init__
(self, gyp=None, *args, **kw)
test/lib/TestGyp.py:106
↓ 2 callers
Function
_caller
(tblist, skip)
test/lib/TestCmd.py:321
↓ 2 callers
Method
_complete
Post-processes running a subcommand, checking for failure status and displaying output appropriately.
test/lib/TestCommon.py:420
↓ 2 callers
Method
_count_dollars_before_index
Returns the number of '$' characters right in front of s[i].
pylib/gyp/ninja_syntax.py:102
↓ 2 callers
Method
_recv
(self, which, maxsize)
test/lib/TestCmd.py:732
↓ 2 callers
Method
_supplied_target_names
(self)
pylib/gyp/generator/analyzer.py:611
↓ 2 callers
Method
_supplied_target_names_no_all
Returns the supplied test targets without 'all'.
pylib/gyp/generator/analyzer.py:614
↓ 2 callers
Function
build_and_check
(content)
test/actions-multiple-outputs-with-dependencies/gyptest-action.py:28
↓ 2 callers
Function
check_attribs
(path, expected_exec_bit)
test/mac/gyptest-bundle-resources.py:22
↓ 2 callers
Function
clean_dep_files
()
test/actions/gyptest-all.py:71
↓ 2 callers
Method
command_args
(self, program = None, interpreter = None, arguments = N
test/lib/TestCmd.py:999
↓ 2 callers
Method
comment
(self, text)
pylib/gyp/ninja_syntax.py:26
↓ 2 callers
Function
common
test/multiple-targets/src/common.c:3
↓ 2 callers
Function
do_split
(input, masked_input, search_re)
tools/pretty_gyp.py:47
↓ 2 callers
Method
dump
(filename)
pylib/gyp/win_tool.py:202
↓ 2 callers
Method
erase_current_line
(self)
gyptest.py:222
↓ 2 callers
Function
escape
Escape a string such that it can be embedded into a Ninja file without further interpretation.
pylib/gyp/ninja_syntax.py:155
↓ 2 callers
Method
get_conn_maxsize
(self, which, maxsize)
test/lib/TestCmd.py:704
← previous
next →
401–500 of 1,710, ranked by callers