Files
build_soong/java
Paul Duffin ba6afd0dba Allow contents and image_name to be specified together
Previously, only one of the contents or image_name properties could be
specified at once which meant that there was no way to create a
prebuilt which lists its fixed contents while at the same time allowing
it to check that that the contents matched what the build configuration
required.

e.g. a prebuilt_bootclasspath_fragment that had image_name: "art",
could not list its contents and also check that those contents matched
the ART_APEX_JARS which the build configuration required.

This change allows contents and image_name to be specified together and
adds a check to make sure that the contents are consistent with the
configuration appropriate to the image_name. The check is only
performed for modules that are active so that a
prebuilt_bootclasspath_fragment which was created without coverage
enabled (the default) would not cause a build failure in a coverage
build unless it was preferred.

Bug: 177892522
Test: m nothing
Change-Id: Ie601f29f707b3f6030fa7d252afa2c4826cc9f8e
2021-04-26 21:21:58 +01:00
..
2021-03-31 13:17:42 -07:00
2020-11-30 14:16:02 -08:00
2021-04-08 11:27:24 +09:00
2021-03-24 01:07:12 +00:00
2021-04-19 18:24:42 +09:00
2021-04-08 11:27:24 +09:00
2020-12-21 12:31:51 -08:00
2021-04-08 11:27:24 +09:00
2021-04-08 11:27:24 +09:00
2021-04-06 21:18:34 +01:00
2021-04-05 09:32:06 +09:00
2021-04-19 18:24:42 +09:00
2021-04-08 11:27:24 +09:00
2021-03-31 13:17:42 -07:00
2021-03-15 13:58:44 -07:00
2021-04-08 11:27:24 +09:00
2021-04-01 10:33:20 +01:00
2019-10-18 15:14:15 -07:00