xref: /aosp_15_r20/external/webrtc/experiments/BUILD.gn (revision d9f758449e529ab9291ac668be2861e7a55c2422)
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
9import("../webrtc.gni")
10
11action("registered_field_trials_header") {
12  visibility = [ ":*" ]
13  script = "field_trials.py"
14  args = [
15    "header",
16    "--output",
17    rebase_path(target_gen_dir, root_build_dir) + "/registered_field_trials.h",
18  ]
19  outputs = [ "$target_gen_dir/registered_field_trials.h" ]
20}
21
22rtc_library("registered_field_trials") {
23  visibility = [ "*" ]
24  sources = get_target_outputs(":registered_field_trials_header")
25  deps = [ ":registered_field_trials_header" ]
26}
27