Index: chrome/common/crash_keys.cc |
diff --git a/chrome/common/crash_keys.cc b/chrome/common/crash_keys.cc |
index 3cd3cd42217b71270afb25e7880163e4a03a9b6e..8b2aabff803efc284a664feacfce1ffd25e74214 100644 |
--- a/chrome/common/crash_keys.cc |
+++ b/chrome/common/crash_keys.cc |
@@ -16,10 +16,12 @@ |
#include "content/public/common/content_switches.h" |
#include "ipc/ipc_switches.h" |
+// Breakpad dependencies exist only on Windows and Mac desktop. Exclude them |
+// from "gn check" to avoid failures on Linux (it doesn't understand ifdefs). |
#if defined(OS_MACOSX) |
-#include "breakpad/src/common/simple_string_dictionary.h" |
+#include "breakpad/src/common/simple_string_dictionary.h" // nogncheck |
#elif defined(OS_WIN) |
-#include "breakpad/src/client/windows/common/ipc_protocol.h" |
+#include "breakpad/src/client/windows/common/ipc_protocol.h" // nogncheck |
#elif defined(OS_CHROMEOS) |
#include "chrome/common/chrome_switches.h" |
#include "gpu/command_buffer/service/gpu_switches.h" |