platform_build_soong/java
Colin Cross c6ef485370 Use kapt stubs for kotlin header jar for javac
When compling kotlin code with annotation processors we are generating
java stubs for the kotlin sources using kapt, and parsing them in
turbine when running the annotation processors.  Passing --output
to turbine will also compile the stubs into a header jar that can
be used as a dependency to javac, allowing the javac and kotlinc
rules to run in parallel.  The turbine-apt header jar can't be used
as the header jar for downstream modules as it doesn't contain the
kotlin metadata needed by kotlinc rules, so the kotlinc gen-jvm-abi
plugin output is still used for the module's final header jar.

Test: TestKapt
Bug: 222095735
Change-Id: I82d0900f3dc30f3e3ebd7cab0693dfe741d9b955
2022-04-04 16:42:46 -07:00
..
config Enable kotlin's jvm-abi-gen plugin to generate header jars 2022-04-04 16:42:46 -07:00
core-libraries Rename core-current-stubs-system-modules to be more consistent 2021-11-03 16:58:29 +00:00
aapt2.go
aar.go Manifest Fixer Params code refactor 2022-02-10 13:37:50 +00:00
Android.bp Don't pass static libs to r8 2022-03-18 20:48:27 +00:00
android_manifest.go Manifest Fixer Params code refactor 2022-02-10 13:37:50 +00:00
android_resources.go Initial bp2build converter for android_app. 2021-12-07 09:41:49 -05:00
androidmk.go Use 'stem' to override APK name 2022-01-11 13:03:49 +09:00
androidmk_test.go
app.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
app_builder.go
app_import.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
app_import_test.go
app_set.go Install android_app_set modules in Soong 2021-11-17 19:55:33 -08:00
app_set_test.go Extract primary apk from apk set zip 2021-11-17 19:55:33 -08:00
app_test.go Add testOnly attribute to AndroidManifest file of apex_test 2022-02-01 12:03:48 +00:00
base.go Use kapt stubs for kotlin header jar for javac 2022-04-04 16:42:46 -07:00
boot_jars.go
bootclasspath.go
bootclasspath_fragment.go Make bootclasspath_fragment hidden API package checks exhaustive 2022-03-18 10:54:51 +00:00
bootclasspath_fragment_test.go
builder.go Use kapt stubs for kotlin header jar for javac 2022-04-04 16:42:46 -07:00
classpath_element.go
classpath_fragment.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
device_host_converter.go Add android_sdk_repo_host to build platform-tools&build-tools 2021-10-13 01:25:02 -07:00
device_host_converter_test.go
dex.go Collect deps from r8 2022-03-22 16:40:13 +00:00
dex_test.go Don't pass static libs to r8 2022-03-18 20:48:27 +00:00
dexpreopt.go Allow installing boot images outside of APEX. 2022-01-13 14:50:05 +00:00
dexpreopt_bootjars.go Merge "Pass --preloaded-classes to boot image compilation." 2022-03-18 13:41:59 +00:00
dexpreopt_bootjars_test.go
dexpreopt_check.go Update dexpreopt_check to check all system server jars. 2021-12-21 12:51:36 +00:00
dexpreopt_config.go Pass --preloaded-classes to boot image compilation. 2022-03-15 14:28:38 +00:00
dexpreopt_test.go
droiddoc.go Add AIDL enforce_permissions attribute 2022-02-24 10:15:27 +11:00
droiddoc_test.go
droidstubs.go Enable restat for sbox rules 2022-04-04 16:42:46 -07:00
droidstubs_test.go Add new file name to output inputs/outputs of actions of modules into a new file when m json-module-graph is executed. 2022-01-28 13:52:50 +08:00
fuzz.go Add java_fuzz_packaging 2022-01-12 18:48:39 +00:00
fuzz_test.go Add java_fuzz module to build java fuzzers 2022-01-06 02:17:34 +00:00
gen.go Add AIDL enforce_permissions attribute 2022-02-24 10:15:27 +11:00
genrule.go bp2build converts java_genrule and java_genrule_host 2022-01-21 17:50:40 +00:00
genrule_test.go bp2build converts java_genrule and java_genrule_host 2022-01-21 17:50:40 +00:00
hiddenapi.go Annotate more java dependencies for licensing 2022-01-28 15:42:06 -08:00
hiddenapi_modular.go Make bootclasspath_fragment hidden API package checks exhaustive 2022-03-18 10:54:51 +00:00
hiddenapi_monolithic.go
hiddenapi_singleton.go
hiddenapi_singleton_test.go
jacoco.go
jacoco_test.go
java.go add plugins to javaLibraryAttributes 2022-03-30 19:19:13 +00:00
java_resources.go
java_test.go Use turbine instead of kapt for kotlin annotation processors 2022-03-25 10:28:50 -07:00
jdeps.go Dump deps for native and java to json files. 2021-11-05 12:06:15 +08:00
jdeps_test.go
kotlin.go Use kapt stubs for kotlin header jar for javac 2022-04-04 16:42:46 -07:00
kotlin_test.go Use kapt stubs for kotlin header jar for javac 2022-04-04 16:42:46 -07:00
legacy_core_platform_api_usage.go Remove ethernet-service jar dependency. 2022-03-16 00:52:40 +00:00
lint.go Export LintDepSetsIntf from java package 2022-02-08 19:25:37 +00:00
lint_defaults.txt Revert "225341614: Enforce ExtraText in platform builds" 2022-03-21 18:56:14 +00:00
lint_test.go
OWNERS Adding metalava team to OWNERS to be able to disable metalava checks that will break platform build. 2022-01-28 18:34:08 +00:00
platform_bootclasspath.go Propagate min and max sdk versions to classpaths.proto configs. 2021-12-01 17:58:41 +00:00
platform_bootclasspath_test.go
platform_compat_config.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
platform_compat_config_test.go
plugin.go emulate java_library static_deps with Bazel exports 2022-03-30 18:58:38 +00:00
plugin_test.go
prebuilt_apis.go Add support for sdk extensions in prebuilt_apis 2022-02-21 16:43:43 +00:00
prebuilt_apis_test.go Add support for sdk extensions in prebuilt_apis 2022-02-21 16:43:43 +00:00
proto.go convert java proto libraries with bp2build 2022-02-15 21:04:59 +00:00
proto_test.go add support for java stream protos in protoDeps 2022-02-07 22:39:38 +00:00
robolectric.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
rro.go Add support for excluding libraries from class loader contexts 2022-02-07 14:57:53 +00:00
rro_test.go Remove InstallBypassMake and ToMakePath 2021-12-15 15:22:53 -08:00
sdk.go Revert^2: "Setting Java 11 as the default version" 2022-01-24 13:31:05 +00:00
sdk_library.go Merge changes I4c373b29,I9ccda6fc,I1b390b0e,I30151217 2022-03-24 16:38:20 +00:00
sdk_library_external.go
sdk_library_test.go Pass shared library updatability attributes as strings 2022-02-11 17:59:36 +00:00
sdk_test.go Rename core-current-stubs-system-modules to be more consistent 2021-11-03 16:58:29 +00:00
support_libraries.go
system_modules.go
system_modules_test.go
systemserver_classpath_fragment.go Dexpreopt standalone system server jars. 2021-12-20 15:07:26 +00:00
systemserver_classpath_fragment_test.go Add entries for STANDALONE_SYSTEMSERVER_JARS to systemserverclasspath.pb 2021-11-30 10:51:10 +00:00
testing.go Add support for sdk extensions in prebuilt_apis 2022-02-21 16:43:43 +00:00
tradefed.go