aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java
diff options
context:
space:
mode:
authorGravatar tomlu <tomlu@google.com>2017-08-10 19:26:34 +0200
committerGravatar Marcel Hlopko <hlopko@google.com>2017-08-11 12:56:11 +0200
commit4435515d156dbb0cc40869de686d326b175f61b8 (patch)
tree4e15de1bd9693857c867d6ef11bf4aee52714eaf /src/main/java/com/google/devtools/build/lib/rules/objc/ReleaseBundlingSupport.java
parentbc4eb273de3ac59962d6e78628a28a9109e43715 (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.java8
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)