vm-tests: build a sample android app offline in the android-dev archetype
This commit is contained in:
parent
f7f8c208b3
commit
36a8b4fa1f
1 changed files with 235 additions and 10 deletions
|
|
@ -31,15 +31,8 @@
|
|||
module =
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
# build-tools 36.1.0 and platform 35: the pair the damocles agent builds
|
||||
# with. No emulator and no system images; they are large, and a build
|
||||
# is run against a device or an emulator elsewhere.
|
||||
sdk = pkgs.androidenv.composeAndroidPackages {
|
||||
buildToolsVersions = [ "36.1.0" ];
|
||||
platformVersions = [ "35" ];
|
||||
includeEmulator = false;
|
||||
includeSystemImages = false;
|
||||
};
|
||||
# Arguments in ./android-sdk-args.nix.
|
||||
sdk = pkgs.androidenv.composeAndroidPackages (import ./android-sdk-args.nix);
|
||||
sdkRoot = "${sdk.androidsdk}/libexec/android-sdk";
|
||||
# The unfree names the SDK needs: each package it is built from and
|
||||
# the archives those fetch. Read off the SDK itself, because the
|
||||
|
|
|
|||
Loading…
Reference in a new issue