diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-08-03 01:06:08 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2023-08-03 01:06:08 +0000 |
commit | f2323a5cdcc1738685e8038a34c6ffde57813b8a (patch) | |
tree | 08a38c305064022ffe8cea6080d6a6ed4e7d8219 | |
parent | 877771dfda103dd12caf33ef708866b0e24d89eb (diff) | |
parent | 6601201b48edacc9af8aa1e275001dceb31a511f (diff) | |
download | bazel_common_rules-android14-d2-release.tar.gz |
Snap for 10601988 from 6601201b48edacc9af8aa1e275001dceb31a511f to udc-d2-releaseandroid-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-release
Change-Id: Idbf920313eba4e2edd364bc4fb0c1fe5a9fb4c4f
-rw-r--r-- | rules/python/stubs/WORKSPACE | 1 | ||||
-rw-r--r-- | rules/python/stubs/python/BUILD | 1 | ||||
-rw-r--r-- | rules/python/stubs/python/defs.bzl | 24 |
3 files changed, 26 insertions, 0 deletions
diff --git a/rules/python/stubs/WORKSPACE b/rules/python/stubs/WORKSPACE new file mode 100644 index 0000000..1cfe581 --- /dev/null +++ b/rules/python/stubs/WORKSPACE @@ -0,0 +1 @@ +workspace(name = "rules_python") diff --git a/rules/python/stubs/python/BUILD b/rules/python/stubs/python/BUILD new file mode 100644 index 0000000..5a203b3 --- /dev/null +++ b/rules/python/stubs/python/BUILD @@ -0,0 +1 @@ +exports_files(["defs.bzl"]) diff --git a/rules/python/stubs/python/defs.bzl b/rules/python/stubs/python/defs.bzl new file mode 100644 index 0000000..422ef1a --- /dev/null +++ b/rules/python/stubs/python/defs.bzl @@ -0,0 +1,24 @@ +# 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 |