Remove the paths module
Now that all modules have been converted to use start_dir and
caches directly instead of slave_build, this module is no longer
needed.
Change-Id: I66d35bb434a5c6b56108784054a9a0e8bff01d63
diff --git a/recipe_modules/cipd/__init__.py b/recipe_modules/cipd/__init__.py
index d901f87..c4760bc 100644
--- a/recipe_modules/cipd/__init__.py
+++ b/recipe_modules/cipd/__init__.py
@@ -1,5 +1,4 @@
DEPS = [
- 'paths',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/platform',
diff --git a/recipe_modules/git/__init__.py b/recipe_modules/git/__init__.py
index 506565b..c49ece3 100644
--- a/recipe_modules/git/__init__.py
+++ b/recipe_modules/git/__init__.py
@@ -1,5 +1,4 @@
DEPS = [
- 'paths',
'recipe_engine/path',
'recipe_engine/platform',
'recipe_engine/properties',
diff --git a/recipe_modules/go/__init__.py b/recipe_modules/go/__init__.py
index cdf9f92..9d68e44 100644
--- a/recipe_modules/go/__init__.py
+++ b/recipe_modules/go/__init__.py
@@ -1,6 +1,5 @@
DEPS = [
'cipd',
- 'paths',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/platform',
diff --git a/recipe_modules/jiri/__init__.py b/recipe_modules/jiri/__init__.py
index 1609507..2f348fb 100644
--- a/recipe_modules/jiri/__init__.py
+++ b/recipe_modules/jiri/__init__.py
@@ -1,6 +1,5 @@
DEPS = [
'cipd',
- 'paths',
'recipe_engine/json',
'recipe_engine/path',
'recipe_engine/raw_io',
diff --git a/recipe_modules/paths/__init__.py b/recipe_modules/paths/__init__.py
deleted file mode 100644
index 938f607..0000000
--- a/recipe_modules/paths/__init__.py
+++ /dev/null
@@ -1,4 +0,0 @@
-DEPS = [
- 'recipe_engine/path',
- 'recipe_engine/properties',
-]
diff --git a/recipe_modules/paths/api.py b/recipe_modules/paths/api.py
deleted file mode 100644
index 5417905..0000000
--- a/recipe_modules/paths/api.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# Copyright 2016 The Fuchsia 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 PathsApi(recipe_api.RecipeApi):
- def initialize(self):
- self.m.path.set_config(
- self.m.properties.get('path_config', 'swarmbucket'))
diff --git a/recipe_modules/paths/config.py b/recipe_modules/paths/config.py
deleted file mode 100644
index 7538257..0000000
--- a/recipe_modules/paths/config.py
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 2016 The Fuchsia Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-import DEPS
-CONFIG_CTX = DEPS['path'].CONFIG_CTX
-
-
-@CONFIG_CTX()
-def common(c):
- c.dynamic_paths['checkout'] = None
-
-
-@CONFIG_CTX(includes=['common'])
-def swarmbucket(c):
- c.base_paths['root'] = c.START_DIR[:-4]
- c.base_paths['cache'] = c.base_paths['root'] + ('cache',)