[cef][wam] Make the recipe work with official chromium release tarballs
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / cef / 0011-Avoid-the-RuntimeError-dictionary-changed-size-durin.patch
1 From db006bee47fd4cd5f9138a0b916b81dff9bab3d0 Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Wed, 8 Nov 2023 13:37:27 -0300
4 Subject: [PATCH 11/11] Avoid the RuntimeError: dictionary changed size during
5  iteration
6
7 ---
8  tools/gn_args.py | 2 +-
9  1 file changed, 1 insertion(+), 1 deletion(-)
10
11 diff --git a/tools/gn_args.py b/tools/gn_args.py
12 index 80545da49..9e2e9c061 100644
13 --- a/tools/gn_args.py
14 +++ b/tools/gn_args.py
15 @@ -486,7 +486,7 @@ def GetConfigArgs(args, is_debug, cpu, bypass_sysroot_check=False):
16  
17    if platform == 'linux' and not cpu.startswith('arm'):
18      # Remove any arm-related values from non-arm configs.
19 -    for key in result.keys():
20 +    for key, value in list(result.items()):
21        if key.startswith('arm_'):
22          del result[key]
23  
24 -- 
25 2.42.1
26