Include watchdog.cc in libchrome
We are going to use the watchdog class to
watch for DLP daemon hangs that may result
in a kernel lock otherwise.
Watchdog is already used in Chrome, but not
compiled in libchrome.
BUG=b:272441332
TEST=emerge-$BOARD chromeos-base/libchrome
Change-Id: Ic4ef966a6769ab80c645ddfe5545027a90c234ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/libchrome/+/4355291
Reviewed-by: Qijiang YĆ«ki Ishii <fqj@google.com>
Commit-Queue: Sergey Poromov <poromov@chromium.org>
Tested-by: Sergey Poromov <poromov@chromium.org>
diff --git a/BUILD.gn b/BUILD.gn
index 435fdde..9ce23b6 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -657,6 +657,7 @@
"base/threading/thread_local_storage_posix.cc",
"base/threading/thread_restrictions.cc",
"base/threading/thread_task_runner_handle.cc",
+ "base/threading/watchdog.cc",
"base/time/clock.cc",
"base/time/default_clock.cc",
"base/time/default_tick_clock.cc",