Use the java_tools release split into platform independent and prebuilt part.

This builds on top of the commit "Separate java_tools into platform independent and prebuilt part.".

- java_tools release 11.0 is used
- java_tools platform independent repo is added
- java toolchain definitions appropriate for new release are added to tools/jdk/BUILD
- remote_java_tools are replaced with aliases
- tests are reenabled

Changelog:
```
$ git log --pretty=format:"%h %an %s" cd3480e4...5a91c25ca43547870bcf73cf4b427277c7f62d8d -- src/java_tools/ third_party/ijar/ tools/jdk/BUILD.java_tools
d10013de94 Ivo List Separate java_tools into platform independent and prebuilt part.
3c9ad2dc20 philwo Separate ijar sources from deployment zip. (#12556)
2d990cf2fc philwo Fix #10127: Remove Python 2 dependency from tools/android.
de2dab0723 Ivo List Separate ijar sources from deployment zip.
b17e9e4dfb Googler Automatic code cleanup.
```

Benchmark:
```
Bazel commit: /tmp/bazel-head, Project commit: c85ecbed46d4703c7d6bf6b52dab98972dbe9ea1, Project source: None
  metric          mean                median          stddev      pval
    wall:  185.647s             185.445s               2.224s
     cpu:   55.616s              54.410s               1.792s
  system:   18.043s              18.060s               0.330s
  memory:   94.000s              94.000s               0.000s

Bazel commit: /tmp/comius-bazel, Project commit: c85ecbed46d4703c7d6bf6b52dab98972dbe9ea1, Project source: None
  metric          mean                median          stddev      pval
    wall:  184.544s ( -0.59%)   184.456s ( -0.53%)     1.626s    0.03730
     cpu:   54.484s ( -2.03%)    54.990s ( +1.07%)     1.940s    0.42483
  system:   17.364s ( -3.76%)    17.260s ( -4.43%)     0.392s    0.94697
  memory:   94.000s ( +0.00%)    94.000s ( +0.00%)     0.000s    0.00000
```

Closes #12552.
Fixes #8406.

PiperOrigin-RevId: 344530341
13 files changed
tree: c1a2ac258e09c2bbc45cf32a20a35e0b8807e34c
  1. .bazelci/
  2. examples/
  3. scripts/
  4. site/
  5. src/
  6. third_party/
  7. tools/
  8. .bazelrc
  9. .gitattributes
  10. .gitignore
  11. AUTHORS
  12. BUILD
  13. CHANGELOG.md
  14. CODEBASE.md
  15. CODEOWNERS
  16. combine_distfiles.py
  17. combine_distfiles_to_tar.sh
  18. compile.sh
  19. CONTRIBUTING.md
  20. CONTRIBUTORS
  21. distdir.bzl
  22. ISSUE_TEMPLATE.md
  23. LICENSE
  24. README.md
  25. WORKSPACE
README.md

Bazel

{Fast, Correct} - Choose two

Build and test software of any size, quickly and reliably.

  • Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.

  • One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.

  • Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.

  • Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.

Getting Started

Documentation

Contributing to Bazel

See CONTRIBUTING.md

Build status