mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 13:50:40 +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}
18 lines
758 B
Text
18 lines
758 B
Text
# 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.
|
|
|
|
if (target_os == "android") {
|
|
action("binary_version_check") {
|
|
testonly = true
|
|
script = "binary_version_check.py"
|
|
deps = [ "../sdk/android:libjingle_peerconnection_so" ]
|
|
inputs = [ "$root_out_dir/libjingle_peerconnection_so.so" ]
|
|
outputs = [ "$root_out_dir/webrtc_binary_version_check" ]
|
|
args = [ "libjingle_peerconnection_so.so" ]
|
|
}
|
|
}
|