8ac5e011d6
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
26 lines
703 B
Nix
26 lines
703 B
Nix
{ 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) requireFile autoPatchelfHook;
|
|
inherit pkgs pkgs_i686 licenseAccepted;
|
|
};
|
|
|
|
buildApp = import ./build-app.nix {
|
|
inherit (pkgs) stdenv lib jdk ant gnumake gawk;
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
emulateApp = import ./emulate-app.nix {
|
|
inherit (pkgs) stdenv lib;
|
|
inherit composeAndroidPackages;
|
|
};
|
|
|
|
androidPkgs_9_0 = composeAndroidPackages {
|
|
platformVersions = [ "28" ];
|
|
abiVersions = [ "x86" "x86_64"];
|
|
};
|
|
}
|