[compiler-rt] [cmake] [interception] Remove duplicate gtest from test COMPILE_DEPS
ClosedPublic

Authored by mgorny on Thu, Oct 12, 1:47 AM.

Details

Summary

Fix the gtest dependency to be included in DEPS only, rather than
in COMPILE_DEPS + DEPS. The former variable is apparently used to
provide unconditional dependencies, while the latter are only used
for non-standalone builds. Since they are concatenated, specifying gtest
in both is redundant. Furthermore, including it in COMPILE_DEPS causes
build failure for standalone builds where 'gtest' target is not present.

Diff Detail

Repository
rL LLVM
mgorny created this revision.Thu, Oct 12, 1:47 AM

Yep, thanks! This was probably the root cause of the failure.

This revision is now accepted and ready to land.Thu, Oct 12, 10:05 AM
This revision was automatically updated to reflect the committed changes.