# Copyright (C) 2024 The Android Open Source Project
java.lang.NullPointerException # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at
java.lang.NullPointerException # http://www.apache.org/licenses/LICENSE-2.0
java.lang.NullPointerException # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License.
Run "m help"for help with the build system itself.
Invoke ". build/envsetup.sh" from your shell to add the following functions to your environment:
- lunch: lunch <product_name>-<release_type>-<build_variant>
Selects <product_name> as the product to build, and <build_variant> as the variant to
build, and stores those selections in the environment to be read by subsequent
invocations of 'm' etc.
- tapas: tapas [<App1> <App2> ...] [arm|x86|arm64|x86_64] [eng|userdebug|user]
Sets up the build environment for building unbundled apps (APKs).
- banchan: banchan <module1> [<module2> ...] \\
[arm|x86|arm64|riscv64|x86_64|arm64_only|x86_64only] [eng|userdebug|user]
Sets up the build environment for building unbundled modules (APEXes).
- croot: Changes directory to the top of the tree, or a subdirectory thereof.
- m: Makes from the top of the tree.
- mm: Builds and installs all of the modules in the current directory, and their
dependencies.
- mmm: Builds and installs all of the modules in the supplied directories, and their
dependencies.
To limit the modules being built use the syntax: mmm dir/:target1,target2.
- mma: Same as 'mm'
- mmma: Same as 'mmm'
- provision: Flash device with all required partitions. Options will be passed on to fastboot.
- cgrep: Greps on all local C/C++ files.
- ggrep: Greps on all local Gradle files.
- gogrep: Greps on all local Go files.
- jgrep: Greps on all local Java files.
- jsongrep: Greps on all local Json files.
- ktgrep: Greps on all local Kotlin files.
- resgrep: Greps on all local res/*.xml files. -mangrep:GrepsonalllocalAndroidManifest.xmlfiles. -mgrep:GrepsonalllocalMakefilesand*.bpfiles. -owngrep:GrepsonalllocalOWNERSfiles. -rsgrep:GrepsonalllocalRustfiles. -sepgrep:Grepsonalllocalsepolicyfiles. -sgrep:Grepsonalllocalsourcefiles. -tomlgrep:GrepsonalllocalTomlfiles. -pygrep:GrepsonalllocalPythonfiles. -godir:Gotothedirectorycontainingafile. -allmod:Listallmodules. -gomod:Gotothedirectorycontainingamodule. -pathmod:Getthedirectorycontainingamodule. -outmod:Getsthelocationofamodule'sinstalledoutputswithacertainextension. -dirmods:Getsthemodulesdefinedinagivendirectory. -installmod:Adbinstallsamodule'sbuiltAPK. -refreshmod:Refreshlistofmodulesforallmod/gomod/pathmod/outmod/installmod. -syswrite:Remountpartitions(e.g.system.img)aswritable,rebootingifnecessary.
Lookatthesourcetoviewmorefunctions.Thecompletelistis: EOF T=$(gettop) A=""
for i in `cat $T/build/envsetup.sh | sed -n "/^[[:blank:]]*function /s/function \([a-z_]*\).*/\1/p" | sort | uniq`; do
A="$A $i"
done
echo $A
Messung V0.5 in Prozent
[Dauer der Verarbeitung: 0.1 Sekunden, vorverarbeitet 2026-06-28]