Bug 1921707 - initial third_party/BUILD.gn to support building libwebrtc and abseil-cpp r=ng

Differential Revision: https://phabricator.services.mozilla.com/D224075
This commit is contained in:
Michael Froman 2024-10-10 13:42:39 +00:00
parent c45d4fb4d4
commit 6505e1c4ad

16
third_party/BUILD.gn vendored Normal file
View File

@ -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" ]
}
}