diff options
author | Sam Delmerico <delmerico@google.com> | 2022-02-09 21:50:49 +0000 |
---|---|---|
committer | Sam Delmerico <delmerico@google.com> | 2022-02-14 19:00:42 +0000 |
commit | d2fa5c9b6cb3eecac3a22469aad76c51f02d1ab9 (patch) | |
tree | 2c5b6fb93c411cabb2616dbe8220edd336bd9db8 | |
parent | 023f88db78eafbfc4b25fa5053531b36b89d3357 (diff) | |
download | jdk11-d2fa5c9b6cb3eecac3a22469aad76c51f02d1ab9.tar.gz |
make jdk prebuilts accessible to Bazel
b/194133023 needs access to the keytool binary that is supplied with the
JDK.
Bug: 194133023
Test: b build -s //frameworks/base/tests/appwidgets/AppWidgetHostTest
and verify includes SignApk action with generated keystore
Change-Id: Ic4de11367f6d42879492eb5726bd190d352c1d96
-rw-r--r-- | BUILD.bazel | 22 |
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")] |