Lines Matching full:path
24 SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
25 REPO_ROOT = os.path.dirname(SCRIPT_DIR)
181 args_list.add('--out-path', type=str,
182 default=os.path.join(REPO_ROOT, 'out'),
183 help='The path to generate the build files in.')
195 'LINK_LIB must be the path to a static or shared ' +
207 help=('Specify the path of ZOSLIB directory, to link ' +
221 out_dir = options.out_path or os.path.join(REPO_ROOT, 'out')
222 if not os.path.isdir(out_dir):
226 os.path.join(out_dir, 'last_commit_position.h'))
227 WriteGNNinja(os.path.join(out_dir, 'build.ninja'), platform, host, options, args_list)
260 def WriteGenericNinja(path, static_libraries, executables,
284 template_filename = os.path.join(SCRIPT_DIR, {
312 def escape_path_ninja(path):
313 return path.replace('$ ', '$$ ').replace(' ', '$ ').replace(':', '$:')
315 def src_to_obj(path):
316 return escape_path_ninja('%s' % os.path.splitext(path)[0] + object_ext)
326 os.path.relpath(
327 os.path.join(REPO_ROOT, src_file),
328 os.path.dirname(path)))),
361 with open(path, 'w') as f:
366 with open(path + '.d', 'w') as f:
368 os.path.relpath(os.path.join(SCRIPT_DIR, 'gen.py'),
369 os.path.dirname(path)) + ' ' +
370 os.path.relpath(template_filename, os.path.dirname(path)) + '\n')
373 def WriteGNNinja(path, platform, host, options, args_list):
396 os.path.relpath(os.path.join(REPO_ROOT, 'src'), os.path.dirname(path)),
581 win_manifest = os.path.relpath(
582 os.path.join(REPO_ROOT, "build/windows.manifest.xml"), options.out_path)
954 WriteGenericNinja(path, static_libraries, executables, cxx, ar, ld,