diff options
author | Paul Duffin <paulduffin@google.com> | 2021-05-05 22:00:51 +0100 |
---|---|---|
committer | Paul Duffin <paulduffin@google.com> | 2021-05-25 09:30:19 +0100 |
commit | 973bedb9874301f774d4e47272b3048303bf98cb (patch) | |
tree | 93c960038dd6ed69d8353cec61cd2efa8a63f046 /sdk/bootclasspath_fragment_sdk_test.go | |
parent | 54c1f08aa971a8bad74d6889f55aef22b348a86a (diff) |
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 43f7bf0efddb6609c249b87cb9b6d26f62d76e02)
Diffstat (limited to 'sdk/bootclasspath_fragment_sdk_test.go')
0 files changed, 0 insertions, 0 deletions