ANDROID: Move NDK_TRIPLE to build.config.constants.

... so that they can be loaded by Kleaf extensions
and read during the loading phase.

Moving forward, we should remove build configs in
the future and express constants in .bzl files. However,
for now, until kernel_build has been migrated to
use the defined cc_toolchain, we must keep this file.

Test: Treehugger
Bug: 228238975
Change-Id: Id9628663785970c460470382e1ae162e1112203d
Signed-off-by: Yifan Hong <elsk@google.com>
This commit is contained in:
Yifan Hong 2023-02-14 13:51:59 -08:00
parent 613832cac6
commit dec4cb5ca6
3 changed files with 4 additions and 2 deletions

View File

@ -13,4 +13,4 @@ modules.builtin
modules.builtin.modinfo modules.builtin.modinfo
" "
NDK_TRIPLE=aarch64-linux-android31 NDK_TRIPLE=${AARCH64_NDK_TRIPLE}

View File

@ -1,2 +1,4 @@
BRANCH=android14-6.1 BRANCH=android14-6.1
CLANG_VERSION=r475365b CLANG_VERSION=r475365b
AARCH64_NDK_TRIPLE=aarch64-linux-android31
X86_64_NDK_TRIPLE=x86_64-linux-android31

View File

@ -13,4 +13,4 @@ modules.builtin
modules.builtin.modinfo modules.builtin.modinfo
" "
NDK_TRIPLE=x86_64-linux-android31 NDK_TRIPLE=${X86_64_NDK_TRIPLE}