Skip to content

Commit 3276433

Browse files
committed
Move common lib linkage to the pw_test instead of the group target.
1 parent 4e057b7 commit 3276433

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/chip/chip_test_suite.gni

+3-3
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ template("chip_test_suite") {
104104
"configs",
105105
])
106106

107+
# Link to the common lib for this suite so we get its `sources`.
108+
public_deps += [ ":${_suite_name}.lib" ]
109+
107110
# Set variables that the platform executable may need.
108111
if (test_executable_output_name != "") {
109112
output_name = test_executable_output_name + _test_name +
@@ -127,9 +130,6 @@ template("chip_test_suite") {
127130
foreach(_test, tests) {
128131
deps += [ ":${_test}" ]
129132
}
130-
131-
# Add the common lib for this suite so we get its `sources`.
132-
deps += [ ":${_suite_name}.lib" ]
133133
}
134134

135135
if (chip_pw_run_tests) {

0 commit comments

Comments
 (0)