diff options
author | Liam Miller-Cushon <cushon@google.com> | 2015-06-08 22:56:00 +0000 |
---|---|---|
committer | Damien Martin-Guillerez <dmarting@google.com> | 2015-06-09 09:57:17 +0000 |
commit | 37529002c90bda8c02600dcf6e3980634ab7bc3e (patch) | |
tree | 940b862dee8d49951db483b1d9681019b230f1e1 /site/docs/bazel-user-manual.html | |
parent | 438126ce44e3c5c8313329e7d579f4c13c3e210f (diff) |
Add documentation for --javac_extdir
Also update --javac_bootclasspath, and mention cross-compiling.
--
MOS_MIGRATED_REVID=95481485
Diffstat (limited to 'site/docs/bazel-user-manual.html')
-rw-r--r-- | site/docs/bazel-user-manual.html | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/site/docs/bazel-user-manual.html b/site/docs/bazel-user-manual.html index 3d1f07fd24..42dc5cd69a 100644 --- a/site/docs/bazel-user-manual.html +++ b/site/docs/bazel-user-manual.html @@ -1839,15 +1839,24 @@ the compilation of binaries during the build. source files. The compiler can be selected by settings the <a href="#flag--java_langtools"><code class='flag'>--java_langtools</code></a> and the - <a href="#flag--javac_bootclasspath"><code class='flag'>--javac_bootclasspath</code></a> + <a href="#flag--javabuilder_top"><code class='flag'>--javabuilder_top</code></a> options. </p> <h4 id='flag--javac_bootclasspath'><code class='flag'>--javac_bootclasspath <var>label</var></code></h4> <p> - This option specifies the label of the bootclasspath that should be used by - the Java compiler. This lets you compile against different versions of the - Java class library, for example, version 7 instead of version 6. + This option specifies the label of the bootstrap classes that Java code + should be compiled against. This option should always be set together with + <a href="#flag--javac_extdir"><code class='flag'>--javac_extdir</code></a> + when cross-compiling to a different Java platform version. +</p> + +<h4 id='flag--javac_extdir'><code class='flag'>--javac_extdir <var>label</var></code></h4> +<p> + This option specifies the label of the extension classes that Java code + should be compiled against. This option should always be set together with + <a href="#flag--javac_bootclasspath"><code class='flag'>--javac_bootclasspath</code></a> + when cross-compiling to a different Java platform version. </p> <h3 id='strategy-options'>Build strategy options</h3> |