diff options
author | 2022-03-28 17:12:39 -0700 | |
---|---|---|
committer | 2022-04-04 16:42:46 -0700 | |
commit | b5db4015997c61328a31793b0a621acdfeecbf84 (patch) | |
tree | f33eb24058fb89e46ebddca5a51457c13098530a /java/builder.go | |
parent | 220a9a1245eca9200cf8117e9a3e414149bb135a (diff) |
Enable turbine for api generating annotation processors when using kotlin
Normally turbine is disabled when an api generating annotation processor
is in use because the annotation processors are run in javac, so any
generated api would not be present in the turbine header jar. When
compiling with kotlin and annotation processors, the annotation processors
(including any that generate api) are run in an extra turbine invocation
to generate sources to make the results visible to kotlinc, and so can
also be compiled by the normal turbine invocation. Force turbine enabled
when kotlin sources are present.
Test: m SystemUI
Bug: 222095735
Change-Id: I5fcfe67e46cb4a4e90388f088327488959b6571f
Diffstat (limited to 'java/builder.go')
0 files changed, 0 insertions, 0 deletions