summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/experiments/BUILD.gn
blob: 82fce7f08d371f00494d3273eb8785f7ce220d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (c) 2022 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.

import("../webrtc.gni")

action("registered_field_trials_header") {
  visibility = [ ":*" ]
  script = "field_trials.py"
  args = [
    "header",
    "--output",
    rebase_path(target_gen_dir, root_build_dir) + "/registered_field_trials.h",
  ]
  outputs = [ "$target_gen_dir/registered_field_trials.h" ]
}

rtc_library("registered_field_trials") {
  visibility = [ "*" ]
  sources = get_target_outputs(":registered_field_trials_header")
  deps = [ ":registered_field_trials_header" ]
}