Update stats-log-api-gen arguments.

- Get rid of unused compileQ. Replace with more generic compileApiLevel which accepts
an int for specifying which API level the generated code will be
compiled against.
- Add minApiLevel argument which specifies minimum API level the
generated code should be compatible with at runtime. Replace supportQ
with minApiLevel 29.

Bug: 160698801
Bug: 175314831
Test: m stats-log-api-gen
Test: stats-log-api-gen-test
Change-Id: Ia3f23de807f3f9554de007d6bff7c5313406a77b
Merged-In: Ia3f23de807f3f9554de007d6bff7c5313406a77b
(cherry picked from commit fbd2d1562bbd218d5032b661fedb00c803582385)
8 files changed
tree: 6e855e10097fb14d046af914b034eb8d5a51cf74
  1. stats/