summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/experiments/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libwebrtc/experiments/BUILD.gn')
-rw-r--r--third_party/libwebrtc/experiments/BUILD.gn26
1 files changed, 26 insertions, 0 deletions
diff --git a/third_party/libwebrtc/experiments/BUILD.gn b/third_party/libwebrtc/experiments/BUILD.gn
new file mode 100644
index 0000000000..82fce7f08d
--- /dev/null
+++ b/third_party/libwebrtc/experiments/BUILD.gn
@@ -0,0 +1,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" ]
+}