aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-01 21:11:54 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-01 21:11:54 +0000
commit6e4ea8e3efd0566a9a5803a881ffa79336ebbcf5 (patch)
treed5c58612d5275636ec7e00bb6c0726d04c369888
parent2d9b635d8f5490cf8dd9fc921d02fb300f6e5082 (diff)
parent2b2f770f07833ed3a28fba0e541039b3a3c32d86 (diff)
downloadbazel_common_rules-6e4ea8e3efd0566a9a5803a881ffa79336ebbcf5.tar.gz
Merge "Delete fake rules_java." into main
-rw-r--r--rules/java/rules_java/BUILD0
-rw-r--r--rules/java/rules_java/WORKSPACE0
-rw-r--r--rules/java/rules_java/java/BUILD23
-rw-r--r--rules/java/rules_java/java/defs.bzl47
4 files changed, 0 insertions, 70 deletions
diff --git a/rules/java/rules_java/BUILD b/rules/java/rules_java/BUILD
deleted file mode 100644
index e69de29..0000000
--- a/rules/java/rules_java/BUILD
+++ /dev/null
diff --git a/rules/java/rules_java/WORKSPACE b/rules/java/rules_java/WORKSPACE
deleted file mode 100644
index e69de29..0000000
--- a/rules/java/rules_java/WORKSPACE
+++ /dev/null
diff --git a/rules/java/rules_java/java/BUILD b/rules/java/rules_java/java/BUILD
deleted file mode 100644
index e7d4265..0000000
--- a/rules/java/rules_java/java/BUILD
+++ /dev/null
@@ -1,23 +0,0 @@
-"""
-Copyright (C) 2023 The Android Open Source Project
-
-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.
-"""
-
-load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
-
-bzl_library(
- name = "rules",
- srcs = ["defs.bzl"],
- visibility = ["//visibility:public"],
-)
diff --git a/rules/java/rules_java/java/defs.bzl b/rules/java/rules_java/java/defs.bzl
deleted file mode 100644
index 33d1ab3..0000000
--- a/rules/java/rules_java/java/defs.bzl
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright (C) 2023 The Android Open Source Project
-#
-# 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.
-
-"""
-Helper macros to forward to native equivalents.
-"""
-
-def java_binary(**attrs):
- native.java_binary(**attrs)
-
-def java_import(**attrs):
- native.java_import(**attrs)
-
-def java_library(**attrs):
- native.java_library(**attrs)
-
-def java_lite_proto_library(**attrs):
- native.java_lite_proto_library(**attrs)
-
-def java_proto_library(**attrs):
- native.java_proto_library(**attrs)
-
-def java_test(**attrs):
- native.java_test(**attrs)
-
-def java_package_configuration(**attrs):
- native.java_package_configuration(**attrs)
-
-def java_plugin(**attrs):
- native.java_plugin(**attrs)
-
-def java_runtime(**attrs):
- native.java_runtime(**attrs)
-
-def java_toolchain(**attrs):
- native.java_toolchain(**attrs)