nixpkgs/pkgs/development/mobile/androidenv/default.nix

27 lines
729 B
Nix
Raw Normal View History

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