Sha256: df9aa3acd9cb163331edf33907c4d65e0ecd840a3ed6a1fa37f87b7b209c9bb6

Contents?: true

Size: 787 Bytes

Versions: 3

Compression:

Stored size: 787 Bytes

Contents

# Copyright 2016 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from recipe_engine import recipe_api

class DepotToolsApi(recipe_api.RecipeApi):
  @property
  def download_from_google_storage_path(self):
    return self.package_repo_resource('download_from_google_storage.py')

  @property
  def cros_path(self):
    return self.package_repo_resource('cros')

  @property
  def gn_py_path(self):
    return self.package_repo_resource('gn.py')

  @property
  def gsutil_py_path(self):
    return self.package_repo_resource('gsutil.py')

  @property
  def ninja_path(self):
    ninja_exe = 'ninja.exe' if self.m.platform.is_win else 'ninja'
    return self.package_repo_resource(ninja_exe)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
libv8-5.0.71.48.3 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.0.71.48.2 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.0.71.48.0beta2 vendor/depot_tools/recipe_modules/depot_tools/api.py