Lines Matching full:checkout
45 # tree checkout). This approach might result in arbitrary repo-contained
188 # Finally, check the current SDK checkout tree.
283 """Gather information on the checkout we are in.
285 There are several checkout types, as defined by CHECKOUT_TYPE_XXX variables.
286 This function determines what checkout type |cwd| is in, for example, if |cwd|
287 belongs to a `repo` checkout.
291 type: The type of checkout. Valid values are CHECKOUT_TYPE_*.
292 root: The root of the checkout.
293 chrome_src_dir: If the checkout is a Chrome checkout, the path to the
322 """Returns the cache directory location based on the checkout type."""
323 checkout = DetermineCheckout()
324 if checkout.type == CHECKOUT_TYPE_REPO:
325 return os.path.join(checkout.root, GENERAL_CACHE_DIR)
326 elif checkout.type == CHECKOUT_TYPE_GCLIENT:
327 return os.path.join(checkout.chrome_src_dir, 'build', CHROME_CACHE_DIR)
328 elif checkout.type == CHECKOUT_TYPE_UNKNOWN:
331 raise AssertionError('Unexpected type %s' % checkout.type)
344 source_path: string path to root of source checkout with chroot in it.
360 source_path: string path to root of source checkout with chroot in it.