Mobile shells: a rebuild runs no shell tool

mobile:ios and mobile:android builds of a scratch copy of examples/64-app-native, before and after the change that builds a shell only when one of its inputs changes (commit 0a796e090, merged into perf/build-speed at d68e0d99d).

Old behaviour against new, rest of the build warm (3 repeats)

"Forced" deletes the shell stamp before the build, so the shell tools run as they did on every build before the change.

TargetForced (old: every build)Skipped (new: unchanged shell)
mobile:ios2.58 / 2.56 / 2.64 s1.08 / 1.10 / 1.08 s
mobile:android3.36 / 3.20 / 3.09 s0.94 / 0.94 / 0.94 s

Peak RSS (largest process, /usr/bin/time -l): forced iOS 324 to 330 MB, forced Android 177 to 180 MB, skipped 133 to 135 MB. The skipped iOS app passes codesign -v.

First and second build (one run each)

RunTargetWallShell tools run
first (wasm, backend and shell cold)mobile:ios13.32 syes
second, identicalmobile:ios1.08 sno
one Sky source editmobile:ios1.67 sno
first (wasm warm, shell cold)mobile:android3.88 syes
second, identicalmobile:android0.96 sno
one Sky source editmobile:android1.68 sno

Tests

an_unchanged_ios_shell_runs_no_tool and an_unchanged_android_shell_runs_no_tool (PATH shims) failed with the skip disabled (2 tools run on iOS: swiftc and codesign; 4 on Android: aapt2 twice, javac, d8) and pass with it.