mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00

This CL adds a string to the resulting WebRTC library (trying to make sure the version string will be there no matter how WebRTC is packaged). This CL should be followed by some process to regularly and automatically update the version string. No-Try: True No-Presubmit: True Bug: webrtc:12159 Change-Id: I9143aeae2cd54d0d4048c138772888100d7873cb Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/191223 Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32825}
25 lines
865 B
C++
25 lines
865 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.
|
|
*/
|
|
|
|
#ifndef CALL_VERSION_H_
|
|
#define CALL_VERSION_H_
|
|
|
|
// LoadWebRTCVersionInRegistry is a helper function that loads the pointer to
|
|
// the WebRTC version string into a register. While this function doesn't do
|
|
// anything useful, it is needed in order to avoid that compiler optimizations
|
|
// remove the WebRTC version string from the final binary.
|
|
|
|
namespace webrtc {
|
|
|
|
void LoadWebRTCVersionInRegister();
|
|
|
|
} // namespace webrtc
|
|
|
|
#endif // CALL_VERSION_H_
|