enable debuginfo

i9ce
Than Ngo 1 year ago
parent debc7277d2
commit 64375616dd

@ -10,8 +10,7 @@
%global numjobs %{_smp_build_ncpus} %global numjobs %{_smp_build_ncpus}
%endif %endif
# This flag is so I can build things very fast on a giant system. # enable|disable all cpus for the build.
# Enabling this in koji causes aarch64 builds to timeout indefinitely.
%global use_all_cpus 1 %global use_all_cpus 1
%if %{use_all_cpus} %if %{use_all_cpus}
@ -72,11 +71,13 @@
%global chromium_pybin %{__python3} %global chromium_pybin %{__python3}
%endif %endif
# We'd like to always have this on... # va-api only supported in rhel >= 9 and fedora
%global use_vaapi 1 %global use_vaapi 1
# v4l2_codec only enable for fedora aarch64
%global use_v4l2_codec 0 %global use_v4l2_codec 0
# ... but the libva in EL7 (and EL8) is too old. # libva in EL7 and EL8 is too old.
%if 0%{?rhel} == 7 || 0%{?rhel} == 8 %if 0%{?rhel} == 7 || 0%{?rhel} == 8
%global use_vaapi 0 %global use_vaapi 0
%endif %endif
@ -116,11 +117,15 @@
%global headlessbuilddir out/Headless %global headlessbuilddir out/Headless
%global remotingbuilddir out/Remoting %global remotingbuilddir out/Remoting
# Debuginfo packages aren't very useful here. If you need to debug # enable|disable debuginfo
# you should do a proper debug build (not implemented in this spec yet) %global enable_debug 1
%global enable_debug 0
%if ! %{enable_debug} %if ! %{enable_debug}
%global debug_package %{nil} %global debug_package %{nil}
%global debug_level 0
%else
%global debug_level 1
# workaround for the error empty file debugsource
%undefine _debugsource_packages
%endif %endif
# %%{nil} for Stable; -beta for Beta; -dev for Devel # %%{nil} for Stable; -beta for Beta; -dev for Devel
@ -259,7 +264,7 @@
Name: chromium%{chromium_channel} Name: chromium%{chromium_channel}
Version: 119.0.6045.105 Version: 119.0.6045.105
Release: 1%{?dist} Release: 2%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home Url: http://www.chromium.org/Home
License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only) License: BSD-3-Clause AND LGPL-2.1-or-later AND Apache-2.0 AND IJG AND MIT AND GPL-2.0-or-later AND ISC AND OpenSSL AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.0-only)
@ -1198,7 +1203,7 @@ CHROMIUM_CORE_GN_DEFINES+=' enable_iterator_debugging=false'
CHROMIUM_CORE_GN_DEFINES+=' enable_vr=false' CHROMIUM_CORE_GN_DEFINES+=' enable_vr=false'
CHROMIUM_CORE_GN_DEFINES+=' build_dawn_tests=false enable_perfetto_unittests=false' CHROMIUM_CORE_GN_DEFINES+=' build_dawn_tests=false enable_perfetto_unittests=false'
CHROMIUM_CORE_GN_DEFINES+=' disable_fieldtrial_testing_config=true' CHROMIUM_CORE_GN_DEFINES+=' disable_fieldtrial_testing_config=true'
CHROMIUM_CORE_GN_DEFINES+=' blink_symbol_level=0 symbol_level=0 v8_symbol_level=0' CHROMIUM_CORE_GN_DEFINES+=' blink_symbol_level=%{debug_level} symbol_level=%{debug_level} v8_symbol_level=%{debug_level}'
CHROMIUM_CORE_GN_DEFINES+=' blink_enable_generated_code_formatting=false' CHROMIUM_CORE_GN_DEFINES+=' blink_enable_generated_code_formatting=false'
CHROMIUM_CORE_GN_DEFINES+=' angle_has_histograms=false' CHROMIUM_CORE_GN_DEFINES+=' angle_has_histograms=false'
export CHROMIUM_CORE_GN_DEFINES export CHROMIUM_CORE_GN_DEFINES
@ -1704,6 +1709,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%{chromium_path}/chromedriver %{chromium_path}/chromedriver
%changelog %changelog
* Tue Nov 07 2023 Than Ngo <than@redhat.com> - 119.0.6045.105-2
- enable debuginfo
* Wed Nov 01 2023 Than Ngo <than@redhat.com> - 119.0.6045.105-1 * Wed Nov 01 2023 Than Ngo <than@redhat.com> - 119.0.6045.105-1
- update to 119.0.6045.105 - update to 119.0.6045.105

Loading…
Cancel
Save