aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
diff options
context:
space:
mode:
authorGravatar Chris Parsons <cparsons@google.com>2016-07-27 22:01:23 +0000
committerGravatar Adam Michael <ajmichael@google.com>2016-07-28 18:36:30 -0400
commit8643954b818547339e8055d0aa4867c1286ebca1 (patch)
tree6160c6529d9f9a743d7f437d9276be972080f41c /src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
parent47281b4a1e3be5077e13f5d2d1986c6105c26365 (diff)
Remove apple_binary's implicit output _lipo.a.
This also removes the restriction that apple_binary targets must have at least one src file specified. -- MOS_MIGRATED_REVID=128633173
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java b/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
index e69834d2f3..f6b5c141e2 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/AppleBinaryRule.java
@@ -46,12 +46,6 @@ public class AppleBinaryRule implements RuleDefinition {
* multiple architectures).
*/
private static final SafeImplicitOutputsFunction LIPOBIN = fromTemplates("%{name}_lipobin");
-
- /**
- * Template for the fat archive output (using Apple's "lipo" tool to combine .a archive files of
- * multiple architectures).
- */
- static final SafeImplicitOutputsFunction LIPO_ARCHIVE = fromTemplates("%{name}_lipo.a");
@Override
public RuleClass build(Builder builder, RuleDefinitionEnvironment env) {
@@ -90,12 +84,10 @@ public class AppleBinaryRule implements RuleDefinition {
<ul>
<li><code><var>name</var>_lipobin</code>: the 'lipo'ed potentially multi-architecture
binary. All transitive dependencies and <code>srcs</code> are linked.</li>
- <li><code><var>name</var>_.lipo.a</code>: a 'lipo'ed archive file linking together only
- the <code>srcs</code> of this target.</li>
</ul>
<!-- #END_BLAZE_RULE.IMPLICIT_OUTPUTS -->*/
.setImplicitOutputsFunction(
- ImplicitOutputsFunction.fromFunctions(LIPOBIN, LIPO_ARCHIVE))
+ ImplicitOutputsFunction.fromFunctions(LIPOBIN))
.build();
}