• Home
  • Raw
  • Download

Lines Matching refs:chromeos_root

78 def GetChromeOSKeyFile(chromeos_root):  argument
79 return os.path.join(chromeos_root, 'src', 'scripts', 'mod_for_test_scripts',
83 def GetChrootPath(chromeos_root): argument
84 return os.path.join(chromeos_root, 'chroot')
87 def GetInsideChrootPath(chromeos_root, file_path): argument
88 if not file_path.startswith(GetChrootPath(chromeos_root)):
90 (file_path, chromeos_root))
91 return file_path[len(GetChrootPath(chromeos_root)):]
94 def GetOutsideChrootPath(chromeos_root, file_path): argument
95 return os.path.join(GetChrootPath(chromeos_root), file_path.lstrip('/'))
107 def GetImageDir(chromeos_root, board): argument
108 return os.path.join(chromeos_root, 'src', 'build', 'images', board)
111 def LabelLatestImage(chromeos_root, board, label, vanilla_path=None): argument
112 image_dir = GetImageDir(chromeos_root, board)
130 def DoesLabelExist(chromeos_root, board, label): argument
131 image_label = os.path.join(GetImageDir(chromeos_root, board), label)
192 def GetCtargetFromBoard(board, chromeos_root): argument
198 ret, out, _ = ce.ChrootRunCommandWOutput(chromeos_root, command)
206 def GetArchFromBoard(board, chromeos_root): argument
212 ret, out, _ = ce.ChrootRunCommandWOutput(chromeos_root, command)
220 def GetGccLibsDestForBoard(board, chromeos_root): argument
222 arch = GetArchFromBoard(board, chromeos_root)
266 def GetAllImages(chromeos_root, board): argument
269 (chromeos_root, board))
285 def RemoveChromeBrowserObjectFiles(chromeos_root, board): argument
288 GetChrootPath(chromeos_root),
294 GetChrootPath(chromeos_root),
413 def IsChromeOsTree(chromeos_root): argument
414 return (os.path.isdir(os.path.join(chromeos_root,
416 os.path.isdir(os.path.join(chromeos_root, 'manifest')))
419 def DeleteChromeOsTree(chromeos_root, dry_run=False): argument
429 if not IsChromeOsTree(chromeos_root):
432 chromeos_root))
434 cmd0 = 'cd {0} && cros_sdk --delete'.format(chromeos_root)
446 chromeos_root)
456 def ApplyGerritPatches(chromeos_root, argument
472 sys.path.append(os.path.join(chromeos_root, 'chromite'))
478 manifest = git.ManifestCheckout(chromeos_root)