tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

BUILD.gn (4464B)


      1 # Copyright (c) 2022 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("decode_time_percentile_filter") {
     12   sources = [
     13     "decode_time_percentile_filter.cc",
     14     "decode_time_percentile_filter.h",
     15   ]
     16   deps = [ "../../../rtc_base:rtc_numerics" ]
     17 }
     18 
     19 rtc_library("inter_frame_delay_variation_calculator") {
     20   sources = [
     21     "inter_frame_delay_variation_calculator.cc",
     22     "inter_frame_delay_variation_calculator.h",
     23   ]
     24   deps = [
     25     "../..:module_api_public",
     26     "../../../api/units:frequency",
     27     "../../../api/units:time_delta",
     28     "../../../api/units:timestamp",
     29     "../../../rtc_base:rtc_numerics",
     30   ]
     31 }
     32 
     33 rtc_library("frame_delay_variation_kalman_filter") {
     34   sources = [
     35     "frame_delay_variation_kalman_filter.cc",
     36     "frame_delay_variation_kalman_filter.h",
     37   ]
     38   deps = [
     39     "../../../api/units:data_size",
     40     "../../../api/units:time_delta",
     41     "../../../rtc_base:checks",
     42   ]
     43   visibility = [
     44     ":jitter_estimator",
     45     ":timing_unittests",
     46   ]
     47 }
     48 
     49 rtc_library("jitter_estimator") {
     50   sources = [
     51     "jitter_estimator.cc",
     52     "jitter_estimator.h",
     53   ]
     54   deps = [
     55     ":frame_delay_variation_kalman_filter",
     56     ":rtt_filter",
     57     "../../../api:field_trials_view",
     58     "../../../api/units:data_size",
     59     "../../../api/units:frequency",
     60     "../../../api/units:time_delta",
     61     "../../../api/units:timestamp",
     62     "../../../rtc_base:checks",
     63     "../../../rtc_base:logging",
     64     "../../../rtc_base:rolling_accumulator",
     65     "../../../rtc_base:rtc_numerics",
     66     "../../../rtc_base:safe_conversions",
     67     "../../../rtc_base/experiments:field_trial_parser",
     68     "../../../system_wrappers",
     69     "//third_party/abseil-cpp/absl/strings:string_view",
     70   ]
     71 }
     72 
     73 rtc_library("rtt_filter") {
     74   sources = [
     75     "rtt_filter.cc",
     76     "rtt_filter.h",
     77   ]
     78   deps = [
     79     "../../../api/units:time_delta",
     80     "../../../rtc_base:checks",
     81     "//third_party/abseil-cpp/absl/algorithm:container",
     82     "//third_party/abseil-cpp/absl/container:inlined_vector",
     83   ]
     84 }
     85 
     86 rtc_library("timestamp_extrapolator") {
     87   sources = [
     88     "timestamp_extrapolator.cc",
     89     "timestamp_extrapolator.h",
     90   ]
     91   deps = [
     92     "../../../api:field_trials_view",
     93     "../../../api/units:time_delta",
     94     "../../../api/units:timestamp",
     95     "../../../modules:module_api_public",
     96     "../../../rtc_base:logging",
     97     "../../../rtc_base:rtc_numerics",
     98     "../../../rtc_base/experiments:field_trial_parser",
     99     "../../../system_wrappers:metrics",
    100     "//third_party/abseil-cpp/absl/strings:string_view",
    101   ]
    102 }
    103 
    104 rtc_library("timing_module") {
    105   sources = [
    106     "timing.cc",
    107     "timing.h",
    108   ]
    109   deps = [
    110     ":decode_time_percentile_filter",
    111     ":timestamp_extrapolator",
    112     "../../../api:field_trials_view",
    113     "../../../api/units:time_delta",
    114     "../../../api/units:timestamp",
    115     "../../../api/video:video_frame",
    116     "../../../api/video:video_rtp_headers",
    117     "../../../rtc_base:checks",
    118     "../../../rtc_base:logging",
    119     "../../../rtc_base:macromagic",
    120     "../../../rtc_base:rtc_numerics",
    121     "../../../rtc_base/experiments:field_trial_parser",
    122     "../../../rtc_base/synchronization:mutex",
    123     "../../../system_wrappers",
    124   ]
    125 }
    126 
    127 rtc_library("timing_unittests") {
    128   testonly = true
    129   sources = [
    130     "frame_delay_variation_kalman_filter_unittest.cc",
    131     "inter_frame_delay_variation_calculator_unittest.cc",
    132     "jitter_estimator_unittest.cc",
    133     "rtt_filter_unittest.cc",
    134     "timestamp_extrapolator_unittest.cc",
    135     "timing_unittest.cc",
    136   ]
    137   deps = [
    138     ":frame_delay_variation_kalman_filter",
    139     ":inter_frame_delay_variation_calculator",
    140     ":jitter_estimator",
    141     ":rtt_filter",
    142     ":timestamp_extrapolator",
    143     ":timing_module",
    144     "../../../api:array_view",
    145     "../../../api:field_trials",
    146     "../../../api/units:data_size",
    147     "../../../api/units:frequency",
    148     "../../../api/units:time_delta",
    149     "../../../api/units:timestamp",
    150     "../../../rtc_base:histogram_percentile_counter",
    151     "../../../rtc_base:timeutils",
    152     "../../../system_wrappers",
    153     "../../../system_wrappers:metrics",
    154     "../../../test:create_test_field_trials",
    155     "../../../test:test_support",
    156   ]
    157 }