From 72f004537d585b8b3aac9e37e5a08cdc33903505 Mon Sep 17 00:00:00 2001 From: Googler Date: Wed, 15 Feb 2023 06:34:09 -0800 Subject: [PATCH] Mark `ctx.expand_locations` parameter `short_paths` as undocumented Usage of the parameter is private to builtins and a few other packages as part of Starlarkification and not intended for public use. PiperOrigin-RevId: 509816292 Change-Id: I43f4656ca0101b067f94c3888625861d73bf9ea5 --- .../build/lib/starlarkbuildapi/StarlarkRuleContextApi.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkRuleContextApi.java b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkRuleContextApi.java index c6df240c053388..57063802c14bac 100644 --- a/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkRuleContextApi.java +++ b/src/main/java/com/google/devtools/build/lib/starlarkbuildapi/StarlarkRuleContextApi.java @@ -500,8 +500,9 @@ String expandMakeVariables( @Param( name = "short_paths", named = true, + positional = false, defaultValue = "False", - doc = "Use root relative paths instead of full exec paths"), + documented = false), }, allowReturnNones = true, useStarlarkThread = true)