|
|
|
@ -135,15 +135,15 @@ the depot_tools repo.
|
|
|
|
|
|
|
|
|
|
#### **class [DepotToolsApi](/recipes/recipe_modules/depot_tools/api.py#12)([RecipeApi][recipe_engine/wkt/RecipeApi]):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [cros\_path](/recipes/recipe_modules/depot_tools/api.py#30)(self):**
|
|
|
|
|
  **@property**<br>— **def [cros\_path](/recipes/recipe_modules/depot_tools/api.py#34)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [download\_from\_google\_storage\_path](/recipes/recipe_modules/depot_tools/api.py#17)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [gn\_py\_path](/recipes/recipe_modules/depot_tools/api.py#34)(self):**
|
|
|
|
|
  **@property**<br>— **def [gn\_py\_path](/recipes/recipe_modules/depot_tools/api.py#38)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [gsutil\_py\_path](/recipes/recipe_modules/depot_tools/api.py#40)(self):**
|
|
|
|
|
  **@property**<br>— **def [gsutil\_py\_path](/recipes/recipe_modules/depot_tools/api.py#44)(self):**
|
|
|
|
|
|
|
|
|
|
  **@contextlib.contextmanager**<br>— **def [on\_path](/recipes/recipe_modules/depot_tools/api.py#48)(self):**
|
|
|
|
|
  **@contextlib.contextmanager**<br>— **def [on\_path](/recipes/recipe_modules/depot_tools/api.py#52)(self):**
|
|
|
|
|
|
|
|
|
|
Use this context manager to put depot_tools on $PATH.
|
|
|
|
|
|
|
|
|
@ -154,9 +154,11 @@ with api.depot_tools.on_path():
|
|
|
|
|
# run some steps
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [presubmit\_support\_py\_path](/recipes/recipe_modules/depot_tools/api.py#44)(self):**
|
|
|
|
|
  **@property**<br>— **def [presubmit\_support\_py\_path](/recipes/recipe_modules/depot_tools/api.py#48)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [root](/recipes/recipe_modules/depot_tools/api.py#25)(self):**
|
|
|
|
|
  **@property**<br>— **def [roll\_downstream\_gcs\_deps\_path](/recipes/recipe_modules/depot_tools/api.py#25)(self):**
|
|
|
|
|
|
|
|
|
|
  **@property**<br>— **def [root](/recipes/recipe_modules/depot_tools/api.py#29)(self):**
|
|
|
|
|
|
|
|
|
|
Returns (Path): The "depot_tools" root directory.
|
|
|
|
|
|
|
|
|
|