Lines Matching refs:path
20 sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
25 subninja_build_file = os.path.join(build_dir, subninja_build_file)
26 if not os.path.exists(subninja_build_file):
40 _, extension = os.path.splitext(build_label)
46 target_filename = os.path.basename(label_target)
47 label_name, _ = os.path.splitext(target_filename)
55 target_filename = os.path.basename(build_label)
56 label_name, _ = os.path.splitext(target_filename)
60 _path = os.path.dirname(build_label)[start_index:]
70 if not os.path.exists(toolchain_ninja_file):
98 if not os.path.exists(variants_toolchain_info_file):
110 if not os.path.exists(build_ninja_file):
133 build_file = os.path.join(os.path.dirname(toolchain_ninja_file),
141 ninja_build_file = os.path.join(build_dir, 'build.ninja')
142 if not os.path.exists(ninja_build_file):
153 os.path.relpath(include_file, build_dir))
163 variants_toolchain_info_file = os.path.join(build_dir,
168 ninja_build_file = os.path.join(build_dir, 'build.ninja')
182 toolchain_ninja_file = os.path.join(build_dir, toolchain_name,
184 if not os.path.exists(toolchain_ninja_file):
201 if not os.path.exists(os.path.join(source_root_dir, '.gn')):
204 build_dir = os.path.join(source_root_dir, args.root_build_dir)