summaryrefslogtreecommitdiff
path: root/kleaf/bazel.py
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2023-04-18 12:31:22 -0700
committerYifan Hong <elsk@google.com>2023-04-21 01:47:39 +0000
commit9edc6132096c7b4efe6d842b17a9c610588d5733 (patch)
tree9f0edecdffbcdd9ad6ad9f8444936bcc002457b1 /kleaf/bazel.py
parent8585c7c1a20bf5622281a125c01303ec324e0b70 (diff)
downloadbuild-9edc6132096c7b4efe6d842b17a9c610588d5733.tar.gz
kleaf: Add --repo_manifest argument to bazel wrapper.
Currently, this has no effect. See follow up CLs on its usage. Test: TH Bug: 277367919 Change-Id: I00cf3a217f6673042506046bff941a17f4a39064
Diffstat (limited to 'kleaf/bazel.py')
-rwxr-xr-xkleaf/bazel.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kleaf/bazel.py b/kleaf/bazel.py
index 30bbdef1..4ffc6e3e 100755
--- a/kleaf/bazel.py
+++ b/kleaf/bazel.py
@@ -138,6 +138,12 @@ class BazelWrapper(object):
parser.add_argument("--cache_dir",
type=_require_absolute_path,
default=absolute_cache_dir)
+ parser.add_argument(
+ "--repo_manifest",
+ help="""Absolute path to repo manifest file, generated with """
+ """`repo manifest -r`.""",
+ type=_require_absolute_path,
+ )
# known_args: List of arguments known by this bazel wrapper. These
# are stripped from the final bazel invocation.