2019-02-03 16:33:21 +01:00
|
|
|
{ config, pkgs ? import <nixpkgs> {}
|
2018-11-27 20:36:27 +01:00
|
|
|
, pkgs_i686 ? import <nixpkgs> { system = "i686-linux"; }
|
2019-02-03 16:33:21 +01:00
|
|
|
, licenseAccepted ? config.android_sdk.accept_license or false
|
2018-02-21 00:31:16 +01:00
|
|
|
}:
|
2012-11-07 21:10:39 +01:00
|
|
|
|
|
|
|
rec {
|
2018-11-27 20:36:27 +01:00
|
|
|
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;
|
2015-03-03 15:08:53 +01:00
|
|
|
};
|
2018-02-21 03:34:29 +01:00
|
|
|
|
2012-11-07 21:10:39 +01:00
|
|
|
buildApp = import ./build-app.nix {
|
2018-11-27 20:36:27 +01:00
|
|
|
inherit (pkgs) stdenv jdk ant gnumake gawk;
|
|
|
|
inherit composeAndroidPackages;
|
2012-11-07 21:10:39 +01:00
|
|
|
};
|
2018-02-21 03:34:29 +01:00
|
|
|
|
2012-11-07 21:10:39 +01:00
|
|
|
emulateApp = import ./emulate-app.nix {
|
|
|
|
inherit (pkgs) stdenv;
|
2018-11-27 20:36:27 +01:00
|
|
|
inherit composeAndroidPackages;
|
2012-11-07 21:10:39 +01:00
|
|
|
};
|
2017-02-17 06:36:10 +01:00
|
|
|
|
2018-11-27 20:36:27 +01:00
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
|
|
platformVersions = [ "28" ];
|
|
|
|
abiVersions = [ "x86" "x86_64"];
|
2017-05-16 21:27:27 +02:00
|
|
|
};
|
2012-11-07 21:10:39 +01:00
|
|
|
}
|