summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYifan Hong <elsk@google.com>2023-05-17 20:30:10 +0000
committerYifan Hong <elsk@google.com>2023-05-18 20:15:12 +0000
commit2eba4963e34b43996eceb8785bd0b9c590c94179 (patch)
treefc30f90895d1f0f587e4f8d0d5f1c3e4b9674d88
parent6cdbe24b1e75a882963af381407aef3c726f2231 (diff)
downloadbuild-2eba4963e34b43996eceb8785bd0b9c590c94179.tar.gz
Revert "Delete python* symlinks."
This reverts commit 5a3d5b8afbc3e9c582db7594259e92a1fab4ba43. Reason for revert: breaking legacy builds Bug: 283102632 Change-Id: I6a13a6a049d605fe06dda7b03b5915472e3cafc9
-rw-r--r--BUILD.bazel3
l---------build-tools/path/linux-x86/python1
l---------build-tools/path/linux-x86/python21
l---------build-tools/path/linux-x86/python2.71
l---------build-tools/path/linux-x86/python31
5 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
index 4a9fca1..3b734f3 100644
--- a/BUILD.bazel
+++ b/BUILD.bazel
@@ -34,6 +34,9 @@ hermetic_tools(
"build-tools/path/**",
],
allow_empty = False,
+ # TODO(b/274975942): Delete these symlinks and the exclude clause once
+ # build.sh goes away.
+ exclude = ["**/python*"],
) + [
"//prebuilts/clang/host/linux-x86/clang-{}:bin/llvm-strings".format(VARS["CLANG_VERSION"]),
],
diff --git a/build-tools/path/linux-x86/python b/build-tools/path/linux-x86/python
new file mode 120000
index 0000000..22177b8
--- /dev/null
+++ b/build-tools/path/linux-x86/python
@@ -0,0 +1 @@
+../../../../../prebuilts/build-tools/path/linux-x86/python \ No newline at end of file
diff --git a/build-tools/path/linux-x86/python2 b/build-tools/path/linux-x86/python2
new file mode 120000
index 0000000..546dc8b
--- /dev/null
+++ b/build-tools/path/linux-x86/python2
@@ -0,0 +1 @@
+../../../../../prebuilts/build-tools/path/linux-x86/python2 \ No newline at end of file
diff --git a/build-tools/path/linux-x86/python2.7 b/build-tools/path/linux-x86/python2.7
new file mode 120000
index 0000000..31d80f5
--- /dev/null
+++ b/build-tools/path/linux-x86/python2.7
@@ -0,0 +1 @@
+../../../../../prebuilts/build-tools/path/linux-x86/python2.7 \ No newline at end of file
diff --git a/build-tools/path/linux-x86/python3 b/build-tools/path/linux-x86/python3
new file mode 120000
index 0000000..2568e99
--- /dev/null
+++ b/build-tools/path/linux-x86/python3
@@ -0,0 +1 @@
+../../../../../prebuilts/build-tools/path/linux-x86/python3 \ No newline at end of file