From 7d9596c1ae10979d2ba9ef10fc1ca01ee5e9c3a2 Mon Sep 17 00:00:00 2001 From: cushon Date: Mon, 23 Jul 2018 13:55:14 -0700 Subject: Make the docs for --javabase less misleading PiperOrigin-RevId: 205718853 --- site/docs/user-manual.html | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'site') diff --git a/site/docs/user-manual.html b/site/docs/user-manual.html index 49370b07f2..94cd3456ce 100644 --- a/site/docs/user-manual.html +++ b/site/docs/user-manual.html @@ -1774,22 +1774,18 @@ The default is armeabi-v7a.

--javabase (label)

- This option sets the label of the base Java installation to - use for running JavaBuilder, SingleJar, for bazel run and bazel - test, and for Java binaries built by java_binary and java_test - rules. - The various "Make" variables for - Java (JAVABASE, JAVA, JAVAC and - JAR) are derived from this option. + This option sets the label of the base Java installation to use for bazel run, + bazel test, and for Java binaries built by java_binary and + java_test rules. The JAVABASE and JAVA + "Make" variables are derived from this option.

--host_javabase label

- If not specified, bazel uses the value of --javabase - in the host configuration, i.e., for Java-based tools that run during the build. - The main purpose of this flag is to enable cross-compilation. + This option (sometimes referred to as the 'right-hand side' host_javabase) + sets the label of the base Java installation to use in the host configuration, + for example for host build tools including JavaBuilder and Singlejar.

-

This does not select the Java compiler that is used to compile Java source files. The compiler can be selected by settings the @@ -1798,7 +1794,8 @@ The default is armeabi-v7a.

This option should not be confused with the startup option - --host_javabase. + --host_javabase + (sometimes known as the 'left-hand side' host_javabase).

Build strategy options

-- cgit v1.2.3