[cef][wam] Make the recipe work with official chromium release tarballs
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / chromium / 0021-M118-fix-Add-multiple-missing-includes.patch
1 From 99b897cb41f70222477ed55128b38ea78edc78ff Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Tue, 31 Oct 2023 10:29:32 -0300
4 Subject: [PATCH 21/33] [M118-fix] Add multiple missing includes
5
6 Fix build issues related to missing includes.
7
8 Upstream-Status: Apparently the issue only happens on older versions of
9 clang, but it's worth checking if it's applicable.
10 Signed-off-by: Roger Zanoni <rzanoni@igalia.com>
11 ---
12  chrome/browser/ui/views/dark_mode_manager_linux.h  | 1 +
13  net/cert/pki/general_names.h                       | 1 +
14  net/filter/zstd_source_stream.cc                   | 1 +
15  ui/events/gesture_detection/motion_event_generic.h | 2 ++
16  4 files changed, 5 insertions(+)
17
18 diff --git a/chrome/browser/ui/views/dark_mode_manager_linux.h b/chrome/browser/ui/views/dark_mode_manager_linux.h
19 index f9bcd034d141d..e98db21ef1767 100644
20 --- a/chrome/browser/ui/views/dark_mode_manager_linux.h
21 +++ b/chrome/browser/ui/views/dark_mode_manager_linux.h
22 @@ -6,6 +6,7 @@
23  #define CHROME_BROWSER_UI_VIEWS_DARK_MODE_MANAGER_LINUX_H_
24  
25  #include <string>
26 +#include <vector>
27  
28  #include "base/gtest_prod_util.h"
29  #include "base/memory/scoped_refptr.h"
30 diff --git a/net/cert/pki/general_names.h b/net/cert/pki/general_names.h
31 index e35e410a2fba7..7704837970178 100644
32 --- a/net/cert/pki/general_names.h
33 +++ b/net/cert/pki/general_names.h
34 @@ -6,6 +6,7 @@
35  #define NET_CERT_PKI_GENERAL_NAMES_H_
36  
37  #include <memory>
38 +#include <string_view>
39  #include <vector>
40  
41  #include "net/base/net_export.h"
42 diff --git a/net/filter/zstd_source_stream.cc b/net/filter/zstd_source_stream.cc
43 index bd337d14366bb..551729ac542b7 100644
44 --- a/net/filter/zstd_source_stream.cc
45 +++ b/net/filter/zstd_source_stream.cc
46 @@ -5,6 +5,7 @@
47  #include "net/filter/zstd_source_stream.h"
48  
49  #include <algorithm>
50 +#include <unordered_map>
51  #include <utility>
52  
53  #define ZSTD_STATIC_LINKING_ONLY
54 diff --git a/ui/events/gesture_detection/motion_event_generic.h b/ui/events/gesture_detection/motion_event_generic.h
55 index 5460f7f8adf46..e508335d47ae9 100644
56 --- a/ui/events/gesture_detection/motion_event_generic.h
57 +++ b/ui/events/gesture_detection/motion_event_generic.h
58 @@ -5,6 +5,8 @@
59  #ifndef UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_GENERIC_H_
60  #define UI_EVENTS_GESTURE_DETECTION_MOTION_EVENT_GENERIC_H_
61  
62 +#include <vector>
63 +
64  #include <stddef.h>
65  #include <stdint.h>
66  
67 -- 
68 2.42.1
69