7
0
Files
nodejs-electron/system-gtest.patch

14 lines
563 B
Diff
Raw Normal View History

Accepting request 990766 from home:dziobian:gulgul-ultron:19 - New upstream release 19.0.9 * Updated Chromium to 102.0.5005.167 * Fixed a potential crash when changing window settings after initializing WCO with an invalid titleBarStyle * Fixed alwaysOnTop BrowserWindow option for X11. * Fixed an issue where printing with an invalid deviceName caused silent failures. * Fixed empty app_id when running under wayland. * Prevent brief display of "Ozone X11" in window title. - Remove some unused huge libraries from third_party in source tarball. - Remove process_doc_wrapper-do-not-assume-ABI.patch. The file being patched was not getting compiled for a while, and is now removed from the tarball. - Add system-gtest.patch - Add breakpad-system-curl.patch - Do not require SSE3 (chromium-102-compiler.patch). Both openSUSE and Fedora still support the original Opteron, and package maintainers should not unilaterally require more. - Use system node for the typescript compiler (again). We do not need to force node16 (Fedora compiles fine with node18 even), Factory pushes a devel node version as default for a reason, and it accidentally broke build on RISC-V which only has node17. - Restore full debuginfo on the C-only code parts. - Document all other deviations from recommended compilation options. - Remove obsolete chromium-96-CouponDB-include.patch - Correct licence in header (Electron bundles Chromium) OBS-URL: https://build.opensuse.org/request/show/990766 OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/nodejs-electron?expand=0&rev=23
2022-08-01 08:25:54 +00:00
We don't need this huge test-only dependency in the tarball. Only one header is needed in prod code, so unbundling is not a problem even on old targets.
--- a/testing/gtest/include/gtest/gtest_prod.h
+++ b/testing/gtest/include/gtest/gtest_prod.h
@@ -10,6 +10,6 @@
// and testing/gmock, instead of directly including files in
// third_party/googletest.
-#include "third_party/googletest/src/googletest/include/gtest/gtest_prod.h"
+#include <gtest/gtest_prod.h>
#endif // TESTING_GTEST_INCLUDE_GTEST_GTEST_PROD_H_
\ No newline at end of file