|
1 | | -{ qtModule, qtCompatVersion, |
2 | | - qtdeclarative, qtquickcontrols, qtlocation, qtwebchannel |
| 1 | +{ qtModule |
| 2 | +, qtdeclarative, qtquickcontrols, qtlocation, qtwebchannel |
3 | 3 |
|
4 | 4 | , bison, coreutils, flex, git, gperf, ninja, pkgconfig, python2, which |
5 | 5 |
|
@@ -54,14 +54,6 @@ qtModule { |
54 | 54 | '' |
55 | 55 | ( cd src/3rdparty/chromium; patchShebangs . ) |
56 | 56 | '' |
57 | | - # Patch Chromium build files |
58 | | - + optionalString (lib.versionOlder qtCompatVersion "5.12") '' |
59 | | - substituteInPlace ./src/3rdparty/chromium/build/common.gypi --replace /bin/echo ${coreutils}/bin/echo |
60 | | - substituteInPlace ./src/3rdparty/chromium/v8/gypfiles/toolchain.gypi \ |
61 | | - --replace /bin/echo ${coreutils}/bin/echo |
62 | | - substituteInPlace ./src/3rdparty/chromium/v8/gypfiles/standalone.gypi \ |
63 | | - --replace /bin/echo ${coreutils}/bin/echo |
64 | | - '' |
65 | 57 | # Prevent Chromium build script from making the path to `clang` relative to |
66 | 58 | # the build directory. `clang_base_path` is the value of `QMAKE_CLANG_DIR` |
67 | 59 | # from `src/core/config/mac_osx.pri`. |
@@ -91,10 +83,10 @@ qtModule { |
91 | 83 | '' |
92 | 84 | # Following is required to prevent a build error: |
93 | 85 | # ninja: error: '/nix/store/z8z04p0ph48w22rqzx7ql67gy8cyvidi-SDKs/MacOSX10.12.sdk/usr/include/mach/exc.defs', needed by 'gen/third_party/crashpad/crashpad/util/mach/excUser.c', missing and no known rule to make it |
94 | | - + (optionalString (lib.versionAtLeast qtCompatVersion "5.11") '' |
| 86 | + + '' |
95 | 87 | substituteInPlace src/3rdparty/chromium/third_party/crashpad/crashpad/util/BUILD.gn \ |
96 | 88 | --replace '$sysroot/usr' "${darwin.xnu}" |
97 | | - '') |
| 89 | + '' |
98 | 90 | + '' |
99 | 91 | # Apple has some secret stuff they don't share with OpenBSM |
100 | 92 | substituteInPlace src/3rdparty/chromium/base/mac/mach_port_broker.mm \ |
|
0 commit comments