/third_party/node/tools/gyp/pylib/gyp/generator/ |
H A D | compile_commands_json.py | 5 import gyp.common namespace 6 import gyp.xcode_emulation namespace 37 return "mac" == gyp.common.GetFlavor(params) 41 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 48 xcode_settings = gyp.xcode_emulation.XcodeSettings(target) 75 defines = gyp.common.EncodePOSIXShellList(defines) 76 includes = gyp.common.EncodePOSIXShellList(includes) 77 cflags_c = gyp.common.EncodePOSIXShellList(cflags_c) 78 cflags_cc = gyp.common.EncodePOSIXShellList(cflags_cc) 93 gyp [all...] |
H A D | xcode.py | 7 import gyp.common namespace 8 import gyp.xcodeproj_file namespace 9 import gyp.xcode_ninja namespace 102 xccl = gyp.xcodeproj_file.XCConfigurationList({"buildConfigurations": []}) 106 xcbc = gyp.xcodeproj_file.XCBuildConfiguration({"name": configuration_name}) 116 self.project = gyp.xcodeproj_file.PBXProject(path=path) 117 projectDirPath = gyp.common.RelativePath( 122 self.project_file = gyp.xcodeproj_file.XCProjectFile( 159 sys.stderr.write("Problem with gyp file %s\n" % self.gyp_path) 241 qualified_target = gyp [all...] |
H A D | dump_dependency_json.py | 7 import gyp namespace 8 import gyp.common namespace 9 import gyp.msvs_emulation namespace 26 # Some gyp steps fail if these are empty(!). 49 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 51 flavor = gyp.common.GetFlavor(params) 53 gyp.msvs_emulation.CalculateCommonVariables(default_variables, params) 58 gyp)."""
|
H A D | make.py | 28 import gyp namespace 29 import gyp.common namespace 30 import gyp.xcode_emulation namespace 31 from gyp.common import GetEnvironFallback 53 generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested() 66 """Calculate additional variables for use in the build (called by gyp).""" 67 flavor = gyp.common.GetFlavor(params) 80 import gyp.generator.xcode as xcode_generator namespace 112 gyp).""" 209 cmd_alink = rm -f $@ && ./gyp [all...] |
H A D | android.py | 18 import gyp namespace 19 import gyp.common namespace 20 import gyp.generator.make as make # Reuse global functions from make backend. namespace 50 # Generator-specific gyp specs. 68 # This file is generated by gyp; do not edit. 72 # Map gyp target types to Android module classes. 131 spec, configs: gyp info 137 gyp.common.EnsureDirExists(output_filename) 254 """Write Makefile code for any 'actions' from the gyp input. 286 command = gyp [all...] |
H A D | cmake.py | 21 there is a mismatch between gyp and cmake with regard to linking. All attempts 36 import gyp.common namespace 37 import gyp.xcode_emulation namespace 82 """Calculate additional variables for use in the build (called by gyp).""" 83 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 296 output.write(gyp.common.EncodePOSIXShellList(action["action"])) 403 output.write(gyp.common.EncodePOSIXShellList(rule["action"])) 564 _, gyp_target_name, gyp_target_toolset = gyp.common.ParseQualifiedTarget( 575 gyp_file, gyp_target_name, gyp_target_toolset = gyp.common.ParseQualifiedTarget( 645 gyp_file, _, _ = gyp [all...] |
H A D | ninja.py | 16 import gyp namespace 17 import gyp.common namespace 18 import gyp.msvs_emulation namespace 19 import gyp.MSVSUtil as MSVSUtil namespace 20 import gyp.xcode_emulation namespace 24 from gyp.common import GetEnvironFallback 25 import gyp.ninja_syntax as ninja_syntax namespace 35 # known at gyp time. To resolve this, introduce special 36 # variables starting with $! and $| (which begin with a $ so gyp knows it 38 # ninja/shell variable) that are passed to gyp her 2002 import gyp.generator.xcode as xcode_generator global() namespace 2025 import gyp.generator.msvs as msvs_generator global() namespace [all...] |
H A D | eclipse.py | 23 import gyp namespace 24 import gyp.common namespace 25 import gyp.msvs_emulation namespace 34 # Some gyp steps fail if these are empty(!), so we convert them to variables 63 flavor = gyp.common.GetFlavor(params) 66 gyp.msvs_emulation.CalculateCommonVariables(default_variables, params) 71 gyp).""" 127 flavor = gyp.common.GetFlavor(params) 136 # may be done in gyp files to force certain includes to come at the end. 137 # TODO(jgreenwald): Change the gyp file [all...] |
H A D | analyzer.py | 57 to gyp. For example, if file "a.gyp" contains targets "a1" and 58 "a2", and file "b.gyp" contains targets "b1" and "b2" and "a2" has a dependency 59 on "b2" and gyp is supplied "a.gyp" then "all" consists of "a1" and "a2". 60 Notice that "b1" and "b2" are not in the "all" target as "b.gyp" was not 61 directly supplied to gyp. OTOH if both "a.gyp" and "b.gyp" are supplied to gyp 66 import gyp.common global() namespace [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/generator/ |
H A D | compile_commands_json.py | 5 import gyp.common namespace 6 import gyp.xcode_emulation namespace 37 return gyp.common.GetFlavor(params) == "mac" 41 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 48 xcode_settings = gyp.xcode_emulation.XcodeSettings(target) 75 defines = gyp.common.EncodePOSIXShellList(defines) 76 includes = gyp.common.EncodePOSIXShellList(includes) 77 cflags_c = gyp.common.EncodePOSIXShellList(cflags_c) 78 cflags_cc = gyp.common.EncodePOSIXShellList(cflags_cc) 93 gyp [all...] |
H A D | xcode.py | 7 import gyp.common namespace 8 import gyp.xcodeproj_file namespace 9 import gyp.xcode_ninja namespace 102 xccl = gyp.xcodeproj_file.XCConfigurationList({"buildConfigurations": []}) 106 xcbc = gyp.xcodeproj_file.XCBuildConfiguration({"name": configuration_name}) 116 self.project = gyp.xcodeproj_file.PBXProject(path=path) 117 projectDirPath = gyp.common.RelativePath( 122 self.project_file = gyp.xcodeproj_file.XCProjectFile( 159 sys.stderr.write("Problem with gyp file %s\n" % self.gyp_path) 241 qualified_target = gyp [all...] |
H A D | dump_dependency_json.py | 7 import gyp namespace 8 import gyp.common namespace 9 import gyp.msvs_emulation namespace 26 # Some gyp steps fail if these are empty(!). 49 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 51 flavor = gyp.common.GetFlavor(params) 53 gyp.msvs_emulation.CalculateCommonVariables(default_variables, params) 58 gyp)."""
|
H A D | make.py | 28 import gyp namespace 29 import gyp.common namespace 30 import gyp.xcode_emulation namespace 31 from gyp.common import GetEnvironFallback 53 generator_supports_multiple_toolsets = gyp.common.CrossCompileRequested() 66 """Calculate additional variables for use in the build (called by gyp).""" 67 flavor = gyp.common.GetFlavor(params) 80 import gyp.generator.xcode as xcode_generator namespace 113 gyp).""" 210 cmd_alink = rm -f $@ && ./gyp [all...] |
H A D | android.py | 18 import gyp namespace 19 import gyp.common namespace 20 import gyp.generator.make as make # Reuse global functions from make backend. namespace 50 # Generator-specific gyp specs. 68 # This file is generated by gyp; do not edit. 72 # Map gyp target types to Android module classes. 131 spec, configs: gyp info 137 gyp.common.EnsureDirExists(output_filename) 254 """Write Makefile code for any 'actions' from the gyp input. 286 command = gyp [all...] |
H A D | cmake.py | 21 there is a mismatch between gyp and cmake with regard to linking. All attempts 36 import gyp.common namespace 37 import gyp.xcode_emulation namespace 82 """Calculate additional variables for use in the build (called by gyp).""" 83 default_variables.setdefault("OS", gyp.common.GetFlavor(params)) 296 output.write(gyp.common.EncodePOSIXShellList(action["action"])) 403 output.write(gyp.common.EncodePOSIXShellList(rule["action"])) 564 _, gyp_target_name, gyp_target_toolset = gyp.common.ParseQualifiedTarget( 575 gyp_file, gyp_target_name, gyp_target_toolset = gyp.common.ParseQualifiedTarget( 645 gyp_file, _, _ = gyp [all...] |
H A D | ninja.py | 16 import gyp namespace 17 import gyp.common namespace 18 import gyp.msvs_emulation namespace 19 import gyp.MSVSUtil as MSVSUtil namespace 20 import gyp.xcode_emulation namespace 24 from gyp.common import GetEnvironFallback 25 import gyp.ninja_syntax as ninja_syntax namespace 35 # known at gyp time. To resolve this, introduce special 36 # variables starting with $! and $| (which begin with a $ so gyp knows it 38 # ninja/shell variable) that are passed to gyp her 1999 import gyp.generator.xcode as xcode_generator global() namespace 2022 import gyp.generator.msvs as msvs_generator global() namespace [all...] |
H A D | eclipse.py | 23 import gyp namespace 24 import gyp.common namespace 25 import gyp.msvs_emulation namespace 34 # Some gyp steps fail if these are empty(!), so we convert them to variables 63 flavor = gyp.common.GetFlavor(params) 66 gyp.msvs_emulation.CalculateCommonVariables(default_variables, params) 71 gyp).""" 127 flavor = gyp.common.GetFlavor(params) 136 # may be done in gyp files to force certain includes to come at the end. 137 # TODO(jgreenwald): Change the gyp file [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/lib/ |
H A D | install.js | 17 async function install (gyp, argv) { 19 const release = processRelease(argv, gyp, process.version, process.release) 20 // Detecting target_arch based on logic from create-cnfig-gyp.js. Used on Windows only. 21 const arch = win ? (gyp.opts.target_arch || gyp.opts.arch || process.arch || 'ia32') : '' 40 if (!gyp.opts.nodedir) { 43 log.verbose('--nodedir flag was passed; skipping install', gyp.opts.nodedir) 51 const devDir = path.resolve(gyp.devDir, release.versionDir) 55 if (gyp.opts.ensure) { 84 log.verbose('needs "installVersion"', gyp [all...] |
H A D | download.js | 5 async function download (gyp, url) { 10 'User-Agent': `node-gyp v${gyp.version} (node ${process.version})`, 13 proxy: gyp.opts.proxy, 14 noProxy: gyp.opts.noproxy 17 const cafile = gyp.opts.cafile
|
/third_party/node/tools/gyp/pylib/gyp/ |
H A D | input.py | 8 import gyp.common namespace 9 import gyp.simple_copy namespace 20 from gyp.common import GypError 21 from gyp.common import OrderedSet 173 """Return the eval of a gyp file. 174 The gyp file is restricted to dictionaries and lists only, and 242 gyp.common.ExceptionAppend(e, "while reading " + build_file_path) 263 gyp.common.ExceptionAppend( 295 gyp.DebugOutput(gyp [all...] |
H A D | common_test.py | 9 import gyp.common namespace 28 gyp.common.TopologicallySorted(graph.keys(), GetEdge), ["a", "c", "d", "b"] 44 gyp.common.CycleError, gyp.common.TopologicallySorted, graph.keys(), GetEdge 49 """Test that gyp.common.GetFlavor works as intended""" 61 self.assertEqual(expected, gyp.common.GetFlavor(param))
|
H A D | __init__.py | 9 import gyp.input namespace 16 from gyp.common import GypError 28 if "all" in gyp.debug or mode in gyp.debug: 45 extension = ".gyp" 85 # within gyp.generator. 98 generator_name = "gyp.generator." + format 154 result = gyp.input.Load( 239 path = gyp.common.FixIfRelativePath(path, options.depth) 340 "--check", dest="check", action="store_true", help="check format of gyp file [all...] |
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
H A D | input.py | 8 import gyp.common namespace 9 import gyp.simple_copy namespace 19 from gyp.common import GypError 20 from gyp.common import OrderedSet 173 """Return the eval of a gyp file. 174 The gyp file is restricted to dictionaries and lists only, and 242 gyp.common.ExceptionAppend(e, "while reading " + build_file_path) 263 gyp.common.ExceptionAppend( 295 gyp.DebugOutput(gyp [all...] |
H A D | common_test.py | 9 import gyp.common namespace 28 gyp.common.TopologicallySorted(graph.keys(), GetEdge), ["a", "c", "d", "b"] 44 gyp.common.CycleError, gyp.common.TopologicallySorted, graph.keys(), GetEdge 49 """Test that gyp.common.GetFlavor works as intended""" 61 self.assertEqual(expected, gyp.common.GetFlavor(param))
|
H A D | __init__.py | 9 import gyp.input namespace 16 from gyp.common import GypError 29 if "all" in gyp.debug or mode in gyp.debug: 46 extension = ".gyp" 86 # within gyp.generator. 99 generator_name = "gyp.generator." + format 157 result = gyp.input.Load( 242 path = gyp.common.FixIfRelativePath(path, options.depth) 343 "--check", dest="check", action="store_true", help="check format of gyp file [all...] |