platform_build_soong/ui
Paul Duffin 39abf8f387 Retry: Support generating sdk snapshot for specific build release
This was reverted unnecessarily along with the change that actually
broke the build.

Previously, the sdk snapshot was assumed to be generated for the
current build system. This change adds support for the
SOONG_SDK_SNAPSHOT_TARGET_BUILD_RELEASE environment variable which can
be used to select the target build release in which the generated
snapshot will be used.

At the moment this will only affect the properties that are output but
if/when it becomes necessary it can also be used to control more
aspects of the snapshots such as supported member types or even
members.

This change does not modify any properties that are build release
specific. That will come in following changes. However, it does add a
test that targets build release S which defines a baseline for
properties that will be affected in following changes. That baseline
makes it easier to see the effect of those follow up changes.

Bug: 197842263
Test: m nothing
Change-Id: If4b452237f105382550d2842c8010249afbc7432
2021-10-04 10:28:31 +01:00
..
build Retry: Support generating sdk snapshot for specific build release 2021-10-04 10:28:31 +01:00
logger Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
metrics Upgrade to golang protobuf api v2 2021-07-23 11:12:05 -07:00
signal Cut the multiproduct_kati -> soong-ui-build dep. 2021-08-11 15:15:02 +02:00
status Upgrade to golang protobuf api v2 2021-07-23 11:12:05 -07:00
terminal Add environment variable to force keeping ANSI codes 2021-09-21 12:53:30 -07:00
tracer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00