Skip to content

Commit fd6c447

Browse files
committed
Added special exception for darwin to always include test_sources in common lib.
1 parent eb2f2c3 commit fd6c447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/chip/chip_test_suite.gni

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ template("chip_test_suite") {
5454
_suite_name = target_name
5555

5656
exclude_variables = [ "tests" ]
57-
if (chip_link_tests) {
57+
if (chip_link_tests && chip_device_platform != "darwin") {
5858
# Common library shouldn't have all the individual unit tests, only the common sources.
5959
exclude_variables += [ "test_sources" ]
6060
} else {

0 commit comments

Comments
 (0)