2020-09-25 04:45:31 +00:00
|
|
|
{ config, pkgs ? import <nixpkgs> {}, pkgsHostHost ? pkgs.pkgsHostHost
|
2020-04-24 23:36:52 +00:00
|
|
|
, 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;
|
2020-09-25 04:45:31 +00:00
|
|
|
inherit pkgs pkgsHostHost pkgs_i686 licenseAccepted;
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildApp = import ./build-app.nix {
|
|
|
|
inherit (pkgs) stdenv lib jdk ant gnumake gawk;
|
|
|
|
inherit composeAndroidPackages;
|
|
|
|
};
|
|
|
|
|
|
|
|
emulateApp = import ./emulate-app.nix {
|
2020-08-20 17:08:02 +00:00
|
|
|
inherit (pkgs) stdenv lib runtimeShell;
|
2020-04-24 23:36:52 +00:00
|
|
|
inherit composeAndroidPackages;
|
|
|
|
};
|
|
|
|
|
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
|
|
platformVersions = [ "28" ];
|
|
|
|
abiVersions = [ "x86" "x86_64"];
|
|
|
|
};
|
|
|
|
}
|