summaryrefslogtreecommitdiffstats
path: root/src/core/configure
Commit message (Collapse)AuthorAgeFilesLines
* Fix wrong CHROMIUM_VERSION with cmakePeter Varga2021-08-061-1/+4
| | | | | | | | Fixes: QTBUG-95614 Change-Id: I78b011400c10c28c5de15ea12f684b7e1766af37 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit e87e25b32f98420fa527276ea6a73d1a76e4e64c) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Refactor cmake buildMichal Klocek2021-07-222-52/+0
| | | | | | | | | | Add macros to share common cmake code blocks with QtPdf. Reconsider later to do proper scoping and change those to functions if make sense. Change-Id: I500acdba1415feab373a012dcf9a9ddedf33cfac (cherry picked from commit b3031066d17ef01802a4c9752f87675d6a4a1df5) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Cleanup gni filesMichal Klocek2021-07-211-1/+63
| | | | | | | | | | | | | | We use now BUILD.gn template which we configure from cmake, therefore source and resource gni files are no longer in use and are outdated. Remove them. Remove also qtwebenigne.gni which did not really encapsulate anything. Change-Id: I847d27be24a08ea03da93464d086c0be8b5f8e4b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 8deed53fcd8937b46cabd19eaf14e6176ef5436b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Adaptations for 90-basedAllan Sandfeld Jensen2021-07-131-4/+17
| | | | | | Change-Id: I8402b044d8e12d75e144a00984b856f3de10bffd Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> (cherry picked from commit 1d988d971bc4270ba3d148e8e2c143bf8f625b6e)
* Add cross compilation support to cmake buildsMichal Klocek2021-07-022-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add arm cross-compile basic support. CMake does not support host builds. However we do host build with gn and changing that would require an extra effort to keep all necessary changes with Chromium upstream. Therefore let gn to perform the host build for required tools and just feed gn with all the build data. Add new build steps: * install gn into QT_HOST_PATH/libexec. * run hostBuild project to get native architecture and compiler * call PkgConfigHost to pass pkg-config paths to gn * create wrapper script for host pkg-config to escape yocto shell pkg config exports This change also splits gn toolchain into 3 toolchains host,target,v8 Now hostBuild provides host and v8 toolchain in case of cross compile. The build optimizations will follow in another patch. Fix not existing 'boot2qt' condition and enables more test on QEMU. Note this is tested only with yocto based images. Pick-to: dev Task-number: QTBUG-91760 Change-Id: Ic2bea12229acc71fbd36a848e9ed4fed7e14b485 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add spellchecker support and qwebengine_covert_dict to cmakeMichal Klocek2021-06-151-1/+15
| | | | | | | | | | Add spellchecker dictionary conversion tool. Change scope of gn object imported variables to function scope. Change-Id: Ice579a89e20b80034b675e7f767a774100478472 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit 9451ceee24e832d32a86ae6a2f37eea781acaa2f) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
* Port 626830a7 to cmakeMichal Klocek2021-06-051-0/+1
| | | | | | | | | | | | Generate mojo bindings before compiling extension API registration Speculative fix. Add custom qtwebengine mojo_bindings as a dependency for compiling chrome sources. https://codereview.qt-project.org/c/qt/qtwebengine/+/351361 Change-Id: I9d7de2d1f69072249549fa09afd0996f495b23a7 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix generating webrtc logging resources with cmakePeter Varga2021-05-271-1/+8
| | | | | | | Also disable webrtc logging test if extensions are disabled. Change-Id: I49c8d4fb6049c9aed174f62f731b0f56dae490ba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add windows to the cmake buildMichal Klocek2021-05-221-2/+10
| | | | | | | | Fix cmake for windows builds and add QtWebEngineSandbox target. Task-number: QTBUG-91760 Change-Id: If962a81ddfb509d104ad8ffbfbf34f1150ae82ce Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add BUILD.gn generation for the gn root and gn toolchainMichal Klocek2021-05-122-0/+559
Use simple templates. This will get own target in followup changes. Task-number: QTBUG-91760 Change-Id: I0b6991f7b54183aa9fb667cec5ad347f66c78b99 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>