From ac64fd7b27ca511738801b7ac2dbb9439615183b Mon Sep 17 00:00:00 2001 From: thomasvl Date: Wed, 19 Apr 2017 17:31:35 +0200 Subject: Remove tools/build_defs/apple/apple.bzl. PiperOrigin-RevId: 153589856 --- tools/build_defs/apple/test/apple_rule_test.bzl | 45 ------------------------- 1 file changed, 45 deletions(-) delete mode 100644 tools/build_defs/apple/test/apple_rule_test.bzl (limited to 'tools/build_defs') 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", - ) -- cgit v1.2.3