Skip to content

Commit

Permalink
Remove java_build_test from multiarch build (#31048)
Browse files Browse the repository at this point in the history
This test doesn't work with multiple toolchains since it assumes an
output directory.
  • Loading branch information
mspang authored and pull[bot] committed Mar 22, 2024
1 parent 23eea46 commit 4393171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BUILD.gn
Original file line number Diff line number Diff line change
@@ -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" ]
}
}

0 comments on commit 4393171

Please sign in to comment.