aboutsummaryrefslogtreecommitdiff
path: root/banchanHelp.sh
diff options
context:
space:
mode:
authorMartin Stjernholm <mast@google.com>2021-04-16 20:45:03 +0100
committerMartin Stjernholm <mast@google.com>2021-04-19 18:32:00 +0100
commit2b8d923a09a56087a6ac4654691f4a27e53444af (patch)
tree9304774a52973d15d0790982510829507d74d5ed /banchanHelp.sh
parent2c80511bd60b2f9844fb49d7152f7c265cbe7155 (diff)
downloadbuild-2b8d923a09a56087a6ac4654691f4a27e53444af.tar.gz
Allow selecting a different product in banchan.
Necessary since the products used for APEX modules are different in internal builds. Test: banchan com.android.art Test: banchan com.android.art arm Test: banchan com.android.art art_module_arm Test: banchan com.android.art module_arm Test: banchan com.android.art x86_64 Test: banchan com.android.art art_module_x86_64 Bug: 179779520 Change-Id: Ib59a86b70e409537aaad7258465b6874b589b858
Diffstat (limited to 'banchanHelp.sh')
-rwxr-xr-xbanchanHelp.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/banchanHelp.sh b/banchanHelp.sh
index af7294c36d..eab22e4f95 100755
--- a/banchanHelp.sh
+++ b/banchanHelp.sh
@@ -6,7 +6,7 @@ SCRIPT_DIR="${PWD}"
cd ../..
TOP="${PWD}"
-message='usage: banchan <module> ... [arm|x86|arm64|x86_64] [eng|userdebug|user]
+message='usage: banchan <module> ... [<product>|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
@@ -19,6 +19,11 @@ 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 product argument should be a product name ending in "_<arch>", where <arch>
+is one of arm, x86, arm64, x86_64. It can also be just an arch, in which case
+the standard product for building modules with that architecture is used, i.e.
+module_<arch>.
+
The usage of the other arguments matches that of the rest of the platform
build system and can be found by running `m help`'