platform_build_soong/ui
Paul Duffin 973bedb987 Add SOONG_SDK_SNAPSHOT_VERSION support
SOONG_SDK_SNAPSHOT_VERSION=current will generate unversioned and
versioned prebuilts and a versioned snapshot module. This is the
default behavior. The zip file containing the generated snapshot will
be <sdk name>-current.zip.

SOONG_SDK_SNAPSHOT_VERSION=unversioned will generate unversioned
prebuilts only and the zip file containing the generated snapshot will
be <sdk name>.zip.

SOONG_SDK_SNAPSHOT_VERSION=<number> will generate versioned prebuilts
and a versioned snapshot module only. The zip file containing the
generated snapshot will be <sdk name>-<number>.zip.

Bug: 157884619
Test: m nothing
      m SOONG_SDK_SNAPSHOT_VERSION=current art-module-sdk
      - check that the generated Android.bp file has not changed
        from the default.
      m SOONG_SDK_SNAPSHOT_VERSION=none art-module-sdk
      - check that the generated Android.bp file does not contain
        versioned modules.
      m SOONG_SDK_SNAPSHOT_VERSION=2 art-module-sdk
      - check that the generated Android.bp file only contains
        version 2 of each module.
Merged-In: I087e9d7d3ad110508a3d6a39bca50cbb46b3ce82
Change-Id: I087e9d7d3ad110508a3d6a39bca50cbb46b3ce82
(cherry picked from commit 43f7bf0efd)
2021-05-25 09:30:19 +01:00
..
build Add SOONG_SDK_SNAPSHOT_VERSION support 2021-05-25 09:30:19 +01:00
logger Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
metrics Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
status Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
terminal Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
tracer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00