aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/ci
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2017-08-23 09:50:57 +0200
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-08-23 13:31:49 +0200
commitb36dbd59e1f2f4136d5b44f59000f225b64f1202 (patch)
tree658433a6e6c5a722ea5fb3409a7512bbfd7f0f76 /scripts/ci
parent369d1a633e6ef60b673e8403917e8eef6ab5ec5a (diff)
Use CustomCommandLine directly instead of via SpawnAction.Builder.
This change forces use of CustomCommandLine.Builder, which has a richer interface for constructing memory-efficient command lines. It will also permit surveying the code base for inefficient patterns using an IDE. This change was done by hand and split using Rosie to assist with rollbacks in case of bugs. Reviewers, please pay particular attention to: * Each all to addInputArgument/addOutputArgument should come with a corresponding matching pair to SpawnAction.Builder#addInput and CustomCommandLine.Builder#addExecPath (eg.). * The commandLine must be set on the SpawnAction using SpawnAction.Builder#setCommandLine. Note that most calls to addPrefixed("arg=", val) should be more idiomatically expressed as add("arg", val), but this involves changing tests and making sure that the command line tools can accept the format. PiperOrigin-RevId: 166168847
Diffstat (limited to 'scripts/ci')
0 files changed, 0 insertions, 0 deletions