diff --git a/toolchain/lexer/BUILD b/toolchain/lexer/BUILD index 28ebfaf05a7af..9c977d728fab4 100644 --- a/toolchain/lexer/BUILD +++ b/toolchain/lexer/BUILD @@ -40,6 +40,7 @@ cc_library( deps = [ "//common:check", "//toolchain/diagnostics:diagnostic_emitter", + "@com_google_googletest//:gtest", "@llvm-project//llvm:Support", ], ) diff --git a/toolchain/lexer/test_helpers.h b/toolchain/lexer/test_helpers.h index 11814824c63ad..f66cfdd64103d 100644 --- a/toolchain/lexer/test_helpers.h +++ b/toolchain/lexer/test_helpers.h @@ -5,11 +5,12 @@ #ifndef TOOLCHAIN_LEXER_TEST_HELPERS_H_ #define TOOLCHAIN_LEXER_TEST_HELPERS_H_ +#include + #include #include #include "common/check.h" -#include "gmock/gmock.h" #include "llvm/ADT/STLExtras.h" #include "llvm/Support/FormatVariadic.h" #include "toolchain/diagnostics/diagnostic_emitter.h"