diff options
author | 2017-04-10 20:50:19 +0000 | |
---|---|---|
committer | 2017-04-11 10:50:20 +0200 | |
commit | e129faedc41a2f9481d56c20e3046fcef9568a3b (patch) | |
tree | 21a8c542d4788c25c7e80685bb174c9474f97bec /tools/build_defs | |
parent | 3c4b4e34413e47e9cab143f09a20c0dbf015c2b2 (diff) |
Copy swift.bzl into bazel_rules/rules_apple.
PiperOrigin-RevId: 152729637
Diffstat (limited to 'tools/build_defs')
-rw-r--r-- | tools/build_defs/apple/swift.bzl | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/build_defs/apple/swift.bzl b/tools/build_defs/apple/swift.bzl index 12fdf6533b..ec484ce0de 100644 --- a/tools/build_defs/apple/swift.bzl +++ b/tools/build_defs/apple/swift.bzl @@ -12,7 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -"""Skylark rules for Swift.""" +"""Skylark rules for Swift. + +NOTE: This file is deprecated and will be removed soon. If you depend on it, +please start using the version from the rules_apple repository +(https://github.com/bazelbuild/rules_apple) instead. +""" load("shared", "xcrun_action", @@ -330,6 +335,9 @@ def swiftc_args(ctx): def _swift_library_impl(ctx): """Implementation for swift_library Skylark rule.""" + print("This file is deprecated and will be removed soon. Please start " + + "using the version from the rules_apple repository " + + "(https://github.com/bazelbuild/rules_apple) instead.") _validate_rule_and_deps(ctx) |