[wam][cef] Add the CEF recipe
[AGL/meta-agl-demo.git] / recipes-wam / cef / files / chromium / 0002-Don-t-look-for-depot_tools-in-chrommium-s-third_part.patch
1 From dd5ce9e0d0dbf55184a9c57c4c81eeaf9a7dd3a9 Mon Sep 17 00:00:00 2001
2 From: Roger Zanoni <rzanoni@igalia.com>
3 Date: Fri, 7 Apr 2023 16:28:51 +0200
4 Subject: [PATCH 2/9] Don't look for depot_tools in chrommium's third_party
5  folder
6
7 ---
8  build/find_depot_tools.py | 8 --------
9  1 file changed, 8 deletions(-)
10
11 diff --git a/build/find_depot_tools.py b/build/find_depot_tools.py
12 index 94985fe7b3495..6d2adcfa63531 100755
13 --- a/build/find_depot_tools.py
14 +++ b/build/find_depot_tools.py
15 @@ -28,14 +28,6 @@ def IsRealDepotTools(path):
16  
17  def add_depot_tools_to_path():
18    """Search for depot_tools and add it to sys.path."""
19 -  # First, check if we have a DEPS'd in "depot_tools".
20 -  deps_depot_tools = os.path.join(SRC, 'third_party', 'depot_tools')
21 -  if IsRealDepotTools(deps_depot_tools):
22 -    # Put the pinned version at the start of the sys.path, in case there
23 -    # are other non-pinned versions already on the sys.path.
24 -    sys.path.insert(0, deps_depot_tools)
25 -    return deps_depot_tools
26 -
27    # Then look if depot_tools is already in PYTHONPATH.
28    for i in sys.path:
29      if i.rstrip(os.sep).endswith('depot_tools') and IsRealDepotTools(i):
30 -- 
31 2.39.2
32