From 101657ebf4e071e95a10720328edfdb39c0bbc16 Mon Sep 17 00:00:00 2001 From: "martiniss@chromium.org" Date: Sat, 30 Jan 2016 23:44:22 +0000 Subject: [PATCH] Delete old recipe module files. BUG= Review URL: https://codereview.chromium.org/1654603002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298491 0039d316-1c4b-4281-b951-d872f2087c98 --- recipe_modules/depot_tools/__init__.py | 1 - recipe_modules/depot_tools/api.py | 12 ------------ .../depot_tools/example.expected/basic.json | 17 ----------------- recipe_modules/depot_tools/example.py | 14 -------------- 4 files changed, 44 deletions(-) delete mode 100644 recipe_modules/depot_tools/__init__.py delete mode 100644 recipe_modules/depot_tools/api.py delete mode 100644 recipe_modules/depot_tools/example.expected/basic.json delete mode 100644 recipe_modules/depot_tools/example.py diff --git a/recipe_modules/depot_tools/__init__.py b/recipe_modules/depot_tools/__init__.py deleted file mode 100644 index c92b78dd2..000000000 --- a/recipe_modules/depot_tools/__init__.py +++ /dev/null @@ -1 +0,0 @@ -DEPS = [] diff --git a/recipe_modules/depot_tools/api.py b/recipe_modules/depot_tools/api.py deleted file mode 100644 index 3685330e9..000000000 --- a/recipe_modules/depot_tools/api.py +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) 2015 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. - -"""Entry point for interacting with depot_tools from recipes.""" - -from recipe_engine import recipe_api - -class DepotToolsApi(recipe_api.RecipeApi): - @property - def gclient_py(self): - return self.package_resource('gclient.py') diff --git a/recipe_modules/depot_tools/example.expected/basic.json b/recipe_modules/depot_tools/example.expected/basic.json deleted file mode 100644 index 6d2435cc6..000000000 --- a/recipe_modules/depot_tools/example.expected/basic.json +++ /dev/null @@ -1,17 +0,0 @@ -[ - { - "cmd": [ - "python", - "-u", - "RECIPE_PACKAGE[depot_tools]/gclient.py", - "--help" - ], - "cwd": "[SLAVE_BUILD]", - "name": "gclient help" - }, - { - "name": "$result", - "recipe_result": null, - "status_code": 0 - } -] \ No newline at end of file diff --git a/recipe_modules/depot_tools/example.py b/recipe_modules/depot_tools/example.py deleted file mode 100644 index 4afa8e8ee..000000000 --- a/recipe_modules/depot_tools/example.py +++ /dev/null @@ -1,14 +0,0 @@ -# Copyright (c) 2015 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. - -DEPS = [ - 'recipe_engine/python', - 'depot_tools', -] - -def RunSteps(api): - api.python('gclient help', api.depot_tools.gclient_py, ['--help']) - -def GenTests(api): - yield api.test('basic')