Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1088)

Unified Diff: webrtc/system_wrappers/BUILD.gn

Issue 1613013002: Remove non-monotonic clock support (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Cleanup Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/base/platform_thread.cc ('k') | webrtc/system_wrappers/source/event_timer_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/system_wrappers/BUILD.gn
diff --git a/webrtc/system_wrappers/BUILD.gn b/webrtc/system_wrappers/BUILD.gn
index 004d9d2343c0bbdd35b836787c1f63839e311e47..9ed4dee0b613e1a88ab6b00fc2a2d4fba192fc6a 100644
--- a/webrtc/system_wrappers/BUILD.gn
+++ b/webrtc/system_wrappers/BUILD.gn
@@ -100,15 +100,7 @@ static_library("system_wrappers") {
"source/logcat_trace_context.cc",
]
- defines += [
- "WEBRTC_THREAD_RR",
-
- # TODO(leozwang): Investigate CLOCK_REALTIME and CLOCK_MONOTONIC
- # support on Android. Keep WEBRTC_CLOCK_TYPE_REALTIME for now,
- # remove it after I verify that CLOCK_MONOTONIC is fully functional
- # with condition and event functions in system_wrappers.
- "WEBRTC_CLOCK_TYPE_REALTIME",
- ]
+ defines += [ "WEBRTC_THREAD_RR" ]
deps += [ ":cpu_features_android" ]
@@ -116,12 +108,7 @@ static_library("system_wrappers") {
}
if (is_linux) {
- defines += [
- "WEBRTC_THREAD_RR",
- # TODO(andrew): can we select this automatically?
- # Define this if the Linux system does not support CLOCK_MONOTONIC.
- #"WEBRTC_CLOCK_TYPE_REALTIME",
- ]
+ defines += [ "WEBRTC_THREAD_RR" ]
libs += [ "rt" ]
}
@@ -131,10 +118,7 @@ static_library("system_wrappers") {
}
if (is_ios || is_mac) {
- defines += [
- "WEBRTC_THREAD_RR",
- "WEBRTC_CLOCK_TYPE_REALTIME",
- ]
+ defines += [ "WEBRTC_THREAD_RR" ]
}
if (is_ios) {
« no previous file with comments | « webrtc/base/platform_thread.cc ('k') | webrtc/system_wrappers/source/event_timer_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698