2012-11-07 21:10:39 +01:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:str="http://exslt.org/strings"
|
2014-09-02 19:18:30 +02:00
|
|
|
xmlns:sdk="http://schemas.android.com/sdk/android/sys-img/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
2012-11-07 21:10:39 +01:00
|
|
|
|
|
|
|
<xsl:output omit-xml-declaration="yes" indent="no" />
|
|
|
|
|
2014-09-02 19:18:30 +02:00
|
|
|
<xsl:template match="/sdk:sdk-sys-img">
|
2012-11-07 21:10:39 +01:00
|
|
|
<xsl:for-each select="sdk:system-image">
|
2013-07-31 18:56:27 +02:00
|
|
|
sysimg_<xsl:value-of select="sdk:abi" />_<xsl:value-of select="sdk:api-level" /> = buildSystemImage {
|
2014-09-02 19:18:30 +02:00
|
|
|
name = "sysimg-<xsl:value-of select="sdk:abi" />-<xsl:value-of select="sdk:api-level" />";
|
2012-11-07 21:10:39 +01:00
|
|
|
src = fetchurl {
|
2015-10-06 14:27:49 +02:00
|
|
|
url = <xsl:if test="not(starts-with(sdk:archives/sdk:archive/sdk:url, 'https://'))">https://dl.google.com/android/repository/sys-img/android/</xsl:if><xsl:value-of select="sdk:archives/sdk:archive/sdk:url" />;
|
2014-09-02 19:18:30 +02:00
|
|
|
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive/sdk:checksum[@type='sha1']" />";
|
2012-11-07 21:10:39 +01:00
|
|
|
};
|
|
|
|
};
|
2015-05-02 15:15:29 +02:00
|
|
|
</xsl:for-each>
|
2012-11-07 21:10:39 +01:00
|
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|