diff options
author | Karl Shaffer <karlshaffer@google.com> | 2021-04-30 00:15:04 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-04-30 00:15:04 +0000 |
commit | e110660ec5ae62175fbe2388aae6a25bd938d6f8 (patch) | |
tree | 9b1fcaaa73ea317a369daf80e024642014d7fb70 | |
parent | ce4fddb0e7f0c48b38e6ef32be41b4735f7052cd (diff) | |
parent | 2919da26e067d6f50b460240ccf423f51b4f1918 (diff) | |
download | pesto-e110660ec5ae62175fbe2388aae6a25bd938d6f8.tar.gz |
Add a script to prepare a Bazel environment am: 52534a2703 am: 7ddda3ee6c am: db5ca8a0c9 am: 2919da26e0
Original change: https://android-review.googlesource.com/c/platform/build/pesto/+/1677130
Change-Id: I07d502882dac6d9050aab4d00825f667f5a2abc2
-rw-r--r-- | experiments/prepare_bazel_test_env/BUILD.bazel | 19 | ||||
-rw-r--r-- | experiments/prepare_bazel_test_env/README.md | 5 |
2 files changed, 24 insertions, 0 deletions
diff --git a/experiments/prepare_bazel_test_env/BUILD.bazel b/experiments/prepare_bazel_test_env/BUILD.bazel new file mode 100644 index 0000000..e307867 --- /dev/null +++ b/experiments/prepare_bazel_test_env/BUILD.bazel @@ -0,0 +1,19 @@ +# Copyright (C) 2021 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. + +py_binary( + name = "prepare_bazel_test_env", + srcs = glob(["*.py"]), + data = glob(["data/**/*"]) +) diff --git a/experiments/prepare_bazel_test_env/README.md b/experiments/prepare_bazel_test_env/README.md new file mode 100644 index 0000000..896a715 --- /dev/null +++ b/experiments/prepare_bazel_test_env/README.md @@ -0,0 +1,5 @@ +# Overview + +The `prepare_bazel_test_env` script is a proof-of-concept script +to create a simulated Bazel environment within the Android source +tree using targets build by the Soong build system. |