Mojo: Generate Java mojom targets when !cpp_only.

Previously, Java mojom targets were generated unless a variant was
specified or typemaps were used. However, Java mojom targets should be
generated for the default variant regardless of whether typemaps are
used. This cl fixes this by switching on the same variable as all the
other decisions for whether to generate Java bindings.

BUG=596202

Review URL: https://codereview.chromium.org/1852163002

Cr-Commit-Position: refs/heads/master@{#385324}


CrOS-Libchrome-Original-Commit: 565c598ea3ef433ffb084d88794eea271b2beee8
1 file changed
tree: dc5b7413c109a6baad89d8b74bce4c29e35345bc
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/