You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting `rewrapper --platform` would clobber the value
that comes from `--cfg fuchsia-rewrapper.cfg`.
Now we can effectively dictionary-merge the platform value
from both the cfg and the command-line.
The --platform flag when passed through our remote_action.py
wrapper will be re-written with a merged value.
Other: move some code+test to cl_utils.py for better reuse.
Bug: 342692553
Change-Id: Ic00e8b448aa7979e4a580ac38fea8630453c5fa1
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1054556
Reviewed-by: David Turner <[email protected]>
Commit-Queue: David Fang <[email protected]>
Fuchsia-Auto-Submit: David Fang <[email protected]>
help="Specify additional remote output directories, comma-separated, relative to the current working dir (repeatable, cumulative). Note: This is different than `rewrapper --output_directories`, which expects exec_root-relative paths.",
2348
2398
)
2399
+
rewrapper_group.add_argument(
2400
+
"--platform",
2401
+
type=str,
2402
+
help="The rewrapper platform variable specifies remote execution parameters, such as OS type, image, worker constraints, etc. The value specified in this wrapper is intercepted and merged with the value found in the --cfg.",
0 commit comments