Skip to content

Commit 3a99423

Browse files
authored
Fix Bootstrap error in Darwin platform (#34608)
1 parent 78adc4d commit 3a99423

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/messaging/tests/java/BUILD.gn

+5-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ shared_library("jni") {
3636
defines = [ "JAVA_MATTER_CONTROLLER_TEST" ]
3737
include_dirs = java_matter_controller_dependent_paths
3838

39-
deps += [ "${chip_root}/src/platform/Linux" ]
39+
if (current_os == "mac") {
40+
deps += [ "${chip_root}/src/platform/Darwin" ]
41+
} else {
42+
deps += [ "${chip_root}/src/platform/Linux" ]
43+
}
4044

4145
cflags = [ "-Wno-unknown-pragmas" ]
4246

0 commit comments

Comments
 (0)