Add revision to Android targets.
The add-on use the "revision" property of the manifest (if it does not exists, it looks for the old deprecated "version" property). The platform uses the ro.build.version.incremental which is only an integer for builds from the build servers. Local builds contain <buildtype>.<username>.<date>.<time>. For those will use the date.
This commit is contained in:
@@ -386,9 +386,11 @@ class Main {
|
||||
if (target.isPlatform()) {
|
||||
mSdkLog.printf(" Type: Platform\n");
|
||||
mSdkLog.printf(" API level: %d\n", target.getApiVersionNumber());
|
||||
mSdkLog.printf(" Revision: %d\n", target.getRevision());
|
||||
} else {
|
||||
mSdkLog.printf(" Type: Add-On\n");
|
||||
mSdkLog.printf(" Vendor: %s\n", target.getVendor());
|
||||
mSdkLog.printf(" Revision: %d\n", target.getRevision());
|
||||
if (target.getDescription() != null) {
|
||||
mSdkLog.printf(" Description: %s\n", target.getDescription());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user