27 lines
684 B
Nix
27 lines
684 B
Nix
{ pkgs ? import <nixpkgs> {}
|
|
, pkgs_i686 ? import <nixpkgs> { system = "i686-linux"; }
|
|
, licenseAccepted ? false
|
|
}:
|
|
|
|
rec {
|
|
composeAndroidPackages = import ./compose-android-packages.nix {
|
|
inherit (pkgs) stdenv fetchurl requireFile makeWrapper unzip autoPatchelfHook;
|
|
inherit pkgs pkgs_i686 licenseAccepted;
|
|
};
|
|
|
|
buildApp = import ./build-app.nix {
|
|
inherit (pkgs) stdenv jdk ant gnumake gawk;
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
emulateApp = import ./emulate-app.nix {
|
|
inherit (pkgs) stdenv;
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
platformVersions = [ "28" ];
|
|
abiVersions = [ "x86" "x86_64"];
|
|
};
|
|
}
|