summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Delmerico <delmerico@google.com>2022-03-04 18:18:41 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2022-03-04 18:18:41 +0000
commit1f89a172411a14312d16165b09c0423dfedc9367 (patch)
treeb22f5f2d15508108ab3a967bb25860ef444c01c0
parentba8731e0538088d5d1113a40593ec90e4f39de7a (diff)
parent3d982efb928a7c2241ab3bef2f7366774dc84867 (diff)
downloadjdk11-1f89a172411a14312d16165b09c0423dfedc9367.tar.gz
Merge "make jdk prebuilts accessible to Bazel" am: 02ab11bdab am: 3d982efb92
Original change: https://android-review.googlesource.com/c/platform/prebuilts/jdk/jdk11/+/1978847 Change-Id: I59ea410bdcf056644484218ce7bbb8766a6fce06
-rw-r--r--BUILD.bazel22
1 files changed, 22 insertions, 0 deletions
diff --git a/BUILD.bazel b/BUILD.bazel
new file mode 100644
index 0000000..65eefec
--- /dev/null
+++ b/BUILD.bazel
@@ -0,0 +1,22 @@
+# Copyright (C) 2022 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.
+
+package(default_visibility = ["//visibility:public"])
+
+[filegroup(
+ name = platform,
+ srcs = glob([
+ "%s/bin/*" % platform,
+ ]),
+) for platform in ("linux-x86", "darwin-x86")]