Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,32 @@
From bfc520671693587a0b81842018326da35aa97f80 Mon Sep 17 00:00:00 2001
From: James Hilliard <james.hilliard1@gmail.com>
Date: Thu, 3 Feb 2022 20:41:08 -0700
Subject: [PATCH] Don't rebase sysroot path
Just use the actual sysroot as rebase_path will generate an invalid
sysroot path.
Fixes:
/home/buildroot/buildroot/output/per-package/qt5webengine/host/opt/ext-toolchain/bin/../lib/gcc/aarch64-buildroot-linux-gnu/10.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: cannot find crti.o: No such file or directory
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
chromium/build/config/posix/BUILD.gn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chromium/build/config/posix/BUILD.gn b/chromium/build/config/posix/BUILD.gn
index e61554c5656..dc957225869 100644
--- a/chromium/build/config/posix/BUILD.gn
+++ b/chromium/build/config/posix/BUILD.gn
@@ -27,7 +27,7 @@ config("runtime_library") {
if (!is_apple && sysroot != "") {
# Pass the sysroot to all C compiler variants, the assembler, and linker.
- sysroot_flags = [ "--sysroot=" + rebase_path(sysroot, root_build_dir) ]
+ sysroot_flags = [ "--sysroot=" + sysroot ]
if (is_linux || is_chromeos) {
# This is here so that all files get recompiled after a sysroot roll and
# when turning the sysroot on or off. (defines are passed via the command
--
2.25.1

View File

@@ -0,0 +1,47 @@
From f684c6fb3532138e3408fa17d4b6610162647365 Mon Sep 17 00:00:00 2001
From: Bruno Pitrus <brunopitrus@hotmail.com>
Date: Tue, 25 Jul 2023 18:34:09 +0000
Subject: [PATCH] Remove unused python import
The `imp` module has been removed in Python 3.12 causing these scripts to error out.
Change-Id: Ic7c038d21b86052bdda13015f80934db52a2143e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4714859
Auto-Submit: Bruno Pitrus <brunopitrus@hotmail.com>
Reviewed-by: Ken Rockot <rockot@google.com>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/main@{#1174966}
Upstream: https://github.com/chromium/chromium/commit/f5f6e361d037c31630661186e7bd7b31d2784cb8
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
chromium/mojo/public/tools/mojom/mojom/fileutil.py | 1 -
chromium/mojo/public/tools/mojom/mojom/parse/lexer.py | 1 -
2 files changed, 2 deletions(-)
diff --git a/chromium/mojo/public/tools/mojom/mojom/fileutil.py b/chromium/mojo/public/tools/mojom/mojom/fileutil.py
index bf626f54798..e1c823daa3c 100644
--- a/chromium/mojo/public/tools/mojom/mojom/fileutil.py
+++ b/chromium/mojo/public/tools/mojom/mojom/fileutil.py
@@ -3,7 +3,6 @@
# found in the LICENSE file.
import errno
-import imp
import os.path
import sys
diff --git a/chromium/mojo/public/tools/mojom/mojom/parse/lexer.py b/chromium/mojo/public/tools/mojom/mojom/parse/lexer.py
index 3e084bbf22b..1e8b49f245f 100644
--- a/chromium/mojo/public/tools/mojom/mojom/parse/lexer.py
+++ b/chromium/mojo/public/tools/mojom/mojom/parse/lexer.py
@@ -2,7 +2,6 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-import imp
import os.path
import sys
--
2.25.1

View File

@@ -0,0 +1,49 @@
From 71d96b9be632b5231b28277d9e72f6a6c5308e24 Mon Sep 17 00:00:00 2001
From: Dan Harrington <harringtond@chromium.org>
Date: Fri, 4 Jun 2021 16:46:25 +0000
Subject: [PATCH] Migrate presubmit to python3
Fixed a couple warnings I found when running the unit
tests in python3.
Bug: 1212110
Change-Id: I3d1b5859b5c517ad5eea30cb816fad0389715f73
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2934203
Reviewed-by: Jesse Doherty <jwd@chromium.org>
Commit-Queue: Dan H <harringtond@chromium.org>
Cr-Commit-Position: refs/heads/master@{#889331}
Upstream: https://github.com/chromium/chromium/commit/f90f49df8db04dcb72f7ce0c4d0b2fe329bab00c
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
chromium/tools/metrics/ukm/PRESUBMIT.py | 2 ++
chromium/tools/metrics/ukm/gen_builders_test.py | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/chromium/tools/metrics/ukm/PRESUBMIT.py b/chromium/tools/metrics/ukm/PRESUBMIT.py
index 28fab1cffb7..99b13be681b 100644
--- a/chromium/tools/metrics/ukm/PRESUBMIT.py
+++ b/chromium/tools/metrics/ukm/PRESUBMIT.py
@@ -8,6 +8,8 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details on the presubmit API built into gcl.
"""
+USE_PYTHON3 = True
+
UKM_XML = 'ukm.xml'
diff --git a/chromium/tools/metrics/ukm/gen_builders_test.py b/chromium/tools/metrics/ukm/gen_builders_test.py
index 1ca15e52c9a..0015320a524 100755
--- a/chromium/tools/metrics/ukm/gen_builders_test.py
+++ b/chromium/tools/metrics/ukm/gen_builders_test.py
@@ -25,8 +25,8 @@ class GenBuildersTest(unittest.TestCase):
def testGenerateCode(self):
relpath = '.'
- data = ukm_model.UKM_XML_TYPE.Parse(
- open('../../tools/metrics/ukm/ukm.xml').read())
+ with open('../../tools/metrics/ukm/ukm.xml') as f:
+ data = ukm_model.UKM_XML_TYPE.Parse(f.read())
event = data[ukm_model._EVENT_TYPE.tag][0]
metric = event[ukm_model._METRIC_TYPE.tag][0]
self.assertIsNotNone(event)

View File

@@ -0,0 +1,70 @@
From 5201c34a4c0f2fed56f6cff3acada3da2405a363 Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Sat, 13 Jul 2024 16:02:38 +0200
Subject: [PATCH] tools/grit/grit/util.py: fix Python 3.12 build issue
This commit is an extract from upstream commit
https://github.com/chromium/chromium/commit/b3abd7e4c9467415da3a5e13d9500d2ab3abc2ec
which is too large to be backported.
It fixes:
Traceback (most recent call last):
File "/home/thomas/buildroot/buildroot/output/build/qt5webengine-5.15.14/src/core/release/../../3rdparty/chromium/tools/grit/grit.py", line 14, in <module>
import grit.grit_runner
File "/home/thomas/buildroot/buildroot/output/build/qt5webengine-5.15.14/src/3rdparty/chromium/tools/grit/grit/grit_runner.py", line 19, in <module>
from grit import util
File "/home/thomas/buildroot/buildroot/output/build/qt5webengine-5.15.14/src/3rdparty/chromium/tools/grit/grit/util.py", line 21, in <module>
from six.moves import html_entities as entities
ModuleNotFoundError: No module named 'six.moves'
Upstream: https://github.com/chromium/chromium/commit/b3abd7e4c9467415da3a5e13d9500d2ab3abc2ec (part of)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
chromium/tools/grit/grit/util.py | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/chromium/tools/grit/grit/util.py b/chromium/tools/grit/grit/util.py
index 528d766ad6b..77db06adffb 100644
--- a/chromium/tools/grit/grit/util.py
+++ b/chromium/tools/grit/grit/util.py
@@ -8,6 +8,7 @@
from __future__ import print_function
import codecs
+import html.entities
import io
import os
import re
@@ -17,8 +18,6 @@ import tempfile
from xml.sax import saxutils
import six
-from six import StringIO
-from six.moves import html_entities as entities
from grit import lazy_re
@@ -226,7 +225,7 @@ def WrapOutputStream(stream, encoding = 'utf-8'):
def ChangeStdoutEncoding(encoding = 'utf-8'):
'''Changes STDOUT to print characters using the specified encoding.'''
# If we're unittesting, don't reconfigure.
- if isinstance(sys.stdout, StringIO):
+ if isinstance(sys.stdout, io.StringIO):
return
if sys.version_info.major < 3:
@@ -280,8 +279,8 @@ def UnescapeHtml(text, replace_nbsp=True):
if name == 'nbsp' and not replace_nbsp:
return match.group() # Don't replace &nbsp;
assert name != None
- if name in entities.name2codepoint:
- return six.unichr(entities.name2codepoint[name])
+ if name in html.entities.name2codepoint:
+ return six.unichr(html.entities.name2codepoint[name])
else:
return match.group() # Unknown HTML character entity - don't replace
--
2.25.1

View File

@@ -0,0 +1,38 @@
From fad0069037ec39d853e215fcddd3d130d9781ffe Mon Sep 17 00:00:00 2001
From: Joanmarie Diggs <jdiggs@igalia.com>
Date: Tue, 30 Aug 2022 06:00:13 +0000
Subject: [PATCH] Fix build in Python 3.11 (invalid mode: 'rU')
In Python 3.11, 'U' ("universal newline") is no longer accepted in
the file mode, having been deprecated in Python 3.3. The "universal
newline" is used by default when a file is open in text mode.
This commit removes the 'U' from the two (non-third-party) places
it is used.
Bug: 1357549
Change-Id: I3305707858d8ba7a9f518656a9b97dc1702bbe94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3859535
Reviewed-by: Mike Pinkerton <pinkerton@chromium.org>
Commit-Queue: Joanmarie Diggs <jdiggs@igalia.com>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1040794}
Upstream: https://github.com/chromium/chromium/commit/0991fc6acd3c85472000f2055af542515c3c6297
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
chromium/PRESUBMIT_test_mocks.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chromium/PRESUBMIT_test_mocks.py b/chromium/PRESUBMIT_test_mocks.py
index 0a9e5a54ecd..6b0eca1e1c2 100644
--- a/chromium/PRESUBMIT_test_mocks.py
+++ b/chromium/PRESUBMIT_test_mocks.py
@@ -119,7 +119,7 @@ class MockInputApi(object):
def PresubmitLocalPath(self):
return self.presubmit_local_path
- def ReadFile(self, filename, mode='rU'):
+ def ReadFile(self, filename, mode='r'):
if hasattr(filename, 'AbsoluteLocalPath'):
filename = filename.AbsoluteLocalPath()
for file_ in self.files:

View File

@@ -0,0 +1,51 @@
From f01ebcd09a0b43589671fc8573bd0c00781c618e Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Sat, 13 Jul 2024 17:34:13 +0200
Subject: [PATCH] protobuf/python/google/protobuf/internal/python_message.py:
fix Python 3.12 compatibility
This is a part of the larger commit
29527fb6f77bdf5f2393f2327fec590c6deab27f from Chromium, which updates
their internal copy of protobuf to 3.20.0.
Upstream: https://github.com/chromium/chromium/commit/29527fb6f77bdf5f2393f2327fec590c6deab27f (part of)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
.../python/google/protobuf/internal/python_message.py | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/chromium/third_party/protobuf/python/google/protobuf/internal/python_message.py b/chromium/third_party/protobuf/python/google/protobuf/internal/python_message.py
index 803ae848493..a1954ce88c9 100755
--- a/chromium/third_party/protobuf/python/google/protobuf/internal/python_message.py
+++ b/chromium/third_party/protobuf/python/google/protobuf/internal/python_message.py
@@ -55,9 +55,6 @@ import struct
import sys
import weakref
-import six
-from six.moves import range
-
# We use "as" to avoid name collisions with variables.
from google.protobuf.internal import api_implementation
from google.protobuf.internal import containers
@@ -467,7 +464,7 @@ def _ReraiseTypeErrorWithFieldName(message_name, field_name):
exc = TypeError('%s for field %s.%s' % (str(exc), message_name, field_name))
# re-raise possibly-amended exception with original traceback:
- six.reraise(type(exc), exc, sys.exc_info()[2])
+ raise exc.with_traceback(sys.exc_info()[2])
def _AddInitMethod(message_descriptor, cls):
@@ -480,7 +477,7 @@ def _AddInitMethod(message_descriptor, cls):
enum_type with the same name. If the value is not a string, it's
returned as-is. (No conversion or bounds-checking is done.)
"""
- if isinstance(value, six.string_types):
+ if isinstance(value, str):
try:
return enum_type.values_by_name[value].number
except KeyError:
--
2.25.1

View File

@@ -0,0 +1,38 @@
From dbb4ea2d1f410df29eee5a0a06bfb8318b0781dc Mon Sep 17 00:00:00 2001
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Date: Sat, 13 Jul 2024 18:17:25 +0200
Subject: [PATCH] chromium/gpu/command_buffer/service/program_manager.cc:
StringPiece::as_string() is gone
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fix:
chromium/gpu/command_buffer/service/program_manager.cc:623:25: error: ‘using re2::StringPiece = class absl::string_view’ {aka ‘class absl::string_view’} has no member named ‘as_string’
By taking a small subset of upstream commit
https://github.com/chromium/chromium/commit/8d7cdb7b45abb2725200cde990d795024b405e79;
Upstream: https://github.com/chromium/chromium/commit/8d7cdb7b45abb2725200cde990d795024b405e79
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
chromium/gpu/command_buffer/service/program_manager.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chromium/gpu/command_buffer/service/program_manager.cc b/chromium/gpu/command_buffer/service/program_manager.cc
index 021530c7e39..5fb3e2b768e 100644
--- a/chromium/gpu/command_buffer/service/program_manager.cc
+++ b/chromium/gpu/command_buffer/service/program_manager.cc
@@ -620,7 +620,7 @@ std::string Program::ProcessLogInfo(const std::string& log) {
output += hashed_name;
}
- return output + input.as_string();
+ return output + std::string(input);
}
void Program::UpdateLogInfo() {
--
2.25.1

View File

@@ -0,0 +1,57 @@
From 1a713c6e4861f0672252425a1ccbfa9f45834d5d Mon Sep 17 00:00:00 2001
From: Mohamed Heikal <mheikal@chromium.org>
Date: Tue, 4 Apr 2023 17:04:04 +0000
Subject: [PATCH] Shorted printed cmd when long commands fail
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Some commands (eg: javac) are very long and when they fail most of the
screen/log is filled with the actual cmd vs the error message output.
Shorten printed CMDs to 200 chars unless an environment variable is set.
Bug: None
Change-Id: I92809a7e4a2b1204931a74fd6239803feddd430e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4395905
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Commit-Queue: Mohamed Heikal <mheikal@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1126065}
Upstream: Backport [https://github.com/chromium/chromium/commit/4c6fc1984970af4b2b1765014c9ddcd957ad7dda]
Signed-off-by: Gaël PORTAY <gael.portay@rtone.fr>
[gportay: remove import pipes]
---
chromium/build/android/gyp/util/build_utils.py | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/chromium/build/android/gyp/util/build_utils.py b/chromium/build/android/gyp/util/build_utils.py
index 02298051702..5fa753af459 100644
--- a/chromium/build/android/gyp/util/build_utils.py
+++ b/chromium/build/android/gyp/util/build_utils.py
@@ -12,7 +12,6 @@ import fnmatch
import json
import logging
import os
-import pipes
import re
import shutil
import stat
@@ -196,9 +195,14 @@ class CalledProcessError(Exception):
def __str__(self):
# A user should be able to simply copy and paste the command that failed
- # into their shell.
+ # into their shell (unless it is more than 200 chars).
+ # User can set PRINT_FULL_COMMAND=1 to always print the full command.
+ print_full = os.environ.get('PRINT_FULL_COMMAND', '0') != '0'
+ full_cmd = shlex.join(self.args)
+ short_cmd = textwrap.shorten(full_cmd, width=200)
+ printed_cmd = full_cmd if print_full else short_cmd
copyable_command = '( cd {}; {} )'.format(os.path.abspath(self.cwd),
- ' '.join(map(pipes.quote, self.args)))
+ printed_cmd)
return 'Command failed: {}\n{}'.format(copyable_command, self.output)
--
2.39.5

View File

@@ -0,0 +1,297 @@
From 80ddc04dd2398611afd8eafd89f5a6cd81b82363 Mon Sep 17 00:00:00 2001
From: Arnout Vandecappelle <arnout@rnout.be>
Date: Sun, 18 May 2025 09:59:24 +0200
Subject: [PATCH] Include <cstdint> for uintptr_t, uint8_t, etc.
GCC 15 adheres more strictly to the standard about which type is defined
in which header. As such, uintptr_t, uint8_t, etc. are no longer
available unless cstdint is included.
Add #include <cstdint> in the files that gave errors with GCC 15
Most (all?) of these fixes are already upstream, but spread out over
various commits that don't necessarily apply to our version. Fixing it
ourselves is simpler.
Signed-off-by: Arnout Vandecappelle <arnout@rnout.be>
Upstream: N/A, already fixed and we're very far behind
[added additional cstdint imports for qt5.15.18 bump]
Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
---
chromium/base/task/thread_pool.h | 1 +
chromium/gpu/command_buffer/common/skia_utils.h | 1 +
chromium/gpu/command_buffer/service/gpu_fence_manager.h | 1 +
chromium/net/tools/huffman_trie/trie_entry.h | 1 +
.../transport_security_state_entry.h | 1 +
chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h | 1 +
.../pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h | 1 +
chromium/third_party/pdfium/core/fxcodec/jbig2/jbig2_decoder.h | 1 +
chromium/third_party/pdfium/third_party/base/span.h | 1 +
.../perfetto/include/perfetto/ext/tracing/core/slice.h | 1 +
.../perfetto/include/perfetto/tracing/tracing_backend.h | 1 +
.../perfetto/src/trace_processor/importers/gzip/gzip_utils.h | 1 +
chromium/third_party/webrtc/api/fec_controller.h | 1 +
chromium/third_party/webrtc/api/network_state_predictor.h | 1 +
chromium/third_party/webrtc/api/task_queue/task_queue_base.h | 1 +
chromium/third_party/webrtc/common_video/h264/pps_parser.h | 2 ++
chromium/third_party/webrtc/common_video/h264/sps_parser.h | 2 ++
.../webrtc/modules/include/module_common_types_public.h | 1 +
.../third_party/webrtc/modules/video_coding/timestamp_map.h | 1 +
chromium/third_party/webrtc/video/stats_counter.h | 1 +
chromium/third_party/woff2/include/woff2/output.h | 1 +
21 files changed, 23 insertions(+)
diff --git a/chromium/base/task/thread_pool.h b/chromium/base/task/thread_pool.h
index 085c249ba58..afc674ca7f6 100644
--- a/chromium/base/task/thread_pool.h
+++ b/chromium/base/task/thread_pool.h
@@ -5,6 +5,7 @@
#ifndef BASE_TASK_THREAD_POOL_H_
#define BASE_TASK_THREAD_POOL_H_
+#include <cstdint>
#include <memory>
#include <utility>
diff --git a/chromium/gpu/command_buffer/common/skia_utils.h b/chromium/gpu/command_buffer/common/skia_utils.h
index 6508d79a1d4..a9f9528f133 100644
--- a/chromium/gpu/command_buffer/common/skia_utils.h
+++ b/chromium/gpu/command_buffer/common/skia_utils.h
@@ -5,6 +5,7 @@
#ifndef GPU_COMMAND_BUFFER_COMMON_SKIA_UTILS_H_
#define GPU_COMMAND_BUFFER_COMMON_SKIA_UTILS_H_
+#include <cstdint>
#include <memory>
#include "base/optional.h"
diff --git a/chromium/gpu/command_buffer/service/gpu_fence_manager.h b/chromium/gpu/command_buffer/service/gpu_fence_manager.h
index ee50d6fddd1..576f6e3bc8a 100644
--- a/chromium/gpu/command_buffer/service/gpu_fence_manager.h
+++ b/chromium/gpu/command_buffer/service/gpu_fence_manager.h
@@ -5,6 +5,7 @@
#ifndef GPU_COMMAND_BUFFER_SERVICE_GPU_FENCE_MANAGER_H_
#define GPU_COMMAND_BUFFER_SERVICE_GPU_FENCE_MANAGER_H_
+#include <cstdint>
#include <memory>
#include <vector>
diff --git a/chromium/net/tools/huffman_trie/trie_entry.h b/chromium/net/tools/huffman_trie/trie_entry.h
index fe70260f981..eac6a7fc249 100644
--- a/chromium/net/tools/huffman_trie/trie_entry.h
+++ b/chromium/net/tools/huffman_trie/trie_entry.h
@@ -5,6 +5,7 @@
#ifndef NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_
#define NET_TOOLS_HUFFMAN_TRIE_TRIE_ENTRY_H_
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
diff --git a/chromium/net/tools/transport_security_state_generator/transport_security_state_entry.h b/chromium/net/tools/transport_security_state_generator/transport_security_state_entry.h
index 59059d88f6d..fe15bb7429f 100644
--- a/chromium/net/tools/transport_security_state_generator/transport_security_state_entry.h
+++ b/chromium/net/tools/transport_security_state_generator/transport_security_state_entry.h
@@ -5,6 +5,7 @@
#ifndef NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_TRANSPORT_SECURITY_STATE_ENTRY_H_
#define NET_TOOLS_TRANSPORT_SECURITY_STATE_GENERATOR_TRANSPORT_SECURITY_STATE_ENTRY_H_
+#include <cstdint>
#include <map>
#include <memory>
#include <string>
diff --git a/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h b/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h
index fd68b6b49d3..dc7c015d56c 100644
--- a/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h
+++ b/chromium/third_party/pdfium/core/fpdfapi/page/cpdf_function.h
@@ -7,6 +7,7 @@
#ifndef CORE_FPDFAPI_PAGE_CPDF_FUNCTION_H_
#define CORE_FPDFAPI_PAGE_CPDF_FUNCTION_H_
+#include <cstdint>
#include <memory>
#include <set>
#include <vector>
diff --git a/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h b/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h
index 9bcdd371e79..5921794f1f3 100644
--- a/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h
+++ b/chromium/third_party/pdfium/core/fxcodec/jbig2/JBig2_DocumentContext.h
@@ -7,6 +7,7 @@
#ifndef CORE_FXCODEC_JBIG2_JBIG2_DOCUMENTCONTEXT_H_
#define CORE_FXCODEC_JBIG2_JBIG2_DOCUMENTCONTEXT_H_
+#include <cstdint>
#include <list>
#include <memory>
#include <utility>
diff --git a/chromium/third_party/pdfium/core/fxcodec/jbig2/jbig2_decoder.h b/chromium/third_party/pdfium/core/fxcodec/jbig2/jbig2_decoder.h
index 97867ca851c..a0ac6bd4ba5 100644
--- a/chromium/third_party/pdfium/core/fxcodec/jbig2/jbig2_decoder.h
+++ b/chromium/third_party/pdfium/core/fxcodec/jbig2/jbig2_decoder.h
@@ -7,6 +7,7 @@
#ifndef CORE_FXCODEC_JBIG2_JBIG2_DECODER_H_
#define CORE_FXCODEC_JBIG2_JBIG2_DECODER_H_
+#include <cstdint>
#include <memory>
#include "core/fxcodec/fx_codec_def.h"
diff --git a/chromium/third_party/pdfium/third_party/base/span.h b/chromium/third_party/pdfium/third_party/base/span.h
index bb07f43a021..c06dfb87348 100644
--- a/chromium/third_party/pdfium/third_party/base/span.h
+++ b/chromium/third_party/pdfium/third_party/base/span.h
@@ -5,6 +5,7 @@
#ifndef THIRD_PARTY_BASE_SPAN_H_
#define THIRD_PARTY_BASE_SPAN_H_
+#include <cstdint>
#include <stddef.h>
#include <algorithm>
diff --git a/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h b/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h
index 4ce66fdeadc..3f3932b2287 100644
--- a/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h
+++ b/chromium/third_party/perfetto/include/perfetto/ext/tracing/core/slice.h
@@ -20,6 +20,7 @@
#include <stddef.h>
#include <string.h>
+#include <cstdint>
#include <memory>
#include <string>
#include <vector>
diff --git a/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h b/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h
index 67b0d2eb51e..3c2462de588 100644
--- a/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h
+++ b/chromium/third_party/perfetto/include/perfetto/tracing/tracing_backend.h
@@ -17,6 +17,7 @@
#ifndef INCLUDE_PERFETTO_TRACING_TRACING_BACKEND_H_
#define INCLUDE_PERFETTO_TRACING_TRACING_BACKEND_H_
+#include <cstdint>
#include <memory>
#include <string>
diff --git a/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h b/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h
index 624363ff66f..68783e879c8 100644
--- a/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h
+++ b/chromium/third_party/perfetto/src/trace_processor/importers/gzip/gzip_utils.h
@@ -18,6 +18,7 @@
#define SRC_TRACE_PROCESSOR_IMPORTERS_GZIP_GZIP_UTILS_H_
#include <memory>
+#include <cstdint>
struct z_stream_s;
diff --git a/chromium/third_party/webrtc/api/fec_controller.h b/chromium/third_party/webrtc/api/fec_controller.h
index 3e5f7bb2168..87777a53f1c 100644
--- a/chromium/third_party/webrtc/api/fec_controller.h
+++ b/chromium/third_party/webrtc/api/fec_controller.h
@@ -11,6 +11,7 @@
#ifndef API_FEC_CONTROLLER_H_
#define API_FEC_CONTROLLER_H_
+#include <cstdint>
#include <memory>
#include <vector>
diff --git a/chromium/third_party/webrtc/api/network_state_predictor.h b/chromium/third_party/webrtc/api/network_state_predictor.h
index 9cf5ab6f022..2d165baa5da 100644
--- a/chromium/third_party/webrtc/api/network_state_predictor.h
+++ b/chromium/third_party/webrtc/api/network_state_predictor.h
@@ -11,6 +11,7 @@
#ifndef API_NETWORK_STATE_PREDICTOR_H_
#define API_NETWORK_STATE_PREDICTOR_H_
+#include <cstdint>
#include <memory>
#include <vector>
diff --git a/chromium/third_party/webrtc/api/task_queue/task_queue_base.h b/chromium/third_party/webrtc/api/task_queue/task_queue_base.h
index 90b1efd31eb..63526a7383b 100644
--- a/chromium/third_party/webrtc/api/task_queue/task_queue_base.h
+++ b/chromium/third_party/webrtc/api/task_queue/task_queue_base.h
@@ -10,6 +10,7 @@
#ifndef API_TASK_QUEUE_TASK_QUEUE_BASE_H_
#define API_TASK_QUEUE_TASK_QUEUE_BASE_H_
+#include <cstdint>
#include <memory>
#include "api/task_queue/queued_task.h"
diff --git a/chromium/third_party/webrtc/common_video/h264/pps_parser.h b/chromium/third_party/webrtc/common_video/h264/pps_parser.h
index d6c31b06887..d02f544eecc 100644
--- a/chromium/third_party/webrtc/common_video/h264/pps_parser.h
+++ b/chromium/third_party/webrtc/common_video/h264/pps_parser.h
@@ -11,6 +11,8 @@
#ifndef COMMON_VIDEO_H264_PPS_PARSER_H_
#define COMMON_VIDEO_H264_PPS_PARSER_H_
+#include <cstdint>
+
#include "absl/types/optional.h"
namespace rtc {
diff --git a/chromium/third_party/webrtc/common_video/h264/sps_parser.h b/chromium/third_party/webrtc/common_video/h264/sps_parser.h
index 76e627d27a3..0c0937eb227 100644
--- a/chromium/third_party/webrtc/common_video/h264/sps_parser.h
+++ b/chromium/third_party/webrtc/common_video/h264/sps_parser.h
@@ -11,6 +11,8 @@
#ifndef COMMON_VIDEO_H264_SPS_PARSER_H_
#define COMMON_VIDEO_H264_SPS_PARSER_H_
+#include <cstdint>
+
#include "absl/types/optional.h"
namespace rtc {
diff --git a/chromium/third_party/webrtc/modules/include/module_common_types_public.h b/chromium/third_party/webrtc/modules/include/module_common_types_public.h
index 345e45ce127..8338a514624 100644
--- a/chromium/third_party/webrtc/modules/include/module_common_types_public.h
+++ b/chromium/third_party/webrtc/modules/include/module_common_types_public.h
@@ -11,6 +11,7 @@
#ifndef MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
#define MODULES_INCLUDE_MODULE_COMMON_TYPES_PUBLIC_H_
+#include <cstdint>
#include <limits>
#include "absl/types/optional.h"
diff --git a/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h b/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h
index c85666c9aa0..dfb90e447d8 100644
--- a/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h
+++ b/chromium/third_party/webrtc/modules/video_coding/timestamp_map.h
@@ -11,6 +11,7 @@
#ifndef MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_
#define MODULES_VIDEO_CODING_TIMESTAMP_MAP_H_
+#include <cstdint>
#include <memory>
namespace webrtc {
diff --git a/chromium/third_party/webrtc/video/stats_counter.h b/chromium/third_party/webrtc/video/stats_counter.h
index fb6017f415f..ed5530ca0f7 100644
--- a/chromium/third_party/webrtc/video/stats_counter.h
+++ b/chromium/third_party/webrtc/video/stats_counter.h
@@ -11,6 +11,7 @@
#ifndef VIDEO_STATS_COUNTER_H_
#define VIDEO_STATS_COUNTER_H_
+#include <cstdint>
#include <memory>
#include <string>
diff --git a/chromium/third_party/woff2/include/woff2/output.h b/chromium/third_party/woff2/include/woff2/output.h
index c325f67be72..5c4dc4d1850 100644
--- a/chromium/third_party/woff2/include/woff2/output.h
+++ b/chromium/third_party/woff2/include/woff2/output.h
@@ -10,6 +10,7 @@
#define WOFF2_WOFF2_OUT_H_
#include <algorithm>
+#include <cstdint>
#include <cstring>
#include <memory>
#include <string>

View File

@@ -0,0 +1,5 @@
# Not user-selectable, it is only needed to be copied
# into the qt5webengine source tree.
config BR2_PACKAGE_QT5WEBENGINE_CHROMIUM
bool
select BR2_PACKAGE_QT5WEBENGINE_CHROMIUM_CATAPULT

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,23 @@
################################################################################
#
# qt5webengine-chromium
#
################################################################################
QT5WEBENGINE_CHROMIUM_VERSION = 85337c28bae7d7d2c79282c4f4c92435cd7649b8
QT5WEBENGINE_CHROMIUM_SITE = $(QT5_SITE)/qtwebengine-chromium/-/archive/$(QT5WEBENGINE_CHROMIUM_VERSION)
QT5WEBENGINE_CHROMIUM_SOURCE = qtwebengine-chromium-$(QT5WEBENGINE_CHROMIUM_VERSION).tar.bz2
QT5WEBENGINE_CHROMIUM_PATCH_DEPENDENCIES = qt5webengine-chromium-catapult
QT5WEBENGINE_CHROMIUM_INSTALL_TARGET = NO
include package/qt5/qt5webengine-chromium/chromium-latest.inc
QT5WEBENGINE_CHROMIUM_LICENSE = BSD-3-Clause, GPL-2.0 or LGPL-3.0 or GPL-3.0 or GPL-3.0 with exception
define QT5WEBENGINE_CHROMIUM_COPY_CATAPULT
rm -rf $(@D)/chromium/third_party/catapult
cp -a $(QT5WEBENGINE_CHROMIUM_CATAPULT_DIR) $(@D)/chromium/third_party/catapult
endef
QT5WEBENGINE_CHROMIUM_POST_PATCH_HOOKS += QT5WEBENGINE_CHROMIUM_COPY_CATAPULT
$(eval $(generic-package))