aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java
diff options
context:
space:
mode:
authorGravatar allevato <allevato@google.com>2017-04-05 16:07:51 +0000
committerGravatar Marcel Hlopko <hlopko@google.com>2017-04-06 11:00:09 +0200
commit416f0e96805d741843dd4a761346203153c7d5a1 (patch)
treede816aea11475aa4718e39d99633327e5c45acad /src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java
parent8c41633a8700cbadd2ef219879cba305b576070e (diff)
Deprecate native Apple bundling rules.
PiperOrigin-RevId: 152264528
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java')
-rw-r--r--src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java
index c660f04923..93be8eb94b 100644
--- a/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java
+++ b/src/main/java/com/google/devtools/build/lib/rules/objc/ObjcBinaryRule.java
@@ -30,8 +30,12 @@ import com.google.devtools.build.lib.rules.cpp.CppConfiguration;
/**
* Rule definition for objc_binary.
+ *
+ * @deprecated The native bundling rules have been deprecated. This class will be removed in the
+ * future.
*/
// TODO(bazel-team): Remove bundling functionality (dependency on ApplicationRule, IPA output).
+@Deprecated
public class ObjcBinaryRule implements RuleDefinition {
@Override
@@ -82,6 +86,10 @@ public class ObjcBinaryRule implements RuleDefinition {
/*<!-- #BLAZE_RULE (NAME = objc_binary, TYPE = BINARY, FAMILY = Objective-C) -->
+<p><strong>This rule is deprecated.</strong> Please use the new Apple build rules
+(<a href="https://github.com/bazelbuild/rules_apple">https://github.com/bazelbuild/rules_apple</a>)
+to build Apple targets.</p>
+
<p>This rule produces one or more Objective-C libraries for bundling in an
<code>ios_application</code>.</p>