ANDROID: Kleaf: Fix branch-specific toolchain_version

In order to update the Clang version per branch, use the branch specific
value defined in build.config.constants instead of falling back to the
default toolchain defined in the Kleaf implementation.

Bug: 210296725
Signed-off-by: Matthias Maennich <maennich@google.com>
Change-Id: I8929ec4b4174fc286710a5c66741b140656bb455
This commit is contained in:
Matthias Maennich
2021-12-12 15:25:41 +00:00
parent 2c2712edb8
commit 5e960d7e58

View File

@@ -18,5 +18,6 @@ package(
)
load("//build/kleaf:common_kernels.bzl", "define_common_kernels")
load("@kernel_toolchain_info//:dict.bzl", "CLANG_VERSION")
define_common_kernels()
define_common_kernels(toolchain_version = CLANG_VERSION)