diff options
author | 2017-08-10 19:26:34 +0200 | |
---|---|---|
committer | 2017-08-11 12:56:11 +0200 | |
commit | 4435515d156dbb0cc40869de686d326b175f61b8 (patch) | |
tree | 4e15de1bd9693857c867d6ef11bf4aee52714eaf /src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java | |
parent | bc4eb273de3ac59962d6e78628a28a9109e43715 (diff) |
Inline @Deprecated methods in CustomCommandLine.
Apart from updating CustomCommandLineTest this CL is entirely automated.
We also sneak in a rename of addFormat -> addFormatted.
RELNOTES: None
PiperOrigin-RevId: 164870140
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java index 4071bfb214..0f12eba57a 100644 --- a/src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java +++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java @@ -1029,12 +1029,12 @@ public final class ReleaseBundlingSupport { commandLine .add("--output_zip_path") - .addPath(intermediateArtifacts.swiftFrameworksFileZip().getExecPath()) + .add(intermediateArtifacts.swiftFrameworksFileZip().getExecPath()) .add("--bundle_path") .add("Frameworks") .add("--platform") .add(platform.getLowerCaseNameInPlist()) - .addExecPath("--scan-executable", combinedArchBinary); + .add("--scan-executable", combinedArchBinary); ruleContext.registerAction( ObjcRuleClasses.spawnAppleEnvActionBuilder(appleConfiguration, platform) @@ -1061,12 +1061,12 @@ public final class ReleaseBundlingSupport { commandLine .add("--output_zip_path") - .addPath(intermediateArtifacts.swiftSupportZip().getExecPath()) + .add(intermediateArtifacts.swiftSupportZip().getExecPath()) .add("--bundle_path") .add("SwiftSupport/" + platform.getLowerCaseNameInPlist()) .add("--platform") .add(platform.getLowerCaseNameInPlist()) - .addExecPath("--scan-executable", combinedArchBinary); + .add("--scan-executable", combinedArchBinary); ruleContext.registerAction( ObjcRuleClasses.spawnAppleEnvActionBuilder(configuration, platform) |