$NetBSD$ * Part of patchset to build electron on NetBSD * Based on OpenBSD's chromium patches, and FreeBSD's electron patches --- chrome/installer/linux/BUILD.gn.orig 2025-02-24 19:59:26.000000000 +0000 +++ chrome/installer/linux/BUILD.gn @@ -77,7 +77,7 @@ if (enable_swiftshader) { packaging_files += [ "$root_out_dir/vk_swiftshader_icd.json" ] } -if (use_qt) { +if (use_qt5) { # Even though this is a shared library, add it to `packaging_files` instead of # `packaging_files_shlibs` to skip the dependency check. This is intentional # to prevent a hard dependency on QT for the package. @@ -208,7 +208,7 @@ if (build_with_internal_optimization_gui } } -if (use_qt) { +if (use_qt5) { strip_binary("strip_qt5_shim") { binary_input = "$root_out_dir/libqt5_shim.so" deps = [ "//ui/qt:qt5_shim" ] @@ -406,7 +406,7 @@ group("installer_deps") { "//components/optimization_guide/internal:optimization_guide_internal", ] } - if (use_qt) { + if (use_qt5) { public_deps += [ ":strip_qt5_shim", "//ui/qt:qt5_shim",