platform_build_soong/java
Paul Duffin 20d90e3e51 Prevent bootImageVariant.licenseMetadataFile being set twice
Previously, in a build containing source and prebuilt art
bootclasspath_fragments, the bootImageVariant.licenseMetadataFile was
set twice with the source always being set after the prebuilt and
so winning.

This change only sets bootImageVariant.licenseMetadataFile for the
active module so it will use the prebuilt's license file if that is
preferred.

Bug: 245956352
Test: m nothing
Change-Id: I948c7e5123169452f67c85ad98c4bbdb90a5d2de
2022-10-06 11:06:53 +01:00
..
config Revert "Use the toolchain from JDK 17" 2022-10-03 03:12:41 +00:00
core-libraries Strip annotations from copy of core-current-stubs-for-system-modules 2022-08-22 08:10:16 +01:00
aapt2.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
aar.go Merge "Change deptag for sdk deps to help distinguish" 2022-09-30 22:56:36 +00:00
aar_test.go copy JNI from AAR files to android_app APK 2022-08-02 16:12:06 -04:00
Android.bp Test bootImageConfig/Variant fields 2022-10-06 11:06:51 +01:00
android_manifest.go Enforce mainline modules to have latest target sdk version by default. 2022-09-21 19:09:38 +00:00
android_resources.go Initial bp2build converter for android_app. 2021-12-07 09:41:49 -05:00
androidmk.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
androidmk_test.go Specify jnilib partition in Android-<target>.mk 2022-10-04 03:26:05 +00:00
app.go Merge "Specify jnilib partition in Android-<target>.mk" 2022-10-05 16:19:51 +00:00
app_builder.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
app_import.go Move AllowMissingDependencies handling into processMainCert 2022-09-14 12:48:17 -07:00
app_import_test.go Move AllowMissingDependencies handling into processMainCert 2022-09-14 12:48:17 -07:00
app_set.go Fix panics when target arch is riscv64 2022-10-04 10:53:07 -07:00
app_set_test.go Extract primary apk from apk set zip 2021-11-17 19:55:33 -08:00
app_test.go Enforce mainline modules to have latest target sdk version by default. 2022-09-21 19:09:38 +00:00
base.go Add Config,RunningInsideUnitTest 2022-10-06 11:01:59 +01:00
boot_jars.go
bootclasspath.go Ensure that *bootclasspath* module types depend on device variants 2022-05-11 15:20:37 +00:00
bootclasspath_fragment.go Remove deviceInstalls from bootImageVariant 2022-10-05 12:33:02 +01:00
bootclasspath_fragment_test.go Merge "Revert "bootclasspath_fragment: Treat some specific modules as test"" 2022-09-16 18:24:49 +00:00
builder.go Revert "Use kapt stubs for kotlin header jar for javac" 2022-04-06 07:04:09 +00:00
classpath_element.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
classpath_fragment.go build/soong - support the REL platform version in classpath 2022-05-06 16:09:52 +00:00
device_host_converter.go
device_host_converter_test.go
dex.go Merge "Add soong support for resource shrinking" 2022-09-24 05:19:33 +00:00
dex_test.go Provide platform build flag to R8/D8 2022-09-21 11:01:32 -07:00
dexpreopt.go Remove obsolete dexpreopt config option UseArtImage. 2022-04-27 13:36:47 +01:00
dexpreopt_bootjars.go Prevent bootImageVariant.licenseMetadataFile being set twice 2022-10-06 11:06:53 +01: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_config_test.go Test bootImageConfig/Variant fields 2022-10-06 11:06:51 +01:00
dexpreopt_config_testing.go Test bootImageConfig/Variant fields 2022-10-06 11:06:51 +01:00
dexpreopt_test.go
droiddoc.go Change deptag for sdk deps to help distinguish 2022-09-30 11:01:18 -04:00
droiddoc_test.go
droidstubs.go Pass --sdk-extensions-{root,info} to metalava 2022-09-07 16:13:49 +02:00
droidstubs_test.go Pass --sdk-extensions-{root,info} to metalava 2022-09-07 16:13:49 +02:00
fuzz.go Don't package host cross modules in javaFuzzPackager 2022-06-28 15:16:15 -07:00
fuzz_test.go Add jni support to java_fuzz_host 2022-04-26 18:49:02 +00:00
gen.go AIDL source generation accounts for Bazel paths 2022-08-25 14:47:41 -04:00
genrule.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
genrule_test.go bp2build converts java_genrule and java_genrule_host 2022-01-21 17:50:40 +00:00
hiddenapi.go hiddenapi: Prevent libraries for Q/R from include S+ flags. 2022-04-29 14:08:30 +00:00
hiddenapi_modular.go Exclude unsupported libraries from sdk snapshot 2022-09-14 16:47:18 +01:00
hiddenapi_monolithic.go
hiddenapi_singleton.go
hiddenapi_singleton_test.go
jacoco.go add jacocoagent by default to Java modules 2022-09-09 16:50:38 -04:00
jacoco_test.go
java.go Merge "Specify jnilib partition in Android-<target>.mk" 2022-10-05 16:19:51 +00:00
java_resources.go convert java_resources with bp2build 2022-05-10 14:32:52 +00:00
java_test.go AIDL source generation accounts for Bazel paths 2022-08-25 14:47:41 -04:00
jdeps.go Export Java library dependency information 2022-04-18 10:23:28 +08:00
jdeps_test.go
kotlin.go Use the current java version for -jvm-target 2022-06-28 16:06:16 -07:00
kotlin_test.go Treat kotlin-annotations the same as kotlin-stdlib 2022-05-04 19:07:32 +00:00
legacy_core_platform_api_usage.go Remove ethernet-service jar dependency. 2022-03-16 00:52:40 +00:00
lint.go Merge "Allow libcore to have NewApi warnings" 2022-08-19 14:32:57 +00:00
lint_defaults.txt Demote BinderGetCallingInMainThread from an error to a warning 2022-09-27 15:20:01 -07:00
lint_test.go Fix copy-paste error 2022-09-30 17:04:15 +00:00
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 Remove profilePathOnHost from bootImageConfig 2022-10-05 12:33:02 +01:00
platform_bootclasspath_test.go Make sure dist files have license metadata. 2022-06-01 21:07:25 -07:00
platform_compat_config.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07: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 Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
prebuilt_apis_test.go Tweak logic for when extension txt is latest 2022-09-21 11:51:21 +00:00
proto.go Clean up some bp2build technical debt 2022-05-13 19:47:48 -04:00
proto_test.go add support for java stream protos in protoDeps 2022-02-07 22:39:38 +00:00
resourceshrinker.go Add soong support for resource shrinking 2022-09-23 19:11:11 +02:00
robolectric.go Change deptag for sdk deps to help distinguish 2022-09-30 11:01:18 -04:00
rro.go Enforce mainline modules to have latest target sdk version by default. 2022-09-21 19:09:38 +00:00
rro_test.go Merge "Remove InstallBypassMake and ToMakePath" am: f1228f570a am: a9f335cf5a am: fd865c6688 am: 8ef2179a6e 2021-12-17 07:36:53 +00:00
sdk.go Add experimental option to target Java 17 2022-05-24 13:05:17 +01:00
sdk_library.go Allow sdk_version: "system_server_current" modules to access module-lib APIs 2022-10-05 17:22:59 +01:00
sdk_library_external.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk_library_test.go Allow sdk_version: "system_server_current" modules to access module-lib APIs 2022-10-05 17:22:59 +01: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 Add apexes property to sdk 2022-07-06 15:58:43 +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 Test bootImageConfig/Variant fields 2022-10-06 11:06:51 +01:00
tradefed.go