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
↓ 3 callers
Function
_ToLocalPath
Converts |path| to a path relative to |toplevel_dir|.
pylib/gyp/generator/analyzer.py:167
↓ 3 callers
Method
_Validate
(self, value)
pylib/gyp/MSVSSettings.py:143
↓ 3 callers
Method
_XCKVPrint
Prints a key and value, members of an XCObject's _properties dictionary, to file. tabs is an int identifying the indentation level. If the c
pylib/gyp/xcodeproj_file.py:639
↓ 3 callers
Method
_XCPrintableValue
Returns a representation of value that may be printed in a project file, mimicing Xcode's behavior. _XCPrintableValue can handle str and int
pylib/gyp/xcodeproj_file.py:574
↓ 3 callers
Method
_XcodePlatformPath
(self, configname=None)
pylib/gyp/xcode_emulation.py:507
↓ 3 callers
Function
_status
(self)
test/lib/TestCommon.py:213
↓ 3 callers
Function
build_and_check
()
test/actions-multiple-outputs/gyptest-multiple-outputs.py:26
↓ 3 callers
Method
cleanup
Removes any temporary working directories for the specified TestCmd environment. If the environment variable PRESERVE was set when th
test/lib/TestCmd.py:961
↓ 3 callers
Method
configuration_buildname
(self)
test/lib/TestGyp.py:348
↓ 3 callers
Function
deepcopy
Deep copy operation on gyp objects such as strings, ints, dicts and lists. More than twice as fast as copy.deepcopy but much less generic.
pylib/gyp/simple_copy.py:15
↓ 3 callers
Function
extract_manifest
Reads manifest from |path| and returns it as a string. Returns None is there is no such manifest.
test/win/gyptest-link-generate-manifest.py:37
↓ 3 callers
Function
func
test/same-source-file-name/src/func.c:3
↓ 3 callers
Function
is_String
(e)
test/lib/TestCmd.py:263
↓ 3 callers
Method
is_build_impacted
Returns true if the supplied files impact the build at all.
pylib/gyp/generator/analyzer.py:620
↓ 3 callers
Method
iterkeys
od.iterkeys() -> an iterator over the keys in od
pylib/gyp/ordered_dict.py:155
↓ 3 callers
Function
match
(a, b)
test/mac/gyptest-app-error.py:22
↓ 3 callers
Method
pop
od.pop(k[,d]) -> v, remove specified key and return the corresponding value. If key is not found, d is returned if given, otherwise KeyError i
pylib/gyp/ordered_dict.py:206
↓ 3 callers
Method
run
Runs a test of the program or script for the test environment. Standard output and error output are saved for future retrieval via th
test/lib/TestCmd.py:1200
↓ 3 callers
Function
run_analyzer4
Same as run_analyzer(), but passes in test3.gyp instead of test.gyp.
test/analyzer/gyptest-analyzer.py:68
↓ 2 callers
Function
AddArch
Adds an arch string to an output path.
pylib/gyp/generator/ninja.py:95
↓ 2 callers
Function
AddHeaderToTarget
(header, pbxp, xct, is_public)
pylib/gyp/generator/xcode.py:523
↓ 2 callers
Method
AddImplicitPostbuilds
Returns a list of shell commands that should run before and after |postbuilds|.
pylib/gyp/xcode_emulation.py:1142
↓ 2 callers
Method
AddToolFile
Adds a tool file to the project. Args: path: Relative path from project to tool file.
pylib/gyp/MSVSProject.py:84
↓ 2 callers
Function
CalculateMakefilePath
Determine where to write a Makefile for a given gyp file.
pylib/gyp/generator/make.py:2001
↓ 2 callers
Function
CallModule
test/module/src/program.c:26
↓ 2 callers
Function
CheckCompiler
(test, gypfile, check_for, run_gyp)
test/compiler-override/gyptest-compiler-env-toolchain.py:29
↓ 2 callers
Function
CheckContainsFlags
(args, substring)
test/linux/ldflags-duplicates/check-ldflags.py:13
↓ 2 callers
Function
CheckFileType
(file, expected)
test/ios/gyptest-per-config-settings.py:23
↓ 2 callers
Function
CheckForSectionString
(binary, search_for, should_exist)
test/win/gyptest-cl-function-level-linking.py:22
↓ 2 callers
Method
Compare
(self, other)
pylib/gyp/xcodeproj_file.py:1006
↓ 2 callers
Method
ComputeIDs
Set "id" properties deterministically. An object's "id" property is set based on a hash of its class type and name, as well as the class type
pylib/gyp/xcodeproj_file.py:397
↓ 2 callers
Method
ComputeMacBundleOutput
Return the 'output' (full output path) to a bundle output directory.
pylib/gyp/generator/ninja.py:1480
↓ 2 callers
Function
ComputeOutputDir
Returns the path from the toplevel_dir to the build output directory.
pylib/gyp/generator/ninja.py:1707
↓ 2 callers
Method
ConfigurationNamed
(self, name)
pylib/gyp/xcodeproj_file.py:2255
↓ 2 callers
Method
ConvertToMSBuild
Returns the MSBuild equivalent of the MSVS value given. Args: value: the MSVS value to convert. Returns: the MSBuild equivalent.
pylib/gyp/MSVSSettings.py:90
↓ 2 callers
Method
Copy
Make a copy of this object. The new object will have its own copy of lists and dicts. Any XCObject objects owned by this object (marked "str
pylib/gyp/xcodeproj_file.py:306
↓ 2 callers
Function
CreateCMakeTargetBaseName
This is the name we would like the target to have.
pylib/gyp/generator/cmake.py:552
↓ 2 callers
Method
CreateCMakeTargetName
(self, qualified_target)
pylib/gyp/generator/cmake.py:604
↓ 2 callers
Method
DeepDependencies
Returns an OrderedSet of all of a target's dependencies, recursively.
pylib/gyp/input.py:1668
↓ 2 callers
Method
DefaultToolset
Returns the msbuild toolset version that will be used in the absence of a user override.
pylib/gyp/MSVSVersion.py:73
↓ 2 callers
Function
Define
Takes a preprocessor define and returns a -D parameter that's ninja- and shell-escaped.
pylib/gyp/generator/ninja.py:85
↓ 2 callers
Function
DependentFunctionA
test/mac/archs/file_a.cc:7
↓ 2 callers
Function
DependentFunctionB
test/mac/archs/file_b.cc:7
↓ 2 callers
Method
Descendants
Returns a list of all of this object's descendants, including this object.
pylib/gyp/xcodeproj_file.py:487
↓ 2 callers
Method
Description
Get the full description of the version.
pylib/gyp/MSVSVersion.py:42
↓ 2 callers
Method
DirectAndImportedDependencies
Returns a list of a target's direct dependencies and all indirect dependencies that a dependency has advertised settings should be exported th
pylib/gyp/input.py:1659
↓ 2 callers
Function
EnsureError
Verifies output contains the error string.
test/analyzer/gyptest-analyzer.py:132
↓ 2 callers
Function
EscapeShellArgument
Quotes an argument so that it will be interpreted literally by a POSIX shell. Taken from http://stackoverflow.com/questions/35817/whats-the-
pylib/gyp/generator/make.py:600
↓ 2 callers
Method
ExpandInputRoot
(self, template, expansion, dirname)
pylib/gyp/generator/make.py:1935
↓ 2 callers
Function
ExpandMacros
Expand $(Variable) per expansions dict. See MsvsSettings.GetVSMacroEnv for the canonical way to retrieve a suitable dict.
pylib/gyp/msvs_emulation.py:952
↓ 2 callers
Method
ExpandRuleVariables
(self, path, root, dirname, source, ext, name)
pylib/gyp/generator/ninja.py:279
↓ 2 callers
Function
Filter
Removes item from l.
pylib/gyp/input.py:1483
↓ 2 callers
Function
FindFile
(pdb)
test/win/gyptest-link-pdb.py:24
↓ 2 callers
Function
FindFile
(pdb)
test/win/gyptest-link-pdb-output.py:24
↓ 2 callers
Function
FindMSBuildInstallation
Returns path to MSBuild for msvs_version or latest available. Looks in the registry to find install location of MSBuild. MSBuild before v4.0 will
test/lib/TestGyp.py:652
↓ 2 callers
Method
FlattenToList
(self)
pylib/gyp/input.py:1536
↓ 2 callers
Function
FullLinkCommand
(ldcmd, out, binary_type)
pylib/gyp/generator/ninja.py:1810
↓ 2 callers
Method
FullPath
(self)
pylib/gyp/xcodeproj_file.py:1075
↓ 2 callers
Method
GenerateDescription
Generate and return a description of a build step. |verb| is the short summary, e.g. ACTION or RULE. |message| is a hand-written description,
pylib/gyp/generator/ninja.py:588
↓ 2 callers
Function
GenerateOutputForConfig
(target_list, target_dicts, data, params, config_name)
pylib/gyp/generator/eclipse.py:282
↓ 2 callers
Method
GetBundleExecutableFolderPath
Returns the qualified path to the bundle's executables folder. E.g. Chromium.app/Contents/MacOS. Only valid for bundles.
pylib/gyp/xcode_emulation.py:315
↓ 2 callers
Method
GetBundleFrameworksFolderPath
Returns the qualified path to the bundle's frameworks folder. E.g, Chromium.app/Contents/Frameworks. Only valid for bundles.
pylib/gyp/xcode_emulation.py:330
↓ 2 callers
Method
GetBundlePlistPath
Returns the qualified path to the bundle's plist file. E.g. Chromium.app/Contents/Info.plist. Only valid for bundles.
pylib/gyp/xcode_emulation.py:365
↓ 2 callers
Method
GetCflagsObjC
Returns flags that need to be added to .m compilations.
pylib/gyp/xcode_emulation.py:733
↓ 2 callers
Method
GetCflagsObjCC
Returns flags that need to be added to .mm compilations.
pylib/gyp/xcode_emulation.py:743
↓ 2 callers
Method
GetChildByRemoteObject
(self, remote_object)
pylib/gyp/xcodeproj_file.py:1191
↓ 2 callers
Method
GetComputedDefines
Returns the set of defines that are injected to the defines list based on other VS settings.
pylib/gyp/msvs_emulation.py:358
↓ 2 callers
Method
GetDefFile
Returns the .def file from sources, if any. Otherwise returns None.
pylib/gyp/msvs_emulation.py:538
↓ 2 callers
Function
GetDynamicLinker
(p)
test/linux/gyptest-ldflags-from-environment.py:31
↓ 2 callers
Method
GetExecutableName
Returns the executable name of the bundle represented by this target. E.g. Chromium.
pylib/gyp/xcode_emulation.py:467
↓ 2 callers
Method
GetFullProductName
Returns FULL_PRODUCT_NAME.
pylib/gyp/xcode_emulation.py:281
↓ 2 callers
Function
GetGlobalVSMacroEnv
Get a dict of variables mapping internal VS macro names to their gyp equivalents. Returns all variables that are independent of the target.
pylib/gyp/msvs_emulation.py:142
↓ 2 callers
Function
GetHeaders
(exe)
test/win/gyptest-link-large-address-aware.py:22
↓ 2 callers
Function
GetHeaders
(exe)
test/win/gyptest-link-subsystem.py:29
↓ 2 callers
Function
GetHeaders
(exe)
test/win/gyptest-link-tsaware.py:22
↓ 2 callers
Method
GetInstallName
Return LD_DYLIB_INSTALL_NAME for this target.
pylib/gyp/xcode_emulation.py:778
↓ 2 callers
Method
GetInstallNameBase
Return DYLIB_INSTALL_NAME_BASE for this target.
pylib/gyp/xcode_emulation.py:755
↓ 2 callers
Method
GetLibtoolflags
Returns flags that need to be passed to the static linker. Args: configname: The name of the configuration to get ld flags for.
pylib/gyp/xcode_emulation.py:940
↓ 2 callers
Method
GetObjDependencies
Given a list of source files and the corresponding object files, returns a list of (source, object, gch) tuples, where |gch| is the build-director
pylib/gyp/xcode_emulation.py:1346
↓ 2 callers
Method
GetOutputName
Gets the explicitly overridden output name for a target or returns None if it's not overridden.
pylib/gyp/msvs_emulation.py:390
↓ 2 callers
Method
GetPchBuildCommands
Returns [(path_to_gch, language_flag, language, header)]. |path_to_gch| and |header| are relative to the build directory.
pylib/gyp/xcode_emulation.py:1367
↓ 2 callers
Method
GetPerConfigSetting
(self, setting, configname, default=None)
pylib/gyp/xcode_emulation.py:973
↓ 2 callers
Method
GetVSMacroEnv
Get a dict of variables mapping internal VS macro names to their gyp equivalents.
pylib/gyp/msvs_emulation.py:241
↓ 2 callers
Function
GetXcodeVersionValue
(type)
test/ios/gyptest-per-config-settings.py:69
↓ 2 callers
Method
IsBinaryOutputFormat
(self, configname)
pylib/gyp/xcode_emulation.py:221
↓ 2 callers
Function
IsPathSection
(section)
pylib/gyp/input.py:62
↓ 2 callers
Method
IsRuleRunUnderCygwin
Determine if an action should be run under cygwin. If the variable is unset, or set to 1 we use cygwin.
pylib/gyp/msvs_emulation.py:823
↓ 2 callers
Function
Linkable
Return true if the file is linkable (should be on the link line).
pylib/gyp/generator/cmake.py:89
↓ 2 callers
Method
Linkable
Return true if this is a target that can be linked against.
pylib/gyp/generator/ninja.py:155
↓ 2 callers
Function
LoadOneBuildFile
(build_file_path, data, aux_data, includes, is_target, check)
pylib/gyp/input.py:228
↓ 2 callers
Function
LoadTargetBuildFile
(build_file_path, data, aux_data, variables, includes, depth, check, load_dependencies
pylib/gyp/input.py:362
↓ 2 callers
Function
MakeDirs
A wrapper around os.makedirs() that emulates "mkdir -p".
test/lib/TestGyp.py:635
↓ 2 callers
Function
MakeGuid
Returns a GUID for the specified target name. Args: name: Target name. seed: Seed for MD5 hash. Returns: A GUID-line string calculate
pylib/gyp/MSVSNew.py:37
↓ 2 callers
Function
MakePathRelative
(to_file, fro_file, item)
pylib/gyp/input.py:2012
↓ 2 callers
Method
Name
(self)
pylib/gyp/xcodeproj_file.py:942
↓ 2 callers
Function
NameValueListToDict
Takes an array of strings of the form 'NAME=VALUE' and creates a dictionary of the pairs. If a string is simply NAME, then the value in the dict
pylib/gyp/__init__.py:133
↓ 2 callers
Function
Object
(proj, obj)
test/win/gyptest-cl-function-level-linking.py:31
↓ 2 callers
Method
Print
Prints a reprentation of this object to file, adhering to Xcode output formatting.
pylib/gyp/xcodeproj_file.py:701
↓ 2 callers
Function
ProcessToolsetsInDict
(data)
pylib/gyp/input.py:325
↓ 2 callers
Function
ProcessVariablesAndConditionsInList
(the_list, phase, variables, build_file)
pylib/gyp/input.py:1299
← previous
next →
301–400 of 1,710, ranked by callers