From 14a3369b88d705e42e774192331e35c4a540a2c4 Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Fri, 15 Dec 2023 15:16:50 -0500 Subject: [PATCH] Remove java_build_test from multiarch build This test doesn't work with multiple toolchains since it assumes an output directory. --- BUILD.gn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BUILD.gn b/BUILD.gn index 8c7c5bd4f32c7c..07b6bf81999dad 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -146,7 +146,7 @@ if (current_toolchain != "${dir_pw_toolchain}/default:default") { if (chip_build_tests) { deps += [ "//src:tests" ] - if (current_os == "android") { + if (current_os == "android" && current_toolchain == default_toolchain) { deps += [ "${chip_root}/build/chip/java/tests:java_build_test" ] } }