Remove system_wrappers/../cpu_info.*
This has been moved to rtc_base/.
Bug: webrtc:42228262
Change-Id: I5a8a6afdffc1cde3c2ab8a26568ee1d0f54676d8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/392941
Commit-Queue: Fredrik Solenberg <solenberg@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Auto-Submit: Fredrik Solenberg <solenberg@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#44758}
diff --git a/system_wrappers/BUILD.gn b/system_wrappers/BUILD.gn
index a36adfa..a1fab28 100644
--- a/system_wrappers/BUILD.gn
+++ b/system_wrappers/BUILD.gn
@@ -17,11 +17,9 @@
sources = [
"include/clock.h",
"include/cpu_features_wrapper.h",
- "include/cpu_info.h",
"include/ntp_time.h",
"source/clock.cc",
"source/cpu_features.cc",
- "source/cpu_info.cc",
]
defines = []
@@ -31,7 +29,6 @@
"../api/units:timestamp",
"../modules:module_api_public",
"../rtc_base:checks",
- "../rtc_base:cpu_info",
"../rtc_base:logging",
"../rtc_base:safe_conversions",
"../rtc_base:timeutils",
diff --git a/system_wrappers/include/cpu_info.h b/system_wrappers/include/cpu_info.h
deleted file mode 100644
index 6bc99b6..0000000
--- a/system_wrappers/include/cpu_info.h
+++ /dev/null
@@ -1,29 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
-#define SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
-
-#include <stdint.h>
-
-namespace webrtc {
-
-class CpuInfo {
- public:
- // Wrapper kept while updating dependencies.
- static uint32_t DetectNumberOfCores();
-
- private:
- CpuInfo() {}
-};
-
-} // namespace webrtc
-
-#endif // SYSTEM_WRAPPERS_INCLUDE_CPU_INFO_H_
diff --git a/system_wrappers/source/cpu_info.cc b/system_wrappers/source/cpu_info.cc
deleted file mode 100644
index 90bf720..0000000
--- a/system_wrappers/source/cpu_info.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#include "system_wrappers/include/cpu_info.h"
-
-#include <cstdint>
-
-#include "rtc_base/cpu_info.h"
-
-namespace webrtc {
-
-uint32_t CpuInfo::DetectNumberOfCores() {
- return cpu_info::DetectNumberOfCores();
-}
-
-} // namespace webrtc