BUILD.gn (1099B)
1 # Copyright (c) 2020 The WebRTC project authors. All Rights Reserved. 2 # 3 # Use of this source code is governed by a BSD-style license 4 # that can be found in the LICENSE file in the root of the source 5 # tree. An additional intellectual property rights grant can be found 6 # in the file PATENTS. All contributing project authors may 7 # be found in the AUTHORS file in the root of the source tree. 8 9 import("../../webrtc.gni") 10 11 rtc_library("numerics") { 12 visibility = [ "*" ] 13 14 sources = [ 15 "samples_stats_counter.cc", 16 "samples_stats_counter.h", 17 ] 18 deps = [ 19 "..:array_view", 20 "../../rtc_base:checks", 21 "../../rtc_base:rtc_numerics", 22 "../../rtc_base:timeutils", 23 "../units:timestamp", 24 "//third_party/abseil-cpp/absl/algorithm:container", 25 ] 26 } 27 28 if (rtc_include_tests) { 29 rtc_library("numerics_unittests") { 30 visibility = [ "*" ] 31 testonly = true 32 33 sources = [ "samples_stats_counter_unittest.cc" ] 34 35 deps = [ 36 ":numerics", 37 "../../test:test_support", 38 "../units:timestamp", 39 "//third_party/abseil-cpp/absl/algorithm:container", 40 ] 41 } 42 }