Skip to content

Commit

Permalink
Remove java_build_test from multiarch build (project-chip#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 Dec 18, 2023
1 parent 44e1a70 commit 7cbac91
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
Expand Up @@ -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" ]
}
}
Expand Down

0 comments on commit 7cbac91

Please sign in to comment.