diff --git a/clwb/tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java b/clwb/tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java index 69eebcf5018..6fda424c67b 100644 --- a/clwb/tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java +++ b/clwb/tests/integrationtests/com/google/idea/blaze/clwb/VirtualIncludesTest.java @@ -4,11 +4,7 @@ import static com.google.idea.blaze.clwb.base.Assertions.assertContainsHeader; import com.google.idea.blaze.clwb.base.ClwbIntegrationTestCase; -import com.intellij.openapi.util.SystemInfo; import com.intellij.openapi.vfs.VirtualFile; -import com.jetbrains.cidr.lang.workspace.compiler.ClangCompilerKind; -import com.jetbrains.cidr.lang.workspace.compiler.GCCCompilerKind; -import com.jetbrains.cidr.lang.workspace.compiler.MSVCCompilerKind; import com.jetbrains.cidr.lang.workspace.headerRoots.HeadersSearchRoot; import java.util.List; import org.jetbrains.annotations.Nullable; @@ -28,6 +24,15 @@ public void testClwb() { checkImplDeps(); } + @Override + protected String projectViewText() { + // required for bazel 5 + return super.projectViewText() + """ +build_flags: + --experimental_cc_implementation_deps + """; + } + private @Nullable VirtualFile findHeader(String fileName, List roots) { for (final var root : roots) { final var rootFile = root.getVirtualFile();