3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/mobile/androidenv/default.nix

27 lines
763 B
Nix
Raw Normal View History

{ config, pkgs ? import <nixpkgs> {}, pkgsHostHost ? pkgs.pkgsHostHost
, pkgs_i686 ? import <nixpkgs> { system = "i686-linux"; }
, licenseAccepted ? config.android_sdk.accept_license or false
}:
rec {
composeAndroidPackages = import ./compose-android-packages.nix {
inherit (pkgs) requireFile autoPatchelfHook;
inherit pkgs pkgsHostHost pkgs_i686 licenseAccepted;
};
2018-02-21 02:34:29 +00:00
buildApp = import ./build-app.nix {
inherit (pkgs) stdenv lib jdk ant gnumake gawk;
inherit composeAndroidPackages;
};
2018-02-21 02:34:29 +00:00
emulateApp = import ./emulate-app.nix {
inherit (pkgs) stdenv lib runtimeShell;
inherit composeAndroidPackages;
};
androidPkgs_9_0 = composeAndroidPackages {
platformVersions = [ "28" ];
abiVersions = [ "x86" "x86_64"];
2017-05-16 20:27:27 +01:00
};
}