diff options
author | Yifan Hong <elsk@google.com> | 2024-05-13 16:24:43 -0700 |
---|---|---|
committer | mdb:android-git <superproject-auto-update@invalid> | 2024-05-14 22:56:42 +0000 |
commit | b3370a749136c398cf71fbab8de83fa659a4f2bd (patch) | |
tree | 428f41c03dccf1573e4beb6c0225396c110d2858 | |
parent | 0e65a604e8b1f6f3a6961e7fa11050d3aff167c9 (diff) | |
download | superproject-b3370a749136c398cf71fbab8de83fa659a4f2bd.tar.gz |
kleaf: Move llvm-strings out of hermetic_tools on flag.
It is only used in tests.
- move it out of hermetic_tools.
- implement hermetic_test.use_cc_toolchain and
add cc toolchain to PATH if it is set.
- Enable use_cc_toolchain for selected tests
that uses llvm-strings.
- Adds a flag, --remove_strings_from_hermetic_tools
and --noremove_strings_from_hermetic_tools, that
signals the deprecation of llvm-strings from hermetic
tools. Add it to --config=canary.
Test: bazel test --config=stamp --remove_strings_from_hermetic_tools //common:kernel_aarch64_test
Test: bazel run --remove_strings_from_hermetic_tools //build/kernel/kleaf/tests/integration_test -- ScmversionIntegrationTest.test_mainline_ab
Bug: 249369958
Change-Id: Ia258c3b2cb24f9ebf570390a28bbbd54421ce520
m--------- | build/kernel | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/build/kernel b/build/kernel -Subproject bbdd6e8e6fd0b528578cf2348ecd7258e0890be +Subproject 18aad17ddea5b55bddbca7698bcbc71f40c7d6e |