mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 04:41:11 +00:00
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:
parent
c45d4fb4d4
commit
6505e1c4ad
16
third_party/BUILD.gn
vendored
Normal file
16
third_party/BUILD.gn
vendored
Normal 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" ]
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user