Merge "Add aninja to envsetup.sh" into main

This commit is contained in:
Colin Cross 2023-10-24 21:53:11 +00:00 committed by Gerrit Code Review
commit 66a01781f9

View file

@ -2059,6 +2059,11 @@ function overrideflags() {
(\cd "${T}" && build/make/tools/overrideflags.sh "$@") (\cd "${T}" && build/make/tools/overrideflags.sh "$@")
} }
function aninja() {
local T="$(gettop)"
(\cd "${T}" && prebuilts/build-tools/linux-x86/bin/ninja -f out/combined-${TARGET_PRODUCT}.ninja "$@")
}
validate_current_shell validate_current_shell
set_global_paths set_global_paths
source_vendorsetup source_vendorsetup