From 6505e1c4ad608e10710df3bd7cf4503a6a959db8 Mon Sep 17 00:00:00 2001 From: Michael Froman Date: Thu, 10 Oct 2024 13:42:39 +0000 Subject: [PATCH] Bug 1921707 - initial third_party/BUILD.gn to support building libwebrtc and abseil-cpp r=ng Differential Revision: https://phabricator.services.mozilla.com/D224075 --- third_party/BUILD.gn | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 third_party/BUILD.gn diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn new file mode 100644 index 000000000000..6344bc98c45b --- /dev/null +++ b/third_party/BUILD.gn @@ -0,0 +1,16 @@ +declare_args() { + # These flags are enabled when running gn_processor.py based + # on the gn_target provided in the .json file (for example + # webrtc.json or abseil.json). + build_mozilla_webrtc = false + build_mozilla_absl = false +} + +group("default") { + if (build_mozilla_webrtc) { + deps = [ "libwebrtc:webrtc" ] + } + if (build_mozilla_absl) { + deps = [ "abseil-cpp:absl" ] + } +}