--- a/base/time/time.cc 2022-06-21 21:52:33.367987695 +0200 +++ b/base/time/time.cc 2022-06-30 13:15:58.619513336 +0200 @@ -21,7 +21,7 @@ #include "base/check.h" #include "base/format_macros.h" #include "base/strings/stringprintf.h" -#include "base/third_party/nspr/prtime.h" +#include #include "base/time/time_override.h" #include "build/build_config.h" --- src/base/BUILD.gn.orig 2025-04-11 12:12:20.504331178 +0200 +++ src/base/BUILD.gn 2025-04-11 20:49:30.979616277 +0200 @@ -1,3 +1,8 @@ +import("//build/config/linux/pkg_config.gni") + +pkg_config("system_nspr") { + packages = [ "nspr" ] +} # Copyright 2013 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. @@ -797,8 +802,6 @@ component("base") { "task/updateable_sequenced_task_runner.h", "test/scoped_logging_settings.h", "test/spin_wait.h", - "third_party/nspr/prtime.cc", - "third_party/nspr/prtime.h", "thread_annotations.h", "threading/hang_watcher.cc", "threading/hang_watcher.h", @@ -1014,6 +1017,7 @@ component("base") { "//build/config/compiler:prevent_unsafe_narrowing", "//build/config/compiler:wexit_time_destructors", "//build/config/compiler:wglobal_constructors", + ":system_nspr", ] deps = [