platform_build_soong/java
Paul Duffin 1cad3a53db Make prebuilt_api test environment realistic
Previously, the fixture preparer for prebuilt_apis would add a
core-for-system-modules.jar file in every API directory even though
currently they only exist in the public API directories.

This change makes the test environment more realistic by only creating
them for the public API. Rather than hard code that into the test code
(which would duplicate the hard coding in the decodeSdkDep func) this
extracts a function that is used by both. That ensures that any changes
to that func will be reflected in both the test and runtime behavior.

Bug: 204189791
Test: m nothing
Change-Id: I346ac9c0dcf407c61de16b6027663a05821bcf62
2021-11-01 16:36:23 +00:00
..
config Revert "Time out and dump stacks from R8 processes after 30 minutes" 2021-08-05 17:04:06 -07:00
core-libraries Dist API specific core-for-system-modules 2021-11-01 14:01:39 +00:00
aapt2.go
aar.go Add {.aar} support for android_library 2021-09-14 21:02:43 +00:00
Android.bp Add test for prebuilt_apis creation of system modules 2021-11-01 16:36:02 +00:00
android_manifest.go Don't add uses_libs/optional_uses_libs to the manifest_fixer. 2021-08-20 15:54:42 +01:00
android_resources.go
androidmk.go Add android_sdk_repo_host to build platform-tools&build-tools 2021-10-13 01:25:02 -07:00
androidmk_test.go add the LOCAL_DISABLE_TEST_CONFIG variable 2021-06-03 10:16:39 -07:00
app.go Bp2Build common properties auto-handling 2021-10-04 14:43:04 +00:00
app_builder.go
app_import.go Fix DONT_UNCOMPRESS_PRIV_APPS_DEXS for android_app_import. 2021-09-01 15:44:50 +01:00
app_import_test.go Fix DONT_UNCOMPRESS_PRIV_APPS_DEXS for android_app_import. 2021-09-01 15:44:50 +01:00
app_set.go
app_set_test.go
app_test.go Rename BuildDir and NinjaBuildDir. 2021-08-27 10:08:49 +02:00
base.go Remove unnecessary additionalCheckedModules field 2021-10-04 10:42:56 +01:00
boot_jars.go Disable boot jars package check if no boot jars have been configured 2021-06-22 14:55:30 +01:00
bootclasspath.go Remove fallback code path for missing BCP fragments that is no longer 2021-09-16 00:55:53 +01:00
bootclasspath_fragment.go Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
bootclasspath_fragment_test.go Fix tests to use correct fixtures for configuring (Apex)BootJars. 2021-08-10 15:35:52 +01:00
builder.go Enable compose kotlinc plugin when depending on the compose runtime 2021-09-20 09:12:42 -07:00
classpath_element.go Add ClasspathElement support 2021-06-18 21:02:10 +01:00
classpath_fragment.go Rename UpdatableBootJars to ApexBootJars. 2021-07-22 17:35:42 +01: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 Add support for d8 --main-dex-rules 2021-09-16 19:14:30 -07:00
dexpreopt.go Revert^2 "Preopt APEX system server jars." 2021-09-16 06:25:26 +00:00
dexpreopt_bootjars.go Remove updatable-bcp-packages.txt. 2021-09-24 03:19:05 +00:00
dexpreopt_bootjars_test.go
dexpreopt_check.go Add a build-time check for dexpreopting system server jars. 2021-10-29 11:55:20 +00:00
dexpreopt_config.go Merge "Rename UpdatableBootJars to ApexBootJars." 2021-07-26 17:59:36 +00:00
dexpreopt_test.go Revert^2 "Preopt APEX system server jars." 2021-09-16 06:25:26 +00:00
droiddoc.go Stop filtering html files from droidstubs input 2021-06-09 13:54:38 +01:00
droiddoc_test.go
droidstubs.go Add module-lib to droidstubs' supported sdk types 2021-10-05 15:40:46 +00:00
droidstubs_test.go Add module-lib to droidstubs' supported sdk types 2021-10-05 15:40:46 +00:00
gen.go
genrule.go Allow defaults in java_genrule modules 2021-10-08 17:52:32 -07:00
hiddenapi.go Propagate the dex jar path as an OptionalPath which is either valid or 2021-09-23 17:19:55 +01:00
hiddenapi_modular.go Allow implementation details to be excluded from signature patterns file 2021-10-05 15:47:05 +01:00
hiddenapi_monolithic.go Separate creation of signature patterns from overlap checking 2021-08-06 13:40:34 +01:00
hiddenapi_singleton.go Merge "Drop "prebuilt_" prefixes from names registered in ApexInfo.InApexXxx." 2021-05-27 17:23:16 +00:00
hiddenapi_singleton_test.go Propagate the dex jar path as an OptionalPath which is either valid or 2021-09-23 17:19:55 +01:00
jacoco.go Added quotes to protect wildcard 2021-06-30 14:29:49 -04:00
jacoco_test.go Added quotes to protect wildcard 2021-06-30 14:29:49 -04:00
java.go Dedup use of "prebuilt_" 2021-10-26 10:43:23 +01:00
java_resources.go
java_test.go Propagate the dex jar path as an OptionalPath which is either valid or 2021-09-23 17:19:55 +01:00
jdeps.go
jdeps_test.go
kotlin.go Enable compose kotlinc plugin when depending on the compose runtime 2021-09-20 09:12:42 -07:00
kotlin_test.go Enable compose kotlinc plugin when depending on the compose runtime 2021-09-20 09:12:42 -07:00
legacy_core_platform_api_usage.go Merge "Add test to TestJavaStableSdkVersion for legacy core platform" am: 3769a27c5e 2021-09-20 14:20:18 +00:00
lint.go make system server modules use filtered lint database 2021-07-05 16:57:34 +00:00
lint_defaults.txt Disable lint checks which do not apply in the platform 2021-07-24 14:48:19 +00:00
lint_test.go make system server modules use filtered lint database 2021-07-05 16:57:34 +00:00
OWNERS Update dex_preopt related OWNERS 2021-06-17 17:05:39 +01:00
platform_bootclasspath.go Remove updatable-bcp-packages.txt. 2021-09-24 03:19:05 +00:00
platform_bootclasspath_test.go Fix monolithic hidden API processing with prebuilts 2021-06-22 19:16:27 +01:00
platform_compat_config.go Refactor SdkMemberType.AddDependencies() 2021-08-31 17:07:07 +01:00
platform_compat_config_test.go
plugin.go
plugin_test.go Replace android.BuildOs with Config.BuildOS 2021-07-20 12:46:48 -07:00
prebuilt_apis.go
prebuilt_apis_test.go Add test for prebuilt_apis creation of system modules 2021-11-01 16:36:02 +00:00
proto.go Merge "Add support for java streaming proto" 2021-11-01 00:14:59 +00:00
robolectric.go Merge "Add phony name for robolectric tests" 2021-09-24 19:51:41 +00:00
rro.go Port module_partition logic for RRO from Make to Soong 2021-06-08 17:53:31 +00:00
rro_test.go Port module_partition logic for RRO from Make to Soong 2021-06-08 17:53:31 +00:00
sdk.go Make prebuilt_api test environment realistic 2021-11-01 16:36:23 +00:00
sdk_library.go Merge "Remove updatable-bcp-packages.txt." 2021-09-26 03:34:28 +00:00
sdk_library_external.go
sdk_library_test.go Add annotations.zip support to java_sdk_library 2021-09-22 17:23:10 +01:00
sdk_test.go Run TestClasspath test cases with Always_use_prebuilt_sdks=true/false 2021-10-29 17:57:12 +01:00
support_libraries.go
system_modules.go Refactor SdkMemberType.AddDependencies() 2021-08-31 17:07:07 +01:00
system_modules_test.go
systemserver_classpath_fragment.go Make car apex's library optional in PRODUCT_APEX_SYSTEM_SERVER_JARS 2021-10-28 06:12:26 +01:00
systemserver_classpath_fragment_test.go
testing.go Make prebuilt_api test environment realistic 2021-11-01 16:36:23 +00:00
tradefed.go