aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2024-04-01 23:13:14 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2024-04-01 23:13:14 +0000
commit94480f0018262e293e810b7d3a682c0ddb62c294 (patch)
tree4904d75d1003d050cfa55072207b031a9c751a5a
parent6e4ea8e3efd0566a9a5803a881ffa79336ebbcf5 (diff)
parent5f5db2bf99424c7ab88b468a201a5d9d8a2664ce (diff)
downloadbazel_common_rules-94480f0018262e293e810b7d3a682c0ddb62c294.tar.gz
Merge "Delete fake rules_python." into main
-rw-r--r--rules/python/stubs/WORKSPACE1
-rw-r--r--rules/python/stubs/python/BUILD1
-rw-r--r--rules/python/stubs/python/defs.bzl24
3 files changed, 0 insertions, 26 deletions
diff --git a/rules/python/stubs/WORKSPACE b/rules/python/stubs/WORKSPACE
deleted file mode 100644
index 1cfe581..0000000
--- a/rules/python/stubs/WORKSPACE
+++ /dev/null
@@ -1 +0,0 @@
-workspace(name = "rules_python")
diff --git a/rules/python/stubs/python/BUILD b/rules/python/stubs/python/BUILD
deleted file mode 100644
index 5a203b3..0000000
--- a/rules/python/stubs/python/BUILD
+++ /dev/null
@@ -1 +0,0 @@
-exports_files(["defs.bzl"])
diff --git a/rules/python/stubs/python/defs.bzl b/rules/python/stubs/python/defs.bzl
deleted file mode 100644
index 422ef1a..0000000
--- a/rules/python/stubs/python/defs.bzl
+++ /dev/null
@@ -1,24 +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.
-
-"""rules_python stub workspace until AOSP has the real rules_python external dep."""
-
-# TODO(b/200202912): Delete this when rules_python is pulled into AOSP.
-
-# https://bazel.build/reference/be/python
-# Also see --noincompatible_python_disallow_native_rules
-py_binary = native.py_binary
-py_test = native.py_test
-py_library = native.py_library
-py_runtime = native.py_runtime