Add buildGradleApp to androidenv

This commit is contained in:
Ali Abrar
2017-05-16 15:27:27 -04:00
committed by Matthew Bauer
parent f431f209d7
commit 62b59e5353
4 changed files with 143 additions and 1 deletions

View File

@@ -23,6 +23,10 @@ rec {
inherit (pkgs) stdenv fetchurl unzip;
};
googleRepository = import ./google-repository.nix {
inherit (pkgs) stdenv fetchurl unzip;
};
platforms = if (pkgs.stdenv.system == "i686-linux" || pkgs.stdenv.system == "x86_64-linux")
then import ./platforms-linux.nix {
inherit (pkgs) stdenv fetchurl unzip;
@@ -50,7 +54,7 @@ rec {
inherit (pkgs) zlib glxinfo freetype fontconfig glib gtk2 atk libGLU_combined file alsaLib jdk coreutils libpulseaudio dbus;
inherit (pkgs.xorg) libX11 libXext libXrender libxcb libXau libXdmcp libXtst xkeyboardconfig;
inherit platformTools buildTools support supportRepository platforms sysimages addons sources includeSources;
inherit platformTools buildTools support supportRepository googleRepository platforms sysimages addons sources includeSources;
stdenv_32bit = pkgs_i686.stdenv;
};
@@ -296,4 +300,9 @@ rec {
androidndk = androidndk_10e;
targetAndroidndkPkgs = targetPackages.androidenv.androidndkPkgs_10e;
};
buildGradleApp = import ./build-gradle-app.nix {
inherit (pkgs) stdenv jdk gnumake gawk file which gradle fetchurl buildEnv;
inherit androidsdk androidndk;
};
}