huangcm
2025-04-22 c8cf547b11f2c03565d8fb8b8bcdc69860d0ed08
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
 
# locate some directories
cd "$(dirname $0)"
SCRIPT_DIR="${PWD}"
cd ../..
TOP="${PWD}"
 
message='usage: tapas [<App1> <App2> ...] [arm|x86|mips|arm64|x86_64|mips64] [eng|userdebug|user]
 
tapas selects individual apps to be built by the Android build system. Unlike
"lunch", "tapas" does not request the building of images for a device.
Additionally, an app built with "tapas" will have its dex file inside its apk,
which should cause it to be suitable for installing on any api-compatible
device. In other words, "tapas" configures the build of unbundled apps.
 
The names <App1> <App2> ... should match LOCAL_PACKAGE_NAME as defined in an
Android.mk
 
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"