platform_build_soong/sdk
Sam Delmerico 35881365b4 don't export systemserverclasspath_fragment if contents are empty
If a systemserverclasspath_fragment only contains libraries that have a
higher min_sdk_version than the target build release version, then we
should not export the systemserverclasspath_fragment. Before this
change, the fragment was exported with an empty `contents` property
which caused errors after being dropped as a prebuilt.

Bug: 289183551
Test: go test ./sdk
Change-Id: Ifefc6880228e4dd37f5e42b2bda31a83df785375
2023-06-30 15:25:16 -04:00
..
Android.bp Support handling build releases in sdk snapshot 2021-10-01 17:17:34 +01:00
bootclasspath_fragment_sdk_test.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00
bp.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00
bp_test.go Replace AssertPanic with AssertPanicMessageContains 2021-03-20 12:08:51 +00:00
build_release.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
build_release_test.go Add UpsideDownCake to the releases for which snapshots can be built 2022-09-30 09:41:08 +01:00
cc_sdk_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
compat_config_sdk_test.go Export any platform_compat_config used by apex to sdk snapshot 2022-07-20 14:18:24 +00:00
exports.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
exports_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
java_sdk_test.go Dynamically link static libs for sdk_library created java_library 2023-06-15 18:18:09 +00:00
license_sdk_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
member_trait.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
member_trait_test.go Remove support for generating versioned snapshots 2022-05-24 20:10:05 +00:00
member_type.go Reformat build/soong for go 1.19 2022-08-17 10:43:13 -07:00
sdk.go Remove memberMutator and use DepsMutator instead 2022-12-12 17:33:06 +00:00
sdk_test.go Dynamically link static libs for sdk_library created java_library 2023-06-15 18:18:09 +00:00
systemserverclasspath_fragment_sdk_test.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00
testing.go Add current build release 2022-08-19 17:39:49 +00:00
update.go don't export systemserverclasspath_fragment if contents are empty 2023-06-30 15:25:16 -04:00