Merge branch 'master' of github.com:NixOS/nixpkgs
This commit is contained in:
commit
cd188cbc0f
@ -5,7 +5,7 @@
|
||||
, libX11, libXext, libXrender, libxcb, libXau, libXdmcp, mesa
|
||||
, freetype, fontconfig, gtk, atk
|
||||
}:
|
||||
{platformVersions, useGoogleAPIs}:
|
||||
{platformVersions, abiVersions, useGoogleAPIs}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "android-sdk-22.05";
|
||||
@ -148,19 +148,21 @@ stdenv.mkDerivation {
|
||||
mkdir -p system-images
|
||||
cd system-images
|
||||
|
||||
${stdenv.lib.concatMapStrings (platformVersion:
|
||||
if (builtins.hasAttr ("sysimg_"+platformVersion) sysimages) then
|
||||
let
|
||||
sysimg = builtins.getAttr ("sysimg_"+platformVersion) sysimages;
|
||||
in
|
||||
''
|
||||
mkdir -p android-${platformVersion}
|
||||
cd android-${platformVersion}
|
||||
ln -s ${sysimg}/*
|
||||
cd ..
|
||||
''
|
||||
else ""
|
||||
) platformVersions}
|
||||
${stdenv.lib.concatMapStrings (abiVersion:
|
||||
stdenv.lib.concatMapStrings (platformVersion:
|
||||
if (builtins.hasAttr ("sysimg_" + abiVersion + "_" + platformVersion) sysimages) then
|
||||
let
|
||||
sysimg = builtins.getAttr ("sysimg_" + abiVersion + "_" + platformVersion) sysimages;
|
||||
in
|
||||
''
|
||||
mkdir -p android-${platformVersion}
|
||||
cd android-${platformVersion}
|
||||
ln -s ${sysimg}/*
|
||||
cd ..
|
||||
''
|
||||
else ""
|
||||
) platformVersions
|
||||
) abiVersions}
|
||||
|
||||
# Create wrappers to the most important tools and platform tools so that we can run them if the SDK is in our PATH
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, androidsdk, jdk, ant }:
|
||||
{ name, src, platformVersions ? [ "8" ], useGoogleAPIs ? false
|
||||
{ name, src, platformVersions ? [ "8" ], abiVersions ? [ "armeabi-v7a" ], useGoogleAPIs ? false
|
||||
, release ? false, keyStore ? null, keyAlias ? null, keyStorePassword ? null, keyAliasPassword ? null
|
||||
}:
|
||||
|
||||
@ -10,7 +10,9 @@ let
|
||||
else if stdenv.system == "x86_64-darwin" then "macosx"
|
||||
else throw "Platform: ${stdenv.system} is not supported!";
|
||||
|
||||
androidsdkComposition = androidsdk { inherit platformVersions useGoogleAPIs; };
|
||||
androidsdkComposition = androidsdk {
|
||||
inherit platformVersions abiVersions useGoogleAPIs;
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
name = stdenv.lib.replaceChars [" "] [""] name;
|
||||
|
@ -53,6 +53,7 @@ rec {
|
||||
|
||||
androidsdk_4_1 = androidsdk {
|
||||
platformVersions = [ "16" ];
|
||||
abiVersions = [ "armeabi-v7a" ];
|
||||
useGoogleAPIs = true;
|
||||
};
|
||||
|
||||
|
@ -1,8 +1,12 @@
|
||||
{stdenv, androidsdk}:
|
||||
{name, app, platformVersion ? "8", useGoogleAPIs ? false, package, activity}:
|
||||
{name, app, platformVersion ? "8", abiVersion ? "armeabi-v7a", useGoogleAPIs ? false, enableGPU ? false, package, activity}:
|
||||
|
||||
let
|
||||
androidsdkComposition = androidsdk { inherit useGoogleAPIs; platformVersions = [ platformVersion ]; };
|
||||
androidsdkComposition = androidsdk {
|
||||
inherit useGoogleAPIs;
|
||||
platformVersions = [ platformVersion ];
|
||||
abiVersions = [ abiVersion ];
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
inherit name;
|
||||
@ -48,6 +52,11 @@ stdenv.mkDerivation {
|
||||
# Create a virtual android device
|
||||
${androidsdkComposition}/libexec/android-sdk-*/tools/android create avd -n device -t ${if useGoogleAPIs then "'Google Inc.:Google APIs:"+platformVersion+"'" else "android-"+platformVersion}
|
||||
|
||||
# Enable GPU acceleration
|
||||
${stdenv.lib.optionalString enableGPU ''
|
||||
echo "hw.gpu.enabled=yes" >> $ANDROID_SDK_HOME/.android/avd/device.avd/config.ini
|
||||
''}
|
||||
|
||||
# Launch the emulator
|
||||
${androidsdkComposition}/libexec/android-sdk-*/tools/emulator -avd device -no-boot-anim -port $port &
|
||||
|
||||
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0"?>
|
||||
|
||||
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:str="http://exslt.org/strings"
|
||||
xmlns:sdk="http://schemas.android.com/sdk/android/sys-img/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<xsl:param name="abi" />
|
||||
<xsl:output omit-xml-declaration="yes" indent="no" />
|
||||
|
||||
<xsl:template match="/sdk:sdk-sys-img">
|
||||
<xsl:for-each select="sdk:system-image">
|
||||
sysimg_<xsl:value-of select="sdk:abi" />_<xsl:value-of select="sdk:api-level" /> = buildSystemImage {
|
||||
name = "<xsl:value-of select="sdk:abi" />-<xsl:value-of select="sdk:api-level" />";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/<xsl:value-of select="$abi" />/<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:url" />;
|
||||
sha1 = "<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:checksum[@type='sha1']" />";
|
||||
};
|
||||
};
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
@ -1,3 +1,26 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
xsltproc generate-sysimages.xsl repository-8.xml > sysimages.nix
|
||||
cat > sysimages.nix << "EOF"
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildSystemImage = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
EOF
|
||||
|
||||
xsltproc generate-sysimages.xsl repository-8.xml >> sysimages.nix
|
||||
xsltproc --stringparam abi x86 generate-sysimages-others.xsl sys-img-x86.xml >> sysimages.nix
|
||||
xsltproc --stringparam abi mips generate-sysimages-others.xsl sys-img-mips.xml >> sysimages.nix
|
||||
|
||||
cat >> sysimages.nix << "EOF"
|
||||
}
|
||||
EOF
|
||||
|
@ -7,22 +7,8 @@
|
||||
<xsl:output omit-xml-declaration="yes" indent="no" />
|
||||
|
||||
<xsl:template match="/sdk:sdk-repository">
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildSystemImage = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
cd $out
|
||||
unzip $src
|
||||
'';
|
||||
});
|
||||
in
|
||||
{
|
||||
<xsl:for-each select="sdk:system-image">
|
||||
sysimg_<xsl:value-of select="sdk:api-level" /> = buildSystemImage {
|
||||
sysimg_<xsl:value-of select="sdk:abi" />_<xsl:value-of select="sdk:api-level" /> = buildSystemImage {
|
||||
name = "<xsl:value-of select="sdk:abi" />-<xsl:value-of select="sdk:api-level" />";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/<xsl:value-of select="sdk:archives/sdk:archive[@os='any']/sdk:url" />;
|
||||
@ -30,7 +16,5 @@ in
|
||||
};
|
||||
};
|
||||
</xsl:for-each>
|
||||
}
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
132
pkgs/development/mobile/androidenv/sys-img-mips.xml
Normal file
132
pkgs/development/mobile/androidenv/sys-img-mips.xml
Normal file
@ -0,0 +1,132 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!--
|
||||
* Copyright (C) 2012 The Android Open Source Project
|
||||
*
|
||||
* Licensed under the Apache License, version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
-->
|
||||
<sdk:sdk-sys-img xmlns:sdk="http://schemas.android.com/sdk/android/sys-img/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="mips-android-sysimage-license" type="text">
|
||||
<![CDATA[
|
||||
MIPS Technologies, Inc. (“MIPS”) Internal Evaluation License Agreement for MIPS Android™ System Images for Android Software Development Kit (SDK):
|
||||
This Internal Evaluation License Agreement (this "Agreement") is entered into by and between MIPS and you (as an individual developer or a legal entity -- identified below as “Recipient”). MIPS shall make the Evaluation Software available to Recipient as described in accordance with the terms and conditions set forth below.
|
||||
|
||||
By clicking on the “Accept” button, downloading, installing, or otherwise using the Evaluation Materials (defined below), you agree to be bound by the terms of this Agreement effective as of the date you click “Accept” (the “Effective Date”), and if doing so on behalf of an entity, you represent that you are authorized to bind the entity to the terms and conditions of this Agreement. If you do not agree to be bound by the terms and conditions of this Agreement, do not download, install, or use the Evaluation Materials.
|
||||
|
||||
1. DEFINITIONS. These terms shall have the following meanings:
|
||||
|
||||
1.1 “MIPS” shall mean MIPS Technologies, Inc., a Delaware corporation having a principal place of business at: 955 East Arques Ave., Sunnyvale, CA 94085
|
||||
|
||||
1.2 “Evaluation Software” shall mean MIPS Android™ emulator system images for Android Software Development Kit (SDK), as made available to Recipient.
|
||||
|
||||
1.3 “Evaluation Materials" means, collectively, the Evaluation Software (in source and/or object code form) and documentation (including, without limitation, any design documents, specifications, reference manuals, and other related materials) related to the Evaluation Software as made available to Recipient.
|
||||
|
||||
1.4 “Open Source Software” means any software that requires (as a condition of use, modification and/or distribution of such software) that such software or other software incorporated into, derived from or distributed with such software (a) be disclosed or distributed in source code form; or (b) be licensed by the user to third parties for the purpose of making and/or distributing derivative works; or (c) be redistributable at no charge. Open Source Software includes, without limitation, software licensed or distributed under any of the following licenses or distribution models, or licenses or distribution models substantially similar to any of the following: (a) GNU’s General Public License (GPL) or Lesser/Library GPL (LGPL), (b) the Artistic License (e.g., PERL), (c) the Mozilla Public License, (d) the Netscape Public License, (e) the Sun Community Source License (SCSL), (f) the Sun Industry Source License (SISL), (g) the Apache Software license and (h) the Common Public License (CPL).
|
||||
|
||||
1.5 “Pre-Release Materials” means “alpha” or “beta” designated pre-release features, which may not be fully functional, which MIPS may substantially modify in producing any production version of the Evaluation Materials, and/or which is still under development by MIPS and/or MIPS’ suppliers.
|
||||
|
||||
2. PURPOSE. MIPS desires to make the Evaluation Materials available to Recipient solely for Recipient's internal evaluation of the Evaluation Software to evaluate the desirability of cooperating with MIPS in developing products that are compatible with the Evaluation Software and/or to advise MIPS as to possible modifications to the Evaluation Software. Recipient may not disclose, distribute, modify (except to facilitate the above-mentioned internal evaluation), or make commercial use of the Evaluation Materials or any modifications of the Evaluation Materials.
|
||||
|
||||
THE EVALUATION MATERIALS ARE PROVIDED FOR EVALUATION PURPOSES ONLY AND MAY NOT BE MODIFIED (EXCEPT TO FACILITATE THE INTERNAL EVALUATION) OR DISTRIBUTED BY RECIPIENT OR INCORPORATED INTO RECIPIENT’S PRODUCTS OR SOFTWARE. PLEASE CONTACT A MIPS SALES REPRESENTATIVE TO LEARN ABOUT THE AVAILABILITY AND COST OF A COMMERCIAL VERSION OF THE EVALUATION SOFTWARE.
|
||||
|
||||
3. TITLE. Title to the Evaluation Materials remains with MIPS or its suppliers. Recipient shall not mortgage, pledge or encumber the Evaluation Materials in any way. Recipient shall return all Evaluation Materials, keeping no copies, upon termination or expiration of this Agreement.
|
||||
|
||||
4. LICENSE. MIPS grants Recipient a royalty-free, personal, nontransferable, nonexclusive license under its copyrights to use the Evaluation Software only for the purposes described in paragraph 2 above and only for a period beginning on the Effective Date and extending to the first anniversary of the Effective Date (the “Evaluation Period”). Unless otherwise communicated in writing by MIPS to Recipient, to the extent the Evaluation Software is provided in more than one delivery or release (each, a “Release”) the license grant in this Section 4 and the Evaluation Period shall apply to each Release, in which case the Evaluation Period shall begin on the date that the Release is made generally available and continue to the first anniversary of such date. Recipient may not make modifications to the Evaluation Software. Recipient shall not disassemble, reverse-engineer, or decompile any software that is not provided to Recipient in source code form.
|
||||
|
||||
|
||||
EXCEPT AS PROVIDED HEREIN, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY OTHER MIPS INTELLECTUAL PROPERTY RIGHTS IS GRANTED TO THE RECIPIENT. OTHER THAN AS EXPLICITLY SET FORTH IN PARAGRAPH 2 ABOVE, NO RIGHT TO COPY, TO REPRODUCE, TO MODIFY, OR TO CREATE DERIVATIVE WORKS OF, THE EVALUATION MATERIALS IS GRANTED HEREIN.
|
||||
|
||||
5. NO OBLIGATION. Recipient shall have no duty to purchase or license any product from MIPS. MIPS and its suppliers shall have no obligation to provide support for, or develop a non-evaluation version of, the Evaluation Software or to license any version of it.
|
||||
|
||||
6. MODIFICATIONS. This Agreement does not obligate Recipient to provide MIPS with comments or suggestions regarding Evaluation Materials. However, should Recipient provide MIPS with comments or suggestions for the modification, correction, improvement or enhancement of (a) the Evaluation Materials or (b) MIPS products or processes which may embody the Evaluation Materials, then Recipient agrees to grant and hereby grants to MIPS a non-exclusive, irrevocable, worldwide, fully paid-up, royalty-free license, with the right to sublicense MIPS’ licensees and customers, under Recipient’s Intellectual property rights, to use and disclose such comments and suggestions in any manner MIPS chooses and to display, perform, copy, make, have made, use, sell, offer to sell, import, and otherwise dispose of MIPS’ and its sublicensee’s products embodying such comments and suggestions in any manner and via any media MIPS chooses, without reference to the source.
|
||||
|
||||
7. WARRANTY DISCLAIMER. MIPS AND ITS SUPPLIERS MAKE NO WARRANTIES WITH RESPECT TO EVALUATION MATERIALS, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY IMPLIED WARRANTY OF NONINFRINGEMENT WITH RESPECT TO THIRD PARTY INTELLECTUAL PROPERTY. RECIPIENT ACKNOWLEDGES AND AGREES THAT THE EVALUATION MATERIALS ARE PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND.
|
||||
|
||||
8. LIMITATION OF LIABILITY. MIPS AND ITS SUPPLIERS SHALL NOT BE LIABLE FOR ANY PROPERTY DAMAGE, PERSONAL INJURY, LOSS OF PROFITS, INTERRUPTION OF BUSINESS OR FOR ANY DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES, HOWEVER CAUSED OR ALLEGED, WHETHER FOR BREACH OF WARRANTY, CONTRACT, STRICT LIABILITY OR OTHERWISE, INCLUDING WITHOUT LIMITATION, UNDER TORT OR OTHER LEGAL THEORY. MIPS AND ITS SUPPLIERS DISCLAIM ANY AND ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS OF ANY KIND RELATING TO THE EVALUATION MATERIALS.
|
||||
|
||||
9. EXPIRATION. MIPS may terminate this Agreement immediately after a breach by Recipient or otherwise at MIPS’ reasonable discretion and upon five (5) business days’ notice to Recipient.
|
||||
|
||||
10. GENERAL.
|
||||
|
||||
10.1 Controlling Law. This Agreement shall be governed by California law excluding its choice of law rules. With the exception of MIPS’ rights to enforce its intellectual property rights and any confidentiality obligations under this Agreement or any licenses distributed with the Evaluation Materials, all disputes and any claims arising under or relating to this Agreement shall be subject to the exclusive jurisdiction and venue of the state and federal courts located in Santa Clara County, California. Each party hereby agrees to jurisdiction and venue in the courts set forth in the preceding sentence. The parties agree that the United Nations Convention on Contracts for the International Sale of Goods is specifically excluded from application to this Agreement. The parties consent to the personal jurisdiction of the above courts.
|
||||
|
||||
10.2 Remedies. Recipient acknowledges and agrees that any breach of confidentiality obligations under this Agreement or any licenses distributed with the Evaluation Materials, as well as any disclosure, commercialization, or public use of the Evaluation Materials, would cause irreparable injury to MIPS, and therefore Recipient agrees to consent to, and hereby consents to, the grant of an injunction by any court of competent jurisdiction in the event of an actual or threatened breach.
|
||||
|
||||
10.3 Assignment. Recipient may not delegate, assign or transfer this Agreement, the license granted or any of Recipient’s rights, obligations, or duties hereunder, expressly, by implication, by operation of law, by way of merger (regardless of whether Recipient is the surviving entity) or acquisition, or otherwise and any attempt to do so, without MIPS’ express prior written consent, shall be ineffective, null and void. MIPS may freely assign this Agreement, and its rights and obligations hereunder, in its sole discretion.
|
||||
|
||||
10.4 Entire Agreement. This Agreement constitutes the entire agreement between Recipient and MIPS and supersedes in their entirety any and all oral or written agreements previously existing between Recipient and MIPS with respect to the subject matter hereof. This Agreement may only be amended or supplemented by a writing that refers explicitly to this Agreement and that is signed or otherwise accepted by duly authorized representatives of Recipient and MIPS.
|
||||
|
||||
10.5 Severability. In the event that any provision of this Agreement is finally adjudicated to be unenforceable or invalid under any applicable law, such unenforceability or invalidity shall not render this Agreement unenforceable or invalid as a whole, and, in such event, such unenforceable or invalid provision shall be interpreted so as to best accomplish the objectives of such provision within the limits of applicable law or applicable court decisions.
|
||||
|
||||
10.6 Export Regulations / Export Control. Recipient shall not export, either directly or indirectly, any product, service or technical data or system incorporating the Evaluation Materials without first obtaining any required license or other necessary approval from the U.S. Department of Commerce or any other governing agency or department of the United States Government. In the event any product is exported from the United States or re-exported from a foreign destination by Recipient, Recipient shall ensure that the distribution and export/re-export or import of the product is in compliance with all applicable laws, regulations, orders, or other restrictions of the U.S. Export Administration Regulations and the appropriate foreign government. Recipient agrees that neither it nor any of its subsidiaries will export/re-export any technical data, process, product, or service, directly or indirectly, to any country for which the United States government or any agency thereof or the foreign government from where it is shipping requires an export license, or other governmental approval, without first obtaining such license or approval. Recipient also agrees to implement measures to ensure that foreign national employees are authorized to receive any information controlled by U.S. export control laws. An export is "deemed" to take place when information is released to a foreign national wherever located.
|
||||
|
||||
10.7 Special Terms for Pre-Release Materials. If so indicated in the description of the Evaluation Software, the Evaluation Software may contain Pre-Release Materials. Recipient hereby understands, acknowledges and agrees that: (i) Pre-Release Materials may not be fully tested and may contain bugs or errors; (ii) Pre-Release materials are not suitable for commercial release in their current state; (iii) regulatory approvals for Pre-Release Materials (such as UL or FCC) have not been obtained, and Pre-Release Materials may therefore not be certified for use in certain countries or environments or may not be suitable for certain applications and (iv) MIPS can provide no assurance that it will ever produce or make generally available a production version of the Pre-Release Materials . MIPS is not under any obligation to develop and/or release or offer for sale or license a final product based upon the Pre-Release Materials and may unilaterally elect to abandon the Pre-Release Materials or any such development platform at any time and without any obligation or liability whatsoever to Recipient or any other person.
|
||||
|
||||
ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED “AS IS” AND “AS AVAILABLE”, POSSIBLY WITH FAULTS, AND WITHOUT REPRESENTATION OR WARRANTY OF ANY KIND.
|
||||
|
||||
10.8 Open Source Software. In the event Open Source software is included with Evaluation Software, such Open Source software is licensed pursuant to the applicable Open Source software license agreement identified in the Open Source software comments in the applicable source code file(s) and/or file header as indicated in the Evaluation Software. Additional detail may be available (where applicable) in the accompanying on-line documentation. With respect to the Open Source software, nothing in this Agreement limits any rights under, or grants rights that supersede, the terms of any applicable Open Source software license agreement.
|
||||
]]>
|
||||
</sdk:license>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:description>Android 4.0.4</sdk:description>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:abi>mips</sdk:abi>
|
||||
<sdk:uses-license ref="mips-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>117503178</sdk:size>
|
||||
<sdk:checksum type="sha1">a753bb4a6783124dad726c500ce9aec9d2c1b2d9</sdk:checksum>
|
||||
<sdk:url>sysimg_mips-15_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:revision>4</sdk:revision>
|
||||
<!-- mipsia repo tag qa-dev-mips-jb-20130123,
|
||||
github.com/MIPS branch dev-mips-jb, tag mips-jb-4.1.2_r1m1
|
||||
repo init -u git://github.com/MIPS/manifests.git
|
||||
-b dev-mips-jb -m mips-jb-4.1.2_r1m1.xml -->
|
||||
<sdk:description>Android 4.1.2</sdk:description>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:abi>mips</sdk:abi>
|
||||
<sdk:uses-license ref="mips-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>122482530</sdk:size>
|
||||
<sdk:checksum type="sha1">67943c54fb3943943ffeb05fdd39c0b753681f6e</sdk:checksum>
|
||||
<sdk:url>sysimg_mips-16_r04.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<!-- mipsia repo tag qa-dev-mips-jb-mr1-20121219,
|
||||
github.com/MIPS tag mips-jb-4.2.1_r1 -->
|
||||
<sdk:description>Android 4.2.1</sdk:description>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:abi>mips</sdk:abi>
|
||||
<sdk:uses-license ref="mips-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive os="any">
|
||||
<sdk:size>131781761</sdk:size>
|
||||
<sdk:checksum type="sha1">f0c6e153bd584c29e51b5c9723cfbf30f996a05d</sdk:checksum>
|
||||
<sdk:url>sysimg_mips-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
</sdk:sdk-sys-img>
|
139
pkgs/development/mobile/androidenv/sys-img-x86.xml
Normal file
139
pkgs/development/mobile/androidenv/sys-img-x86.xml
Normal file
@ -0,0 +1,139 @@
|
||||
<!--
|
||||
* Copyright (C) 2012 The Android Open Source Project * * Licensed under the Apache License, version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License.
|
||||
-->
|
||||
<sdk:sdk-sys-img xmlns:sdk="http://schemas.android.com/sdk/android/sys-img/1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
|
||||
<sdk:license id="intel-android-sysimage-license" type="text">
|
||||
<![CDATA[
|
||||
Intel Corporation Internal Evaluation License Agreement for x86 Android* System Images for Android Software Development Kit (SDK)
|
||||
This Internal Evaluation License Agreement (this "Agreement") is entered into by and between Intel and you (as an individual developer or a legal entity -- identified below as Recipient). Intel shall provide the Evaluation Software to Recipient as described in accordance with the Internal Evaluation License Terms and Conditions.
|
||||
|
||||
Definitions.
|
||||
These terms shall have the following meanings:
|
||||
|
||||
"Intel" or "INTEL"
|
||||
Intel Corporation
|
||||
With an Address of:
|
||||
2200 Mission College Blvd.
|
||||
Santa Clara, CA 95052
|
||||
Office of the General Counsel
|
||||
Mail Stop: RNB-4-51
|
||||
Attn: Software and Services Group Legal
|
||||
|
||||
"Evaluation Software"
|
||||
The x86 Android* emulator system images for Android Software Development Kit (SDK), as provided by Intel.
|
||||
|
||||
INTERNAL EVALUATION LICENSE TERMS AND CONDITIONS
|
||||
|
||||
1. DEFINITIONS.
|
||||
|
||||
1.1 Additional Defined Terms. "Agreement", "Evaluation Software", "Intel", "Non-disclosure Agreement", "Recipient", and "Effective Date" shall have the meanings ascribed to them on the signature page(s) of this Agreement.
|
||||
|
||||
1.2 Evaluation Materials means, collectively, the Evaluation Software (in source and/or object code form) and documentation (including, without limitation, any design documents, specifications and other related materials) related to the Evaluation Software.
|
||||
|
||||
1.3 "Open Source Software" means any software that requires as a condition of use, modification and/or distribution of such software that such software or other software incorporated into, derived from or distributed with such software (a) be disclosed or distributed in source code form; or (b) be licensed by the user to third parties for the purpose of making and/or distributing derivative works; or (c) be redistributable at no charge. Open Source Software includes, without limitation, software licensed or distributed under any of the following licenses or distribution models, or licenses or distribution models substantially similar to any of the following: (a) GNUs General Public License (GPL) or Lesser/Library GPL (LGPL), (b) the Artistic License (e.g., PERL), (c) the Mozilla Public License, (d) the Netscape Public License, (e) the Sun Community Source License (SCSL), (f) the Sun Industry Source License (SISL), (g) the Apache Software license and (h) the Common Public License (CPL).
|
||||
|
||||
1.4 "Pre-Release Materials" means "alpha" or "beta" designated pre-release features, which may not be fully functional, which Intel may substantially modify in producing any production version of the Evaluation Materials and/or is still under development by Intel and/or Intels suppliers.
|
||||
|
||||
2. PURPOSE. Intel desires to provide the Evaluation Materials to Recipient solely for Recipient's internal evaluation of the Evaluation Software and other Intel products, to evaluate the desirability of cooperating with Intel in developing products based on the Evaluation Software and/or to advise Intel as to possible modifications to the Evaluation Software. Recipient may not disclose, distribute or make commercial use of the Evaluation Materials or any modifications to the Evaluation Materials.
|
||||
THE EVALUATION MATERIALS ARE PROVIDED FOR EVALUATION PURPOSES ONLY AND MAY NOT BE DISTRIBUTED BY RECIPIENT OR INCORPORATED INTO RECIPIENTS PRODUCTS OR SOFTWARE. PLEASE CONTACT AN INTEL SALES REPRESENTATIVE TO LEARN ABOUT THE AVAILABILITY AND COST OF A COMMERICAL VERSION OF THE EVALUATION SOFTWARE.
|
||||
|
||||
3. TITLE. Title to the Evaluation Materials remains with Intel or its suppliers. Recipient shall not mortgage, pledge or encumber the Evaluation Materials in any way. Recipient shall return all Evaluation Materials, keeping no copies, upon termination or expiration of this Agreement.
|
||||
|
||||
4. LICENSE. Intel grants Recipient a royalty-free, personal, nontransferable, nonexclusive license under its copyrights to use the Evaluation Software only for the purposes described in paragraph 2 above. Unless otherwise communicated in writing by Intel to Recipient, to the extent the Evaluation Software is provided in more than one delivery or release (each, a "Release") the license grant in this Section 4 and the Evaluation Period shall apply to each Release. Recipient may not make modifications to the Evaluation Software. Recipient shall not disassemble, reverse-engineer, or decompile any software not provided to Recipient in source code form.
|
||||
EXCEPT AS PROVIDED HEREIN, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, TO ANY OTHER INTELLECTUAL PROPERTY RIGHTS IS GRANTED TO THE RECIPIENT.
|
||||
|
||||
5. NO OBLIGATION. Recipient shall have no duty to purchase or license any product from Intel. Intel and its suppliers shall have no obligation to provide support for, or develop a non-evaluation version of, the Evaluation Software or to license any version of it.
|
||||
|
||||
6. MODIFICATIONS. This Agreement does NOT obligate Recipient to provide Intel with comments or suggestions regarding Evaluation Materials. However, should Recipient provide Intel with comments or suggestions for the modification, correction, improvement or enhancement of (a) the Evaluation Materials or (b) Intel products or processes which may embody the Evaluation Materials, Recipient grants to Intel a non-exclusive, irrevocable, worldwide, royalty-free license, with the right to sublicense Intels licensees and customers, under Recipient intellectual property rights, the rights to use and disclose such comments and suggestions in any manner Intel chooses and to display, perform, copy, make, have made, use, sell, offer to sell, import, and otherwise dispose of Intels and its sublicensees products embodying such comments and suggestions in any manner and via any media Intel chooses, without reference to the source.
|
||||
|
||||
7. WARRANTY DISCLAIMER. INTEL AND ITS SUPPLIERS MAKE NO WARRANTIES WITH RESPECT TO EVALUATION MATERIALS, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, OR ANY IMPLIED WARRANTY OF NONINFRINGEMENT. THE EVALUATION MATERIALS ARE PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND.
|
||||
|
||||
8. LIMITATION OF LIABILITY. INTEL AND ITS SUPPLIERS SHALL NOT BE LIABLE FOR ANY PROPERTY DAMAGE, PERSONAL INJURY, LOSS OF PROFITS, INTERRUPTION OF BUSINESS OR ANY SPECIAL, CONSEQUENTIAL OR INCIDENTAL DAMAGES, HOWEVER CAUSED, WHETHER FOR BREACH OF WARRANTY, CONTRACT, STRICT LIABILITY OR OTHERWISE. INTEL AND ITS SUPPLIERS DISCLAIM ALL LIABILITY, INCLUDING LIABILITY FOR INFRINGEMENT OF ANY INTELLECTUAL PROPERTY RIGHTS RELATING TO THE EVALUATION MATERIALS.
|
||||
|
||||
9. EXPIRATION. Intel may terminate this Agreement immediately after a breach by Recipient.
|
||||
|
||||
10. GENERAL.
|
||||
|
||||
10.1 Controlling Law. Any claims arising under or relating to this Agreement shall be governed by the internal substantive laws of the State of Delaware or federal courts located in Delaware, without regard to principles of conflict of laws. Each party hereby agrees to jurisdiction and venue in the courts of the State of Delaware for all disputes and litigation arising under or relating to this Agreement. The parties agree that the United Nations Convention on Contracts for the International Sale of Goods is specifically excluded from application to this Agreement. The parties consent to the personal jurisdiction of the above courts.
|
||||
|
||||
10.2 Remedies. Recipient acknowledges that any disclosure, commercialization, or public use of the Evaluation Materials would cause irreparable injury to Intel and consents to the grant of an injunction by any court of competent jurisdiction in the event of a threatened breach.
|
||||
|
||||
10.3 Assignment. Recipient may not delegate, assign or transfer this Agreement, the license granted or any of Recipients rights or duties hereunder, expressly, by implication, by operation of law, by way of merger (regardless of whether Recipient is the surviving entity) or acquisition, or otherwise and any attempt to do so, without Intels express prior written consent, shall be null and void. Intel may assign this Agreement, and its rights and obligations hereunder, in its sole discretion.
|
||||
|
||||
10.4 Entire Agreement. This Agreement constitutes the entire agreement between Recipient and Intel and supersedes in their entirety any and all oral or written agreements previously existing between Recipient and Intel with respect to the subject matter hereof. This Agreement supersedes any and all "click-to-accept" or shrink-wrapped licenses, in hard-copy or electronic form, embedded in or included with the Evaluation Materials. This Agreement may only be amended or supplemented by a writing that refers explicitly to this Agreement and that is signed by duly authorized representatives of Recipient and Intel. Without limiting the foregoing, terms and conditions on any purchase orders or similar materials submitted by Recipient to Intel, and any terms contained in Intels standard acknowledgment form that are in conflict with these terms, shall be of no force or effect.
|
||||
|
||||
10.5 Severability. In the event that any provision of this Agreement shall be unenforceable or invalid under any applicable law or be so held by applicable court decision, such unenforceability or invalidity shall not render this Agreement unenforceable or invalid as a whole, and, in such event, such provision shall be changed and interpreted so as to best accomplish the objectives of such unenforceable or invalid provision within the limits of applicable law or applicable court decisions.
|
||||
|
||||
10.6 Export Regulations / Export Control. Recipient shall not export, either directly or indirectly, any product, service or technical data or system incorporating the Evaluation Materials without first obtaining any required license or other approval from the U.S. Department of Commerce or any other agency or department of the United States Government. In the event any product is exported from the United States or re-exported from a foreign destination by Recipient, Recipient shall ensure that the distribution and export/re-export or import of the product is in compliance with all laws, regulations, orders, or other restrictions of the U.S. Export Administration Regulations and the appropriate foreign government. Recipient agrees that neither it nor any of its subsidiaries will export/re-export any technical data, process, product, or service, directly or indirectly, to any country for which the United States government or any agency thereof or the foreign government from where it is shipping requires an export license, or other governmental approval, without first obtaining such license or approval. Recipient also agrees to implement measures to ensure that foreign national employees are authorized to receive any information controlled by U.S. export control laws. An export is "deemed" to take place when information is released to a foreign national wherever located.
|
||||
|
||||
10.7 Special Terms for Pre-Release Materials. If so indicated in the description of the Evaluation Software, the Evaluation Software may contain Pre-Release Materials. Recipient hereby understands, acknowledges and agrees that: (i) Pre-Release Materials may not be fully tested and may contain bugs or errors; (ii) Pre-Release materials are not suitable for commercial release in their current state; (iii) regulatory approvals for Pre-Release Materials (such as UL or FCC) have not been obtained, and Pre-Release Materials may therefore not be certified for use in certain countries or environments and (iv) Intel can provide no assurance that it will ever produce or make generally available a production version of the Pre-Release Materials . Intel is not under any obligation to develop and/or release or offer for sale or license a final product based upon the Pre-Release Materials and may unilaterally elect to abandon the Pre-Release Materials or any such development platform at any time and without any obligation or liability whatsoever to Recipient or any other person.
|
||||
|
||||
10.8 Open Source Software. In the event Open Source software is included with Evaluation Software, such Open Source software is licensed pursuant to the applicable Open Source software license agreement identified in the Open Source software comments in the applicable source code file(s) and/or file header provided with Evaluation Software. Additional detail may be provided (where applicable) in the accompanying on-line documentation. With respect to the Open Source software, nothing in this Agreement limits any rights under, or grants rights that supersede, the terms of any applicable Open Source software license agreement.
|
||||
ANY PRE-RELEASE MATERIALS ARE NON-QUALIFIED AND, AS SUCH, ARE PROVIDED POSSIBLY WITH FAULTS
|
||||
]]>
|
||||
</sdk:license>
|
||||
|
||||
<!-- SYSTEM IMAGES ........................ -->
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:description>Android SDK Platform 2.3.7</sdk:description>
|
||||
<sdk:revision>2</sdk:revision>
|
||||
<sdk:api-level>10</sdk:api-level>
|
||||
<sdk:abi>x86</sdk:abi>
|
||||
<sdk:uses-license ref="intel-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>55463895</sdk:size>
|
||||
<sdk:checksum type="sha1">34e2436f69606cdfe35d3ef9112f0c64e3ff021d</sdk:checksum>
|
||||
<sdk:url>sysimg_x86-10_r02.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:description>Android SDK Platform 4.0.4</sdk:description>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>15</sdk:api-level>
|
||||
<sdk:abi>x86</sdk:abi>
|
||||
<sdk:uses-license ref="intel-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>112619605</sdk:size>
|
||||
<sdk:checksum type="sha1">d540325952e0f097509622b9e685737584b83e40</sdk:checksum>
|
||||
<sdk:url>sysimg_x86-15_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:description>Android SDK Platform 4.1.1</sdk:description>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>16</sdk:api-level>
|
||||
<sdk:abi>x86</sdk:abi>
|
||||
<sdk:uses-license ref="intel-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>131840348</sdk:size>
|
||||
<sdk:checksum type="sha1">9d35bcaa4f9b40443941f32b8a50337f413c021a</sdk:checksum>
|
||||
<sdk:url>sysimg_x86-16_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
<sdk:system-image>
|
||||
<sdk:description>Android SDK Platform 4.2</sdk:description>
|
||||
<sdk:revision>1</sdk:revision>
|
||||
<sdk:api-level>17</sdk:api-level>
|
||||
<sdk:abi>x86</sdk:abi>
|
||||
<sdk:uses-license ref="intel-android-sysimage-license"/>
|
||||
<sdk:archives>
|
||||
<sdk:archive arch="any" os="any">
|
||||
<sdk:size>138799122</sdk:size>
|
||||
<sdk:checksum type="sha1">ddb3313e8dcd07926003f7b828eafea1115ea35b</sdk:checksum>
|
||||
<sdk:url>sysimg_x86-17_r01.zip</sdk:url>
|
||||
</sdk:archive>
|
||||
</sdk:archives>
|
||||
</sdk:system-image>
|
||||
|
||||
</sdk:sdk-sys-img>
|
@ -1,9 +1,8 @@
|
||||
|
||||
{stdenv, fetchurl, unzip}:
|
||||
|
||||
let
|
||||
buildSystemImage = args:
|
||||
stdenv.mkDerivation (args // {
|
||||
stdenv.mkDerivation (args // {
|
||||
buildInputs = [ unzip ];
|
||||
buildCommand = ''
|
||||
mkdir -p $out
|
||||
@ -13,8 +12,8 @@ let
|
||||
});
|
||||
in
|
||||
{
|
||||
|
||||
sysimg_14 = buildSystemImage {
|
||||
|
||||
sysimg_armeabi-v7a_14 = buildSystemImage {
|
||||
name = "armeabi-v7a-14";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-14_r02.zip;
|
||||
@ -22,7 +21,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_15 = buildSystemImage {
|
||||
sysimg_armeabi-v7a_15 = buildSystemImage {
|
||||
name = "armeabi-v7a-15";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-15_r02.zip;
|
||||
@ -30,7 +29,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_16 = buildSystemImage {
|
||||
sysimg_armeabi-v7a_16 = buildSystemImage {
|
||||
name = "armeabi-v7a-16";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-16_r03.zip;
|
||||
@ -38,7 +37,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_17 = buildSystemImage {
|
||||
sysimg_armeabi-v7a_17 = buildSystemImage {
|
||||
name = "armeabi-v7a-17";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-17_r02.zip;
|
||||
@ -46,7 +45,7 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_18 = buildSystemImage {
|
||||
sysimg_armeabi-v7a_18 = buildSystemImage {
|
||||
name = "armeabi-v7a-18";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sysimg_armv7a-18_r01.zip;
|
||||
@ -54,5 +53,59 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
sysimg_x86_10 = buildSystemImage {
|
||||
name = "x86-10";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-10_r02.zip;
|
||||
sha1 = "34e2436f69606cdfe35d3ef9112f0c64e3ff021d";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_x86_15 = buildSystemImage {
|
||||
name = "x86-15";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-15_r01.zip;
|
||||
sha1 = "d540325952e0f097509622b9e685737584b83e40";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_x86_16 = buildSystemImage {
|
||||
name = "x86-16";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-16_r01.zip;
|
||||
sha1 = "9d35bcaa4f9b40443941f32b8a50337f413c021a";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_x86_17 = buildSystemImage {
|
||||
name = "x86-17";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/x86/sysimg_x86-17_r01.zip;
|
||||
sha1 = "ddb3313e8dcd07926003f7b828eafea1115ea35b";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_mips_15 = buildSystemImage {
|
||||
name = "mips-15";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-15_r01.zip;
|
||||
sha1 = "a753bb4a6783124dad726c500ce9aec9d2c1b2d9";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_mips_16 = buildSystemImage {
|
||||
name = "mips-16";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-16_r04.zip;
|
||||
sha1 = "67943c54fb3943943ffeb05fdd39c0b753681f6e";
|
||||
};
|
||||
};
|
||||
|
||||
sysimg_mips_17 = buildSystemImage {
|
||||
name = "mips-17";
|
||||
src = fetchurl {
|
||||
url = https://dl-ssl.google.com/android/repository/sys-img/mips/sysimg_mips-17_r01.zip;
|
||||
sha1 = "f0c6e153bd584c29e51b5c9723cfbf30f996a05d";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user