2022-07-04 09:07:38 +00:00
|
|
|
--- 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 @@
|
2022-09-21 09:00:14 +00:00
|
|
|
#include "base/check.h"
|
2024-02-27 19:01:54 +00:00
|
|
|
#include "base/format_macros.h"
|
2022-07-04 09:07:38 +00:00
|
|
|
#include "base/strings/stringprintf.h"
|
|
|
|
|
-#include "base/third_party/nspr/prtime.h"
|
|
|
|
|
+#include <prtime.h>
|
|
|
|
|
#include "base/time/time_override.h"
|
|
|
|
|
#include "build/build_config.h"
|
2024-07-12 10:45:39 +00:00
|
|
|
|
2025-04-26 10:14:41 +00:00
|
|
|
--- 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
|
2022-07-04 09:07:38 +00:00
|
|
|
@@ -1,3 +1,8 @@
|
|
|
|
|
+import("//build/config/linux/pkg_config.gni")
|
|
|
|
|
+
|
|
|
|
|
+pkg_config("system_nspr") {
|
|
|
|
|
+ packages = [ "nspr" ]
|
|
|
|
|
+}
|
2023-01-18 06:07:26 +00:00
|
|
|
# Copyright 2013 The Chromium Authors
|
2022-07-04 09:07:38 +00:00
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
|
# found in the LICENSE file.
|
2025-04-26 10:14:41 +00:00
|
|
|
@@ -797,8 +802,6 @@ component("base") {
|
2025-01-12 20:37:55 +00:00
|
|
|
"task/updateable_sequenced_task_runner.h",
|
|
|
|
|
"test/scoped_logging_settings.h",
|
|
|
|
|
"test/spin_wait.h",
|
2022-07-04 09:07:38 +00:00
|
|
|
- "third_party/nspr/prtime.cc",
|
|
|
|
|
- "third_party/nspr/prtime.h",
|
|
|
|
|
"thread_annotations.h",
|
|
|
|
|
"threading/hang_watcher.cc",
|
2025-01-12 20:37:55 +00:00
|
|
|
"threading/hang_watcher.h",
|
2025-04-26 10:14:41 +00:00
|
|
|
@@ -1014,6 +1017,7 @@ component("base") {
|
|
|
|
|
"//build/config/compiler:prevent_unsafe_narrowing",
|
2022-09-21 09:00:14 +00:00
|
|
|
"//build/config/compiler:wexit_time_destructors",
|
2022-07-04 09:07:38 +00:00
|
|
|
"//build/config/compiler:wglobal_constructors",
|
|
|
|
|
+ ":system_nspr",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|