Lines Matching refs:os
3 import os
11 xnu_json = os.path.join(xnu_build_dir, "compile_commands.json")
12 if not os.path.exists(xnu_json):
15 root_json = os.path.join(xnu_root, "compile_commands.json")
17 if os.path.exists(root_json):
18 if not os.path.islink(root_json):
23 for filename in glob.glob(os.path.join(tests_obj_dir, "*.json")):
44 tests_json = os.path.join(tests_obj_dir, "compile_commands.json")
48 if os.path.exists(root_json):
50 os.unlink(root_json)
51 os.symlink(tests_json, root_json)