diff options
author | lberki <lberki@google.com> | 2017-10-11 11:42:53 +0200 |
---|---|---|
committer | Marcel Hlopko <hlopko@google.com> | 2017-10-11 13:57:52 +0200 |
commit | 2ea4fa26281175c316651ec50784b820a9f409cf (patch) | |
tree | e368fddc3a18f0832e5556ca75fcec9698f903e5 /src/package-bazel.sh | |
parent | 0a63dadf4eafbae1730f88644b0c537fb1c16d5c (diff) |
Remove support for --javabase=<absolute path>.
If an absolute javabase is desired, the following set of rules can be used:
java_runtime_suite(name="suite", default=":runtime")
java_runtime(name="runtime", java_home=<path to the JDK>)
Then --javabase can be pointed to the java_runtime_suite() rule.
Alternatively, the java_runtime rule can reference a Make variable:
java_runtime(name="runtime", java_home="$(ABSOLUTE_JAVABASE)")
Then the Javabase can be specified on the command line like this:
--javabase=<your package>:suite --define=ABSOLUTE_JAVABASE=<path to the JDK>
RELNOTES[INC]: --javabase=<absolute path> and --host_javabase=<absolute path>
are not supported anymore. If you need this functionality java_runtime_suite(name="suite", default=":runtime") java_runtime(name="runtime", java_home=<path to the JDK>) is an alternative.
PiperOrigin-RevId: 171798416
Diffstat (limited to 'src/package-bazel.sh')
0 files changed, 0 insertions, 0 deletions