2020-09-08 13:49:39 +00:00
|
|
|
{ config, pkgs ? import <nixpkgs> {}, pkgsHostHost ? pkgs.pkgsHostHost
|
2018-11-27 19:36:27 +00:00
|
|
|
, pkgs_i686 ? import <nixpkgs> { system = "i686-linux"; }
|
2019-02-03 15:33:21 +00:00
|
|
|
, licenseAccepted ? config.android_sdk.accept_license or false
|
2018-02-20 23:31:16 +00:00
|
|
|
}:
|
2012-11-07 20:10:39 +00:00
|
|
|
|
|
|
|
rec {
|
2018-11-27 19:36:27 +00:00
|
|
|
composeAndroidPackages = import ./compose-android-packages.nix {
|
2019-06-16 19:59:06 +00:00
|
|
|
inherit (pkgs) requireFile autoPatchelfHook;
|
2020-09-08 13:49:39 +00:00
|
|
|
inherit pkgs pkgsHostHost pkgs_i686 licenseAccepted;
|
2015-03-03 14:08:53 +00:00
|
|
|
};
|
2018-02-21 02:34:29 +00:00
|
|
|
|
2012-11-07 20:10:39 +00:00
|
|
|
buildApp = import ./build-app.nix {
|
2019-08-17 08:48:09 +00:00
|
|
|
inherit (pkgs) stdenv lib jdk ant gnumake gawk;
|
2018-11-27 19:36:27 +00:00
|
|
|
inherit composeAndroidPackages;
|
2012-11-07 20:10:39 +00:00
|
|
|
};
|
2018-02-21 02:34:29 +00:00
|
|
|
|
2012-11-07 20:10:39 +00:00
|
|
|
emulateApp = import ./emulate-app.nix {
|
2020-03-08 10:51:05 +00:00
|
|
|
inherit (pkgs) stdenv lib runtimeShell;
|
2018-11-27 19:36:27 +00:00
|
|
|
inherit composeAndroidPackages;
|
2012-11-07 20:10:39 +00:00
|
|
|
};
|
2017-02-17 05:36:10 +00:00
|
|
|
|
2018-11-27 19:36:27 +00:00
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
|
|
platformVersions = [ "28" ];
|
|
|
|
abiVersions = [ "x86" "x86_64"];
|
2017-05-16 19:27:27 +00:00
|
|
|
};
|
2012-11-07 20:10:39 +00:00
|
|
|
}
|