diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /third_party/libwebrtc/build/linux/BUILD.gn | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/libwebrtc/build/linux/BUILD.gn')
-rw-r--r-- | third_party/libwebrtc/build/linux/BUILD.gn | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/third_party/libwebrtc/build/linux/BUILD.gn b/third_party/libwebrtc/build/linux/BUILD.gn new file mode 100644 index 0000000000..54314c7687 --- /dev/null +++ b/third_party/libwebrtc/build/linux/BUILD.gn @@ -0,0 +1,31 @@ +# Copyright (c) 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +import("//build/config/features.gni") +import("//build/config/freetype/freetype.gni") +import("//build/config/linux/pkg_config.gni") + +if (use_gio) { + pkg_config("gio_config") { + packages = [ "gio-2.0" ] + + defines = [ "USE_GIO" ] + } +} + +# Looking for libspeechd? Use //third_party/speech-dispatcher + +if (use_system_freetype) { + assert(!is_chromecast) + + # Only provided for distributions which prefer to keep linking to FreeType on + # the system, use with caution,for details see build/config/freetype/BUILD.gn. + pkg_config("freetype_from_pkgconfig") { + visibility = [ + "//third_party:freetype_harfbuzz", + "//third_party/harfbuzz-ng:harfbuzz_source", + ] + packages = [ "freetype2" ] + } +} |