106 |
Patch198: chromium-72-i586.patch |
Patch198: chromium-72-i586.patch |
107 |
# (cjw) fix build with system icu |
# (cjw) fix build with system icu |
108 |
Patch209: chromium-77-system-icu.patch |
Patch209: chromium-77-system-icu.patch |
|
# (cjw) force use of python2, since python3 does not work |
|
|
Patch215: chromium-77-python2.patch |
|
109 |
%if !%{use_clang} |
%if !%{use_clang} |
110 |
# fixes for gcc warnings that do not work with clang |
# fixes for gcc warnings that do not work with clang |
111 |
Patch221: chromium-79-gcc-only.patch |
Patch221: chromium-79-gcc-only.patch |
140 |
%endif |
%endif |
141 |
BuildRequires: java-openjdk-headless |
BuildRequires: java-openjdk-headless |
142 |
BuildRequires: ninja |
BuildRequires: ninja |
|
BuildRequires: python2 |
|
143 |
BuildRequires: python3-setuptools |
BuildRequires: python3-setuptools |
144 |
BuildRequires: yasm |
BuildRequires: yasm |
145 |
BuildRequires: bzip2-devel |
BuildRequires: bzip2-devel |
508 |
third_party/usb_ids |
third_party/usb_ids |
509 |
third_party/xdg-utils |
third_party/xdg-utils |
510 |
) |
) |
511 |
python2 build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove |
build/linux/unbundle/remove_bundled_libraries.py "${keeplibs[@]}" --do-remove |
512 |
|
|
513 |
# Hard code extra version |
# Hard code extra version |
514 |
FILE=chrome/common/channel_info_posix.cc |
FILE=chrome/common/channel_info_posix.cc |
564 |
|
|
565 |
# enable_browser_cdms=true \ |
# enable_browser_cdms=true \ |
566 |
|
|
567 |
python2 build/linux/unbundle/replace_gn_files.py --system-libraries %{system_gn_list} |
build/linux/unbundle/replace_gn_files.py --system-libraries %{system_gn_list} |
568 |
python2 third_party/libaddressinput/chromium/tools/update-strings.py |
third_party/libaddressinput/chromium/tools/update-strings.py |
569 |
|
|
570 |
%set_build_flags |
%set_build_flags |
571 |
%if %{use_clang} |
%if %{use_clang} |
598 |
CXXFLAGS="$CXXFLAGS -msse2" |
CXXFLAGS="$CXXFLAGS -msse2" |
599 |
%endif |
%endif |
600 |
|
|
601 |
python2 tools/gn/bootstrap/bootstrap.py --gn-gen-args='%{gn_config}' |
tools/gn/bootstrap/bootstrap.py --gn-gen-args='%{gn_config}' |
602 |
|
|
603 |
out/Release/gn gen --script-executable=/usr/bin/python2 --args='%{gn_config}' out/Release |
out/Release/gn gen --args='%{gn_config}' out/Release |
604 |
|
|
605 |
pushd out/Release |
pushd out/Release |
606 |
ninja %{_smp_mflags} chrome chrome_sandbox |
ninja %{_smp_mflags} chrome chrome_sandbox |