blob: 42e45dc869e882dc966ca72f54c4944bee54de10 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
--- content/public/test/browser_test_base.cc.orig 2020-07-07 21:58:15 UTC
+++ content/public/test/browser_test_base.cc
@@ -74,7 +74,7 @@
#include "ui/gl/gl_implementation.h"
#include "ui/gl/gl_switches.h"
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
#include "ui/platform_window/common/platform_window_defaults.h" // nogncheck
#endif
@@ -100,6 +100,10 @@
#include "ui/views/test/event_generator_delegate_mac.h"
#endif
+#if defined(OS_FREEBSD)
+#include <sys/signal.h>
+#endif
+
#if defined(OS_POSIX)
#include "base/process/process_handle.h"
#endif
@@ -186,7 +190,7 @@ BrowserTestBase::BrowserTestBase()
"a new browser test suite that runs on Android, please add it to "
"//build/android/pylib/gtest/gtest_test_instance.py.";
g_instance_already_created = true;
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
ui::test::EnableTestConfigForPlatformWindows();
#endif
|