Home | History | Annotate | Download | only in gypfiles

Lines Matching full:path

16 script_dir = os.path.dirname(os.path.realpath(__file__))
17 chrome_src = os.path.abspath(os.path.join(script_dir, os.pardir))
18 SRC_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
19 sys.path.insert(1, os.path.join(chrome_src, 'tools'))
20 sys.path.insert(0, os.path.join(chrome_src, 'tools', 'gyp', 'pylib'))
21 json_data_file = os.path.join(script_dir, 'win_toolchain.json')
41 if ((sys.platform in ('win32', 'cygwin') or os.path.exists(json_data_file))
48 toolchain = toolchain_data['path']
71 # Include the VS runtime in the PATH in case it's not machine-installed.
72 runtime_path = os.path.pathsep.join(vs_runtime_dll_dirs)
73 os.environ['PATH'] = runtime_path + os.path.pathsep + os.environ['PATH']
117 """Return path to the GYP_MSVS_VERSION of Visual Studio.
135 path = _RegistryGetValue(key, 'InstallDir')
136 if not path:
138 path = os.path.normpath(os.path.join(path, '..', '..'))
139 return path
161 if (os.path.isdir(os.path.dirname(target)) and
162 (not os.path.isfile(target) or
166 if os.path.exists(target):
176 target = os.path.join(target_dir, dll)
177 source = os.path.join(source_dir, dll)
186 target = os.path.join(target_dir, dll)
187 source = os.path.join(source_dir, dll)
189 ucrt_src_dir = os.path.join(source_dir, 'api-ms-win-*.dll')
192 file_part = os.path.basename(ucrt_src_file)
193 ucrt_dst_file = os.path.join(target_dir, file_part)
195 _CopyRuntimeImpl(os.path.join(target_dir, 'ucrtbase' + suffix),
196 os.path.join(source_dir, 'ucrtbase' + suffix))
210 pgo_x86_runtime_dir = os.path.join(os.environ.get('GYP_MSVS_OVERRIDE_PATH'),
212 pgo_x64_runtime_dir = os.path.join(pgo_x86_runtime_dir, 'amd64')
215 source_x86 = os.path.join(pgo_x86_runtime_dir, pgo_runtime_dll)
216 if os.path.exists(source_x86):
217 _CopyRuntimeImpl(os.path.join(target_dir, pgo_runtime_dll), source_x86)
219 source_x64 = os.path.join(pgo_x64_runtime_dir, pgo_runtime_dll)
220 if os.path.exists(source_x64):
221 _CopyRuntimeImpl(os.path.join(target_dir, pgo_runtime_dll),
238 out_debug = os.path.join(output_dir, 'Debug')
239 out_debug_nacl64 = os.path.join(output_dir, 'Debug', 'x64')
240 out_release = os.path.join(output_dir, 'Release')
241 out_release_nacl64 = os.path.join(output_dir, 'Release', 'x64')
242 out_debug_x64 = os.path.join(output_dir, 'Debug_x64')
243 out_release_x64 = os.path.join(output_dir, 'Release_x64')
245 if os.path.exists(out_debug) and not os.path.exists(out_debug_nacl64):
247 if os.path.exists(out_release) and not os.path.exists(out_release_nacl64):
291 if not os.path.exists(json_data_file):
310 if force == '--force' or os.path.exists(json_data_file):
324 os.path.join(depot_tools_path,
336 def NormalizePath(path):
337 while path.endswith("\\"):
338 path = path[:-1]
339 return path
347 # If WINDOWSSDKDIR is not set, search the default SDK path and set it.
350 if os.path.isdir(default_sdk_path):
363 os.path.pathsep.join(runtime_dll_dirs or ['None']))