summaryrefslogtreecommitdiff
path: root/kleaf/bazel.py
diff options
context:
space:
mode:
Diffstat (limited to 'kleaf/bazel.py')
-rwxr-xr-xkleaf/bazel.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/kleaf/bazel.py b/kleaf/bazel.py
index 0f9e6226..30bbdef1 100755
--- a/kleaf/bazel.py
+++ b/kleaf/bazel.py
@@ -138,13 +138,6 @@ class BazelWrapper(object):
parser.add_argument("--cache_dir",
type=_require_absolute_path,
default=absolute_cache_dir)
- parser.add_argument(
- "--repo_prop",
- help="""Absolute path to repo.prop file, generated with """
- """`repo forall -c 'echo "$REPO_PATH $REPO_LREV"'`""",
- type=_require_absolute_path,
- default=None,
- )
# known_args: List of arguments known by this bazel wrapper. These
# are stripped from the final bazel invocation.
@@ -175,9 +168,6 @@ class BazelWrapper(object):
if self.known_args.make_jobs is not None:
self.env["KLEAF_MAKE_JOBS"] = str(self.known_args.make_jobs)
- if self.known_args.repo_prop is not None:
- self.env["KLEAF_REPO_PROP"] = self.known_args.repo_prop
-
cache_dir_bazel_rc = f"{self.absolute_out_dir}/bazel/cache_dir.bazelrc"
os.makedirs(os.path.dirname(cache_dir_bazel_rc), exist_ok=True)
with open(cache_dir_bazel_rc, "w") as f: