MCPcopy Create free account

hub / github.com/bnoordhuis/gyp / functions

Functions1,710 in github.com/bnoordhuis/gyp

↓ 509 callersMethodbuild
Runs a build of the specified target against the configuration generated from the specified gyp_file. A 'target' argument of None or the
test/lib/TestGyp.py:358
↓ 449 callersMethodrun_gyp
Runs gyp against the specified gyp_file with the specified args.
test/lib/TestGyp.py:294
↓ 434 callersMethodwrite
Writes the specified content text (second argument) to the specified file name (first argument). The file name may be a list, in whic
test/lib/TestCmd.py:1578
↓ 361 callersMethodpass_test
Cause the test to pass.
test/lib/TestCmd.py:1091
↓ 232 callersMethodfail_test
Cause the test to fail.
test/lib/TestCmd.py:1043
↓ 225 callersMethodbuilt_file_path
Returns a path to the specified file name, of the specified type.
test/lib/TestGyp.py:370
↓ 182 callersFunction_Same
Defines a setting that has the same name in MSVS and MSBuild. Args: tool: a dictionary that gives the names of the tool for MSVS and MSBuild.
pylib/gyp/MSVSSettings.py:233
↓ 166 callersMethodbuilt_file_must_exist
Fails the test if the specified built file name does not exist.
test/lib/TestGyp.py:161
↓ 166 callersMethodrun_built_executable
Runs an executable program built from a gyp-generated configuration. The specified name should be independent of any particular generator.
test/lib/TestGyp.py:394
↓ 163 callersMethodmust_contain
Ensures that the specified file contains the required text.
test/lib/TestCommon.py:249
↓ 115 callersMethodread
Reads and returns the contents of the specified file name. The file name may be a list, in which case the elements are concatenated wi
test/lib/TestCmd.py:1118
↓ 100 callersMethodWriteLn
(self, text='')
pylib/gyp/generator/make.py:1872
↓ 98 callersMethoditeritems
od.iteritems -> an iterator over the (key, value) items in od
pylib/gyp/ordered_dict.py:164
↓ 70 callersMethodworkpath
Returns the absolute path name to a subdirectory or file within the current temporary working directory. Concatenates the temporary w
test/lib/TestCmd.py:1428
↓ 68 callersMethodrelocate
Renames (relocates) the specified source (usually a directory) to the specified destination, creating the destination directory first if
test/lib/TestGyp.py:262
↓ 67 callersMethodclose
(self)
pylib/gyp/common.py:358
↓ 67 callersMethodupdate
(self, iterable)
pylib/gyp/common.py:556
↓ 62 callersMethodadd
(self, key)
pylib/gyp/common.py:511
↓ 61 callersMethodmust_exist
Ensures that the specified file(s) must exist. An individual file be specified as a list of directory names, in which case the pathna
test/lib/TestCommon.py:320
↓ 55 callersMethodmust_match
Matches the contents of the specified file (first argument) against the expected contents (second argument). The expected contents ar
test/lib/TestCommon.py:332
↓ 52 callersFunction_CreateConfigFile
Creates the analyzer config file, which is used as the input to analyzer. See description of analyzer.py for description of the arguments.
test/analyzer/gyptest-analyzer.py:17
↓ 50 callersFunctionEnsureContains
Verifies output contains |compile_targets|.
test/analyzer/gyptest-analyzer.py:74
↓ 49 callersMethodvariable
(self, key, value, indent=0)
pylib/gyp/ninja_syntax.py:30
↓ 48 callersFunction_MSBuildOnly
Defines a setting that is only found in MSBuild. Args: tool: a dictionary that gives the names of the tool for MSVS and MSBuild. name: the
pylib/gyp/MSVSSettings.py:309
↓ 48 callersMethodwritable
Make the specified directory tree writable (write == 1) or not (write == None).
test/lib/TestCmd.py:1489
↓ 45 callersMethodsetdefault
od.setdefault(k[,d]) -> od.get(k,d), also set od[k]=d if k not in od
pylib/gyp/ordered_dict.py:219
↓ 43 callersMethodcopy
od.copy() -> a shallow copy of od
pylib/gyp/ordered_dict.py:249
↓ 41 callersFunctionprint
test/standalone-static-library/mylib.c:3
↓ 41 callersMethodrule
(self, name, command, description=None, depfile=None, generator=False, pool=None, restat=False, r
pylib/gyp/ninja_syntax.py:41
↓ 41 callersMethodsleep
Sleeps at least the specified number of seconds. If no number is specified, sleeps at least the minimum number of seconds necessary t
test/lib/TestCmd.py:1270
↓ 40 callersMethodbuilt_file_must_match
Fails the test if the contents of the specified built file name do not match the specified contents.
test/lib/TestGyp.py:173
↓ 38 callersFunction_ToolAppend
(tools, tool_name, setting, value, only_if_unset=False)
pylib/gyp/generator/msvs.py:247
↓ 35 callersMethodmatch
Compare actual and expected file contents.
test/lib/TestCmd.py:1060
↓ 34 callersMethodkeys
od.keys() -> list of keys in od
pylib/gyp/ordered_dict.py:143
↓ 32 callersMethodmust_not_contain
Ensures that the specified file doesn't contain the banned text.
test/lib/TestCommon.py:348
↓ 32 callersFunctionrun_analyzer
Runs the test specifying a particular config and output path.
test/analyzer/gyptest-analyzer.py:50
↓ 31 callersMethod_IsBundle
(self)
pylib/gyp/xcode_emulation.py:231
↓ 29 callersMethodstdout
Returns the standard output from the specified run number. If there is no specified run number, then returns the standard output of th
test/lib/TestCmd.py:1292
↓ 29 callersMethodup_to_date
Verifies that a build of the specified target is up to date. The subclass should implement this by calling build() (or a reasonable equi
test/lib/TestGyp.py:404
↓ 28 callersMethod_Test
(self, test_key, cond_key, default)
pylib/gyp/xcode_emulation.py:208
↓ 27 callersMethod_Settings
(self)
pylib/gyp/xcode_emulation.py:204
↓ 26 callersFunctionCheckPlistvalue
(plist, key, expected)
test/ios/gyptest-per-config-settings.py:79
↓ 26 callersFunction_FixPath
Convert paths to a form that will make sense in a vcproj file. Arguments: path: The path to convert, may contain / etc. Returns: The path
pylib/gyp/generator/msvs.py:160
↓ 26 callersMethodbuild
(self, outputs, rule, inputs=None, implicit=None, order_only=None, variables=None)
pylib/gyp/ninja_syntax.py:63
↓ 26 callersMethodrun_dumpbin
Run the dumpbin tool with the specified arguments, and capturing and returning stdout.
test/lib/TestGyp.py:804
↓ 25 callersMethodbuilt_file_must_not_exist
Fails the test if the specified built file name exists.
test/lib/TestGyp.py:167
↓ 25 callersMethodskip_test
Skips a test. Proper test-skipping behavior is dependent on the external TESTCOMMON_PASS_SKIPS environment variable. If set, we trea
test/lib/TestCommon.py:546
↓ 24 callersMethod_Setting
_GetAndMunge for msvs_settings.
pylib/gyp/msvs_emulation.py:327
↓ 24 callersMethoditems
od.items() -> list of (key, value) pairs in od
pylib/gyp/ordered_dict.py:151
↓ 24 callersMethodpop
(self, last=True)
pylib/gyp/common.py:538
↓ 23 callersFunction_FixPaths
Fix each of the paths of the list.
pylib/gyp/generator/msvs.py:177
↓ 23 callersMethod_TargetConfig
Returns the target-specific configuration.
pylib/gyp/msvs_emulation.py:309
↓ 23 callersMethodadd_option
Add an option to the parser. This accepts the same arguments as OptionParser.add_option, plus the following: regenerate: can be set to
pylib/gyp/__init__.py:243
↓ 22 callersMethodName
Return the name corresponding to an object. Not all objects necessarily need to be nameable, and not all that do have a "name" property. Ove
pylib/gyp/xcodeproj_file.py:354
↓ 22 callersFunctionWriteVariable
(output, variable_name, prepend=None)
pylib/gyp/generator/cmake.py:209
↓ 21 callersMethodset_configuration
Sets the configuration, to be used for invoking the build tool and testing potential built output.
test/lib/TestGyp.py:335
↓ 21 callersMethodtouch
Updates the modification time on the specified file or directory path name. The default is to update to the current time if no explic
test/lib/TestCmd.py:1382
↓ 20 callersMethodVersion
(self)
test/lib/TestMac.py:48
↓ 19 callersMethodWriteVariableList
(self, ninja_file, var, values)
pylib/gyp/generator/ninja.py:1582
↓ 18 callersFunctionGetEnvironFallback
Look up a key in the environment, with fallback to secondary keys and finally falling back to a default value.
pylib/gyp/common.py:114
↓ 18 callersFunctionSetVariable
Sets a CMake variable.
pylib/gyp/generator/cmake.py:180
↓ 18 callersMethod_create_dependency
(self, dependent, dependency)
pylib/gyp/input_test.py:20
↓ 18 callersMethodbanner
(self, s, width=None)
test/lib/TestCmd.py:918
↓ 17 callersMethodSetBuildSetting
(self, key, value)
pylib/gyp/xcodeproj_file.py:2267
↓ 17 callersMethodWriteList
Write a variable definition that is a list of values. E.g. WriteList(['a','b'], 'foo', prefix='blah') writes out foo = blaha blahb b
pylib/gyp/generator/make.py:1689
↓ 17 callersMethodmust_not_exist
Ensures that the specified file(s) must not exist. An individual file be specified as a list of directory names, in which case the pat
test/lib/TestCommon.py:392
↓ 16 callersMethodGypPathToNinja
Translate a gyp path to a ninja path, optionally expanding environment variable references in |path| with |env|. See the above discourse on p
pylib/gyp/generator/ninja.py:291
↓ 16 callersFunctionQuoteSpaces
(s, quote=r'\ ')
pylib/gyp/generator/make.py:646
↓ 16 callersFunction_Renamed
Defines a setting for which the name has changed. Args: tool: a dictionary that gives the names of the tool for MSVS and MSBuild. msvs_name
pylib/gyp/MSVSSettings.py:244
↓ 16 callersMethodconfiguration_dirname
(self)
test/lib/TestGyp.py:342
↓ 15 callersMethodAppendProperty
(self, key, value)
pylib/gyp/xcodeproj_file.py:834
↓ 15 callersMethodGetProperty
(self, key)
pylib/gyp/xcodeproj_file.py:824
↓ 15 callersMethodchmod
Changes permissions on the specified file or directory path name.
test/lib/TestCmd.py:955
↓ 14 callersMethodConvertVSMacros
Convert from VS macro names to something equivalent.
pylib/gyp/msvs_emulation.py:268
↓ 14 callersMethodExpandSpecial
Expand specials like $!PRODUCT_DIR in |path|. If |product_dir| is None, assumes the cwd is already the product dir. Otherwise, |product_dir|
pylib/gyp/generator/ninja.py:249
↓ 14 callersMethod_XCPrint
(self, file, tabs, line)
pylib/gyp/xcodeproj_file.py:571
↓ 14 callersMethodrun
Executes a program by calling the superclass .run() method. This exists to provide a common place to filter out keyword arguments implem
test/lib/TestGyp.py:322
↓ 14 callersMethodunlink
Unlinks the specified file name. The file name may be a list, in which case the elements are concatenated with the os.path.join() meth
test/lib/TestCmd.py:1393
↓ 13 callersMethodGetBundleContentsFolderPath
Returns the qualified path to the bundle's contents folder. E.g. Chromium.app/Contents or Foo.bundle/Versions/A. Only valid for bundles.
pylib/gyp/xcode_emulation.py:294
↓ 13 callersMethodHashables
(self)
pylib/gyp/xcodeproj_file.py:383
↓ 13 callersFunctionSetTargetProperty
Given a target, sets the given property.
pylib/gyp/generator/cmake.py:167
↓ 13 callersMethodWriteDoCmd
Write a Makefile rule that uses do_cmd. This makes the outputs dependent on the command line that was run, as well as support the V= make com
pylib/gyp/generator/make.py:1704
↓ 12 callersMethodGetPerTargetSetting
Tries to get xcode_settings.setting from spec. Assumes that the setting has the same value in all configurations and throws otherwise.
pylib/gyp/xcode_emulation.py:979
↓ 12 callersMethodPBXProjectAncestor
(self)
pylib/gyp/xcodeproj_file.py:498
↓ 12 callersFunctionQuoteShellArgument
Quote a string such that it will be interpreted as a single argument by the shell.
pylib/gyp/generator/ninja.py:73
↓ 12 callersMethodWriteMakeRule
Write a Makefile rule, with some extra tricks. outputs: a list of outputs for the rule (note: this is not directly supported by make
pylib/gyp/generator/make.py:1728
↓ 12 callersFunction_AddConditionalProperty
Adds a property / conditional value pair to a dictionary. Arguments: properties: The dictionary to be modified. The key is the name of the
pylib/gyp/generator/msvs.py:2961
↓ 12 callersMethodclear
od.clear() -> None. Remove all items from od.
pylib/gyp/ordered_dict.py:106
↓ 12 callersFunctionrun_analyzer3
Same as run_analyzer(), but passes in test3.gyp instead of test.gyp.
test/analyzer/gyptest-analyzer.py:62
↓ 11 callersFunctionSetVariableList
Sets a CMake variable to a list.
pylib/gyp/generator/cmake.py:189
↓ 11 callersFunctionextract_manifest
Reads manifest from |path| and returns it as a string. Returns None is there is no such manifest.
test/win/gyptest-link-embed-manifest.py:38
↓ 11 callersMethodmust_contain_all_lines
Ensures that the specified output string (first argument) contains all of the specified lines (second argument). An optional third ar
test/lib/TestCommon.py:262
↓ 11 callersMethodnewline
(self)
pylib/gyp/ninja_syntax.py:23
↓ 11 callersFunctiontest_manifest
(filename, generate_manifest, embedded_manifest, extra_manifest)
test/win/gyptest-link-generate-manifest.py:59
↓ 10 callersMethodAddOrGetFileInRootGroup
Returns a PBXFileReference corresponding to path in the correct group according to RootGroupForPath's heuristics. If an existing PBXFileRefer
pylib/gyp/xcodeproj_file.py:2688
↓ 10 callersMethodComputeOutputFileName
Compute the filename of the final output for the current target.
pylib/gyp/generator/ninja.py:1487
↓ 10 callersMethodFindCycles
Returns a list of cycles in the graph, where each cycle is its own list.
pylib/gyp/input.py:1586
↓ 10 callersMethodGypPathToUniqueOutput
Translate a gyp path to a ninja path for writing output. If qualified is True, qualify the resulting filename with the name of the target. T
pylib/gyp/generator/ninja.py:311
↓ 10 callersFunctionObjPath
(srcpath, target)
test/mac/gyptest-lto.py:26
↓ 10 callersFunctionObjType
(p, t_expected)
test/mac/gyptest-lto.py:39
next →1–100 of 1,710, ranked by callers