platform_build_soong/java
Paul Duffin 5861242a78 Extract default image specific logic from buildBootImage
Previously, buildBootImage had to be called for the default boot image
config before the art boot image config as it created some rules which
were specific to default boot image. The creation of these rules was
encapsulated in Config().Once(..) to ensure that they were only ever
created once.

This change extracts that functionality out of buildBootImage to the
calling method which means that they are only called once and so no
longer need protecting against being called again.

Bug: 177892522
Test: m droid
Change-Id: I464477de1a08df15e577873a9accf7db2bc088d1
2021-04-27 15:56:47 +01:00
..
config Silence kotlinc JDK9 warnings 2021-03-31 13:17:42 -07:00
aapt2.go Improve comments in java/aapt2.go 2020-11-30 14:16:02 -08:00
aar.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
Android.bp Rename BootImageModule to BootclasspathFragmentModule 2021-04-23 16:59:26 +01:00
android_manifest.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
android_resources.go Add preparer for overlay pre-singleton registration 2021-03-22 22:09:53 +00:00
androidmk.go Expose "full" dexpreopt.config 2021-04-19 18:24:42 +09:00
androidmk_test.go Remove javaFixtureFactory 2021-03-24 01:07:12 +00:00
app.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
app_builder.go Move android package on top of remotexec 2021-03-18 16:17:34 -07:00
app_import.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
app_import_test.go Remove uses of buildDir from java/app_import_test.go 2021-03-24 00:01:15 +00:00
app_set.go Break up app.go. 2020-12-21 12:31:51 -08:00
app_set_test.go Remove uses of buildDir from java/app_set_test.go 2021-03-24 00:01:15 +00:00
app_test.go Remove extraneous calls to TestingBuildParams.RelativeToTop() 2021-03-30 20:03:22 +01:00
base.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
boot_jars.go Add IsModulePreferred 2021-04-06 21:18:34 +01:00
bootclasspath.go Remove panics from reportMissingVariationDependency 2021-04-27 15:56:47 +01:00
bootclasspath_fragment.go bootclasspath_fragment: Always output contents property in snapshot 2021-04-26 21:21:58 +01:00
bootclasspath_fragment_test.go Allow contents and image_name to be specified together 2021-04-26 21:21:58 +01:00
builder.go Support multiple rsp files in REParams 2021-03-25 11:06:45 -07:00
classpath_fragment.go Generate classpaths.proto config for *CLASSPATH variables. 2021-04-14 15:03:23 +01:00
device_host_converter.go Clear remains of java.Dependency interface. 2021-03-05 14:57:51 +00:00
device_host_converter_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
dex.go SdkSpec = Scope + ApiLevel 2021-04-05 09:32:06 +09:00
dexpreopt.go Drop DexPreoptImages field in dexpreopt config 2021-04-26 23:41:40 +09:00
dexpreopt_bootjars.go Extract default image specific logic from buildBootImage 2021-04-27 15:56:47 +01:00
dexpreopt_bootjars_test.go Handle boot jars on /system_ext correctly. 2021-04-15 15:07:06 +01:00
dexpreopt_config.go Don't plumb PRODUCT_*_CLASSPATH vars to make. 2021-04-22 13:35:52 +01:00
dexpreopt_test.go Write module dexpreopt.config for Make. 2021-01-28 06:29:13 +00:00
droiddoc.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
droiddoc_test.go Remove extraneous calls to TestingBuildParams.RelativeToTop() 2021-03-30 20:03:22 +01:00
droidstubs.go Fix metalava api baseline update command 2021-04-16 14:55:50 -07:00
droidstubs_test.go Remove support for unsandboxed metalava 2021-03-31 13:17:42 -07:00
gen.go Take Module implementations out of java/java.go. 2021-03-19 15:46:38 -07:00
genrule.go
hiddenapi.go Export classesJars initialized in hiddenAPIExtractInformation 2021-04-23 09:32:14 +01:00
hiddenapi_modular.go Move monolithic stub flags generation to platform_bootclasspath 2021-04-22 14:23:28 +01:00
hiddenapi_singleton.go Move monolithic stub flags generation to platform_bootclasspath 2021-04-22 14:23:28 +01:00
hiddenapi_singleton_test.go Move monolithic stub flags generation to platform_bootclasspath 2021-04-22 14:23:28 +01:00
jacoco.go Use a default exclude filter for JaCoCo in Soong. 2020-07-08 19:29:10 +00:00
jacoco_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
java.go Extract java SdkMemberType instances as vars 2021-04-26 21:21:58 +01:00
java_resources.go
java_test.go Merge changes Ia74a2b83,I30a46c8f,Iac7c0149 2021-04-22 15:39:41 +00:00
jdeps.go Convert java.Dependency to JavaInfo provider 2021-02-09 15:36:25 -08:00
jdeps_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
kotlin.go Silence kotlinc JDK9 warnings 2021-03-31 13:17:42 -07:00
kotlin_test.go Remove uses of buildDir from java/kotlin_test.go 2021-03-24 01:07:12 +00:00
legacy_core_platform_api_usage.go Merge "Add test suite to legacy core platform allowlist." 2021-03-16 23:02:39 +00:00
lint.go Fix minor issues in updatability lint CLs. 2021-04-22 13:40:41 -07:00
lint_defaults.txt Update soong for new lint version 2021-04-06 17:49:19 +00:00
lint_test.go Add lint.strict_updatability_linting 2021-04-21 16:56:49 -07:00
OWNERS
platform_bootclasspath.go Remove unused setting of BootImageInfo for platform_bootclasspath 2021-04-25 21:38:14 +01:00
platform_bootclasspath_test.go platform_bootclasspath: aggregate hidden API flag files from fragments 2021-04-16 00:29:53 +01:00
platform_compat_config.go Add IsModulePreferred 2021-04-06 21:18:34 +01:00
platform_compat_config_test.go Add platform_compat_config to sdk 2021-03-22 19:13:40 +00:00
plugin.go Register java_plugin in PrepareForTestWithJavaBuildComponents 2021-03-24 00:01:15 +00:00
plugin_test.go Revert "Make lots of tests run in parallel" 2020-10-09 18:34:24 -07:00
prebuilt_apis.go Remove special case code for obsolete files 2021-04-13 19:09:48 +01:00
proto.go Improve java.go readability. 2021-03-15 13:58:44 -07:00
robolectric.go Support robolectric prebuilts in android_robolectric_test 2021-03-05 19:22:30 +00:00
rro.go SdkSpec is fully using ApiLevel 2021-04-08 11:27:24 +09:00
rro_test.go Remove extraneous calls to TestingBuildParams.RelativeToTop() 2021-03-30 20:03:22 +01:00
sdk.go Add tempPathForRestat to improve consistency 2021-04-21 23:26:57 +01:00
sdk_library.go Add new stub_only_static_libs attr for sdk_library 2021-04-22 10:20:13 +01:00
sdk_library_external.go Remove global state from sysprop libraries 2021-02-26 16:28:12 -08:00
sdk_test.go Remove FixturePreparer.Extend() 2021-04-01 10:33:20 +01:00
support_libraries.go
system_modules.go Allow exporting of sdk members to be done per tag 2021-04-24 22:30:26 +01:00
system_modules_test.go Remove varargs from RunTest(t *testing.T) 2021-03-31 16:03:59 +01:00
testing.go Rename BootImageModule to BootclasspathFragmentModule 2021-04-23 16:59:26 +01:00
tradefed.go