Skip to content

Commit

Permalink
Add build argument rtc_exclude_system_time
Browse files Browse the repository at this point in the history
This is the first CL out of three to enable overriding
of the function SystemTimeNanos() in
rtc_base/system_time.cc

Bug: chromium:516700
Change-Id: I7c33b0d3463fd68c777ef0c6d268dbde45746c64
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/208225
Reviewed-by: Mirko Bonadei <[email protected]>
Commit-Queue: Johannes Kron <[email protected]>
Cr-Commit-Position: refs/heads/master@{#33303}
  • Loading branch information
Johannes Kron authored and Commit Bot committed Feb 19, 2021
1 parent 072c008 commit da20c73
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions webrtc.gni
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ declare_args() {
# provided.
rtc_exclude_metrics_default = build_with_chromium

# Setting this to true will define WEBRTC_EXCLUDE_SYSTEM_TIME which
# will tell the pre-processor to remove the default definition of the
# SystemTimeNanos() which is defined in rtc_base/system_time.cc. In
# that case a new implementation needs to be provided.
rtc_exclude_system_time = false

# Setting this to false will require the API user to pass in their own
# SSLCertificateVerifier to verify the certificates presented from a
# TLS-TURN server. In return disabling this saves around 100kb in the binary.
Expand Down

0 comments on commit da20c73

Please sign in to comment.