aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar thomasvl <thomasvl@google.com>2017-04-19 17:31:35 +0200
committerGravatar Klaus Aehlig <aehlig@google.com>2017-04-20 11:06:25 +0200
commitac64fd7b27ca511738801b7ac2dbb9439615183b (patch)
tree4d6b458ddab699e57430a7f650a84c8d4d97c97c /tools
parent6b206225107ce221025c6cafabf6074e285c389e (diff)
Remove tools/build_defs/apple/apple.bzl.
PiperOrigin-RevId: 153589856
Diffstat (limited to 'tools')
-rw-r--r--tools/build_defs/apple/test/apple_rule_test.bzl45
1 files changed, 0 insertions, 45 deletions
diff --git a/tools/build_defs/apple/test/apple_rule_test.bzl b/tools/build_defs/apple/test/apple_rule_test.bzl
deleted file mode 100644
index db0f345774..0000000000
--- a/tools/build_defs/apple/test/apple_rule_test.bzl
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 2016 The Bazel Authors. All rights reserved.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-"""Tests for apple rules."""
-
-load(
- "//tools/build_defs/apple:apple.bzl",
- "swift_library",
-)
-load(
- "//tools/build_rules:test_rules.bzl",
- "rule_test",
-)
-
-
-def apple_rule_test():
- """Issue simple tests on apple rules."""
- swift_library(
- name = "test_lib",
- module_name = "test_lib",
- srcs = ["source.swift"]
- )
-
- rule_test(
- name = "simple_swift_library_test",
- generates = ["test_lib/_objs/test_lib.a",
- "test_lib/_objs/test_lib.swiftmodule",
- "test_lib-Swift.h"],
- provides = {
- "swift": "",
- "objc": ""
- },
- rule = ":test_lib",
- )