From 4393171c1d0271715d49ee95e91569eadc70997e Mon Sep 17 00:00:00 2001 From: Michael Spang Date: Sun, 17 Dec 2023 22:36:28 -0500 Subject: [PATCH] Remove java_build_test from multiarch build (#31048) 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 587cf891e81efa..587d3df973c7a9 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -150,7 +150,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" ] } }