mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-14 14:20:45 +01:00

TBR=webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com,mbonadei@webrtc.org Bug: None Change-Id: I89eea652988e1d3a61efc37f0c341fdb5f91c425 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/203621 Reviewed-by: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com> Commit-Queue: webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com <webrtc-version-updater@webrtc-ci.iam.gserviceaccount.com> Cr-Commit-Position: refs/heads/master@{#33065}
25 lines
809 B
C++
25 lines
809 B
C++
/*
|
|
* Copyright (c) 2020 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 "call/version.h"
|
|
|
|
namespace webrtc {
|
|
|
|
// The timestamp is always in UTC.
|
|
const char* const kSourceTimestamp = "WebRTC source stamp 2021-01-24T04:03:52";
|
|
|
|
void LoadWebRTCVersionInRegister() {
|
|
// Using volatile to instruct the compiler to not optimize `p` away even
|
|
// if it looks unused.
|
|
const char* volatile p = kSourceTimestamp;
|
|
static_cast<void>(p);
|
|
}
|
|
|
|
} // namespace webrtc
|