单独模块编译:
m Music
https://android.googlesource.com/platform/build/+/master/Usage.txt
https://android.googlesource.com/platform/build/soong/+/master/README.md
https://source.android.com/docs/setup/build/building
https://muyusen.github.io/posts/2020/01/18/AOSP_BuildSystem-Soong.html
https://segmentfault.com/a/1190000041852764/en
source build/envsetup.sh
lunch
m -j32
m [option] [target]
A target may be a file path. For example, out/host/linux-x86/bin/adb .
Note that when giving a relative file path as a target, that path is
interpreted relative to the root of the source tree (rather than relative
to the current working directory).
A target may also be any other target defined within a Makefile. Run
m help
to view the names of some common targets.
For now, the full (extremely large) compiled list of targets can be found
(after running the build once), split among these two files:
${OUT}/build-*.ninja
${OUT}/soong/build.ninja
如:
m out/target/product/s3901_hms_k39tv1_64_bsp_k419/system.img
m out/target/product/s3901_hms_k39tv1_64_bsp_k419/system/app/AutoDialer/AutoDialer.apk
m framework