diff options
author | Martin Stjernholm <mast@google.com> | 2021-04-12 00:01:10 +0100 |
---|---|---|
committer | Martin Stjernholm <mast@google.com> | 2021-04-13 02:07:04 +0100 |
commit | f692c756f779bc1f49db9d67e2325fd86991f887 (patch) | |
tree | d3a8f452f9ba46553930d7e1b8da8271ac51ff52 /banchanHelp.sh | |
parent | 5f2d88bee84cd4f6c3f412e5a9a7b3e73a9a8984 (diff) | |
download | build-f692c756f779bc1f49db9d67e2325fd86991f887.tar.gz |
Add new user setup command banchan for module building.
It currently uses TARGET_BUILD_APPS just like tapas, but the use case is
different and it may diverge more in the future.
Test: banchan com.android.art
Test: banchan help
Test: banchan
Test: hmm
Bug: 179779520
Change-Id: Iae718e65a2a7212c741c397e03c6f9a6d5ee8951
Diffstat (limited to 'banchanHelp.sh')
-rwxr-xr-x | banchanHelp.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/banchanHelp.sh b/banchanHelp.sh new file mode 100755 index 0000000000..af7294c36d --- /dev/null +++ b/banchanHelp.sh @@ -0,0 +1,25 @@ +#!/bin/bash + +# locate some directories +cd "$(dirname $0)" +SCRIPT_DIR="${PWD}" +cd ../.. +TOP="${PWD}" + +message='usage: banchan <module> ... [arm|x86|arm64|x86_64] [eng|userdebug|user] + +banchan selects individual APEX modules to be built by the Android build system. +Like "tapas", "banchan" does not request the building of images for a device but +instead configures it for an unbundled build of the given modules, suitable for +installing on any api-compatible device. + +The difference from "tapas" is that "banchan" sets the appropriate products etc +for building APEX modules rather than apps (APKs). + +The module names should match apex{} modules in Android.bp files, typically +starting with "com.android.". + +The usage of the other arguments matches that of the rest of the platform +build system and can be found by running `m help`' + +echo "$message" |