Add rules to generate android_icu4j sources during build time

In the downstream branch master-icu-dev, we intend to generate the
sources during build time.
See the details in http://b/71896732#comment13

The commit checks in the build rules in AOSP, but we use the rule in
the master-icu-dev branch, because we want to minimize the diff in the
build files between the 2 branches, and changes in AOSP

- Add java_binary_host rule to build the tool binary in order to use
  the tool during the build time

Bug: 71896732
Test: tools/srcgen/generate_android_icu4j.sh (without arguments) generates no new change
Test: m droid cts
Test: emulator booted
Test: atest CtsIcuTestCases:android.icu.dev.test.serializable.CompatibilityTest
Change-Id: I96efc8c9bfb89239a656fe670c05909fc087be2d
6 files changed