diff options
author | 2021-08-27 15:59:39 +0000 | |
---|---|---|
committer | 2021-08-27 17:34:16 +0000 | |
commit | 41fd5e402f4d17db920e7ef281e2291f55cd6203 (patch) | |
tree | 8a777f62698b2c36f67fe732c2e3c9d05c9c9caa /java/systemserver_classpath_fragment.go | |
parent | 560cb6685c1839d4d40a9db4313a365e3d097420 (diff) |
Set --noautodetect_server_javabase in mixed build bazel.
If a valid JAVA_HOME is set in the environment when running
bazel with --experimental_repository_disable_download, bazel
will unsuccessfully attempt to download rules_java. The above
flag has the practical effect of preventing the download attempt
(some clues as to why in the doc at go/aosp-bazel-jdk).
Note that this also prevents building java targets in mixed mode.
Eventually, we will pull in the java_rules into AOSP so they don't
need to be downloaded.
Test: build/bazel/ci/mixed_libc.sh
Change-Id: Icdb186c18a3334f4caa17243a8620a1cc8c1db0e
Diffstat (limited to 'java/systemserver_classpath_fragment.go')
0 files changed, 0 insertions, 0 deletions