From 41375ac41679bee2b5e51b5deba1597848d4134b Mon Sep 17 00:00:00 2001
From: cushon --compiler
,
--use_ijars
,
- --java_toolchain
,
If --host_crosstool_top
is used, then the value of
--host_cpu
is used to look up a
default_toolchain
in the Crosstool
(ignoring --compiler
) for the host configuration.
+ --host_javabase
for
+ --javabase
+ --host_java_toolchain
for
+ --java_toolchain
+ -c opt
).
--copt=-g0
).
@@ -1777,6 +1784,13 @@ The default is armeabi-v7a
.
source files.
--host_java_toolchain label
+ If not specified, bazel uses the value of --java_toolchain
to compile
+ code in the host configuration, i.e., tools run during the build. The main purpose of this flag
+ is to enable cross-compilation.
+
--javabase (path|label)
This option sets the label or the path of the base Java installation to
@@ -1788,6 +1802,13 @@ The default is armeabi-v7a
.
JAR
) 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 does not select the Java compiler that is used to compile Java source files. The compiler can be selected by settings the -- cgit v1.2.3