Differential D38165 Diff 118368 www/qt5-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py
Changeset View
Changeset View
Standalone View
Standalone View
www/qt5-webengine/files/patch-src_3rdparty_chromium_build_gn__run__binary.py
--- src/3rdparty/chromium/build/gn_run_binary.py.orig 2018-11-13 18:25:11 UTC | --- src/3rdparty/chromium/build/gn_run_binary.py.orig 2021-12-15 16:12:54 UTC | ||||
+++ src/3rdparty/chromium/build/gn_run_binary.py | +++ src/3rdparty/chromium/build/gn_run_binary.py | ||||
@@ -19,7 +19,7 @@ path = './' + sys.argv[1] | @@ -24,7 +24,7 @@ args = [path] + sys.argv[2:] | ||||
# The rest of the arguments are passed directly to the executable. | # The rest of the arguments are passed directly to the executable. | ||||
args = [path] + sys.argv[2:] | args = [path] + sys.argv[2:] | ||||
-ret = subprocess.call(args) | -ret = subprocess.call(args) | ||||
+ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"}) | +ret = subprocess.call(args, env={"CHROME_EXE_PATH":"${WRKSRC}/out/Release/chrome"}) | ||||
if ret != 0: | if ret != 0: | ||||
if ret <= -100: | if ret <= -100: | ||||
# Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to | # Windows error codes such as 0xC0000005 and 0xC0000409 are much easier to |