Sha256: 688ac0b300cde02ed16470f343cacd329fe070448b567212958f93a4f9c2cd8d

Contents?: true

Size: 912 Bytes

Versions: 12

Compression:

Stored size: 912 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 upload_to_google_storage_path(self):
    return self.package_repo_resource('upload_to_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

12 entries across 12 versions & 1 rubygems

Version Path
libv8-5.3.332.38.5 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.4 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.3 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.2 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.1 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.0 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.3.332.38.0beta2 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.2.361.43.1 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.2.361.43.0 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.1.281.59.1 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.1.281.59.0 vendor/depot_tools/recipe_modules/depot_tools/api.py
libv8-5.1.281.59.0beta3 vendor/depot_tools/recipe_modules/depot_tools/api.py