fix dependency for feed_response.proto

This commit is contained in:
Than Ngo 2023-04-23 16:23:43 +02:00
parent fb9b6a995e
commit a4254bb39d
2 changed files with 18 additions and 5 deletions

View File

@ -0,0 +1,12 @@
diff --git a/components/feed/core/proto/BUILD.gn b/components/feed/core/proto/BUILD.gn
index f0ec5318afb07..45b8a786de973 100644
--- a/components/feed/core/proto/BUILD.gn
+++ b/components/feed/core/proto/BUILD.gn
@@ -66,6 +66,7 @@ proto_library("proto_v2") {
"v2/wire/xsurface_content.proto",
"v2/xsurface.proto",
]
+ proto_deps = [ ":proto_ios_shared_v2" ]
}
proto_library("proto_ios_shared_v2") {

View File

@ -322,6 +322,9 @@ Patch91: chromium-108-system-opus.patch
# enable WebUIDarkMode
Patch92: chromium-113-WebUIDarkMode.patch
# merged in 113
Patch93: chromium-112-fix_deps_for_response.proto.patch
# need to explicitly include a kernel header on EL7 to support MFD_CLOEXEC, F_SEAL_SHRINK, F_ADD_SEALS, F_SEAL_SEAL
Patch100: chromium-108-el7-include-fcntl-memfd.patch
@ -930,7 +933,8 @@ udev.
%patch -P91 -p1 -b .system-opus
%endif
%patch -P92 -p1 -b .gtk-prefers-color-scheme
%patch -P92 -p1 -b .WebUIDarkMod
%patch -P93 -p1 -b .fix_deps_for_response.proto
# Fedora branded user agent
%if 0%{?fedora}
@ -1281,13 +1285,9 @@ mkdir -p %{builddir} && cp -a %{_bindir}/gn %{builddir}/
%if %{build_headless}
# Do headless first.
# workaround for build dependency
%build_target %{headlessbuilddir} gen/components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h
%build_target %{headlessbuilddir} headless_shell
%endif
# workaround for build dependency
%build_target %{builddir} gen/components/feed/core/proto/v2/wire/chrome_feed_response_metadata.pb.h
%build_target %{builddir} chrome
%build_target %{builddir} chrome_sandbox
%build_target %{builddir} chromedriver
@ -1662,6 +1662,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
* Sun Apr 23 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-2
- make --use-gl=egl default for x11/wayland
- enable WebUIDarkMode
- fix dependency for feed_response.proto
* Thu Apr 20 2023 Than Ngo <than@redhat.com> - 112.0.5615.165-1
- update to 112.0.5615.165