commit | 66a01781f9c683cfca496340238af91635e08afb | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Oct 24 21:53:11 2023 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Oct 24 21:53:11 2023 +0000 |
tree | 19ca1c9ea0652e3e4ddc8e72d35efee48c4bad43 | |
parent | 420d7d5878d4e6d13ad238df2bf6fe7897319170 [diff] | |
parent | 71319726dff61ff36ac56ed6cc48dd8e3fa7ebac [diff] |
Merge "Add aninja to envsetup.sh" into main
diff --git a/envsetup.sh b/envsetup.sh index af6695f..e448bd3 100644 --- a/envsetup.sh +++ b/envsetup.sh
@@ -2059,6 +2059,11 @@ (\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 set_global_paths source_vendorsetup