Now x86 and mips images from external repositories are supported + added GPU option to the emulate function

This commit is contained in:
Sander van der Burg
2013-07-31 18:56:27 +02:00
parent c324091a77
commit 1c8b4c8950
10 changed files with 412 additions and 46 deletions
@@ -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;