summaryrefslogtreecommitdiffstats
path: root/src/core/config
Commit message (Collapse)AuthorAgeFilesLines
* Remove gyp handlingAllan Sandfeld Jensen2017-03-229-487/+211
| | | | | | | Remove now dead GYP related code. Change-Id: I7d5b8f28f8925e553211dc88acd571b605ffe80d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support Visual Studio 2017Joerg Bornemann2017-03-221-0/+2
| | | | | Change-Id: I6b8e49913fc73ec3728b5c005fd83d2e573ad4ea Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Cleanup ozone platformAllan Sandfeld Jensen2017-03-201-1/+1
| | | | | | | | | Rename the platform to make it clear it is not just for eglfs. Fixes formating, and also removes parts unnecessary for us that original ozone platforms doesn't use anymore either. Change-Id: I04e5792e2ced2580ae0cbfe208b4e594af60a09a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Port MIPS configuration to GNAllan Sandfeld Jensen2017-03-201-0/+18
| | | | | | | Translate MIPS configuration to GN like we do for GYP Change-Id: Ieb2534eeb40bdec54d2c986c65c523239c41a355 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix OpenGL for embedded buildsAllan Sandfeld Jensen2017-03-201-0/+2
| | | | | | | | Sets the external ozone platform and make sure we don't set bad QT_LIBDIR defines for libEGL and libGLESv2 when not doing cross builds. Change-Id: I60eada3c93224a3aa3a105b007d669932516d331 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Support appstore compliancy switch from the new configure systemAlexandru Croitor2017-03-171-0/+2
| | | | | | | Change-Id: Ic7768d9b2677ed488d6af05f34942321b670671e Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support linux-clang-libc++ buildsAllan Sandfeld Jensen2017-03-141-0/+2
| | | | | | | | | | | Updates chromium including: 579ba08 Remove dependency on data_use_measure compontent 7172fcd Fix shim headers for vpx 0085696 Fix builds with path containing "+" aad9dc4 Support linux-clang-libc++ builds Change-Id: Ic4fa0bea77ee170c55f02efb883d86b3537d9229 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Port ARM configuration to GNAllan Sandfeld Jensen2017-03-141-0/+37
| | | | | | | Detect ARM configuration and pass it to GN. Change-Id: I809db0e096dc8c8785b37990769d4a981b147624 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Enable FFMPEG configuration for GNAllan Sandfeld Jensen2017-03-082-1/+3
| | | | | | | | | | Enables proprietary codecs and using system FFMPEG Pulls in Chromium changes: 725c4c9 Optionally link with system ffmpeg Change-Id: Id7b3379c99a709348bf8684f78e44b41169a1e5a Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix 32-bit Windows buildJoerg Bornemann2017-03-071-0/+1
| | | | | | | | We must set target_cpu="x86" for 32 bit builds. Task-number: QTBUG-59334 Change-Id: I2d58045de47c51953c5f8712a175d2ebdcb00e15 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Use GN linker flags on core_moduleAllan Sandfeld Jensen2017-03-071-1/+1
| | | | | | | | | | | Again enable linking with the flags GN calculated for us. Also fixes a typo that meant we didn't get the link timing flags on Windows. Change-Id: Idd46fd65ea7618a9c510fa2c790569f5974aa5ff Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Respect use system opus, vpx and icu configurationAllan Sandfeld Jensen2017-03-071-3/+3
| | | | | | | | | | | Also updates Chromium pulling in: eb8da98 Reland: Optionally unbundle libvpx, opus and FLAC 6cdd0a0 Legalize chromium's directory sort 503e84f46 Optionally link with system ICU e429a99 Fix incorrect dependency on shim headers Change-Id: If6da022c410ac5de6ab40ab8a800bf547406efb5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Re-enable v8 snapshots for cross buildsAllan Sandfeld Jensen2017-03-031-2/+0
| | | | | | | | They were not working due to a typo causing v8_current_cpu to be set wrong in configure_host.pro, that has been fixed in the meantime. Change-Id: I18ca533806d65fb9bf6e6c26c0cb01d97ed124dd Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix cross-compiled desktop linux buildsAllan Sandfeld Jensen2017-03-022-5/+5
| | | | | | | | With embedded-builds now being a configure option we can have cross compiled desktop builds, and should support them. Change-Id: I43d9f26dc13bc1709c24d1420868e3c8bbbc458f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix linux-clang buildsAllan Sandfeld Jensen2017-03-023-2/+13
| | | | | | | Pass through the right GN args to make clang builds work. Change-Id: I99d7f0caaed8a8c594a8b40f18207f2f95fe03b1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Make xscrnsaver optionalAllan Sandfeld Jensen2017-03-021-0/+1
| | | | | | | | Allow building on machines where xscrnsaver is not present, but turning of the corresponding features. Change-Id: Iabf7063fcc25f68f5a9fefc95a1caf164da49fed Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Don't use_external_popup_menu on macOS so that popups actually appearAlexandru Croitor2017-03-011-1/+2
| | | | | | | | | | | | Using the use_external_popup_menu option forces Chromium to compile a different code path for displaying popup menus on macOS, which is not implemented by the Qt overrides, and thus no popups appear. Thus that option should be disabled, and instead the old code path should be used, just like in previous versions of Qt. Change-Id: Ic0f0dca2e097aac2c01e729d7a91425ce3f52674 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support cross-builds and alternative compilers with GNAllan Sandfeld Jensen2017-03-012-28/+56
| | | | | | | | Adds GN versions of the gyp_configure targets, to create custom toolchains we can use to override compilers used by GN. Change-Id: Ic3a9cb7e83f845180396faff632f72f9c24f3365 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Simple adaptations to Chromium 55Allan Sandfeld Jensen2017-03-015-13/+83
| | | | | | | The simplest adaptations to API and build changes in Chromium 55 Change-Id: I923fa188690a04902492317807f72f006bcab9c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Fix release builds for debug and release buildsMichal Klocek2017-02-151-1/+2
| | | | | | | | | | | | Small typo makes debug builds make release. Fix core lib and covert tool compilation for debug builds. Updates chromium: b0bb0288 Fix debug builds compilation Change-Id: Id478ab5e2a2a1b3d5716002f76f252451f69f5ac Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable debug symbols in webcore and v8baseAllan Sandfeld Jensen2017-02-141-0/+2
| | | | | | | | Disable the largest sources of debug symbols like we did with GYP builds. Change-Id: I23f6c88a7929eaabfa477896a332a229872a83f5 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Handle reduce_binary_size for GNv5.9.0-alpha1Allan Sandfeld Jensen2017-02-131-0/+3
| | | | | | | Switches to -Os optimizations. Change-Id: Ia40380dce5f908d64c5d411687d42d13728c85cd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Switch linux desktop builds to gnMichal Klocek2017-02-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Updates chromium: 1fd9f11 Remove linking with libatomic fa90180 Fix missing dependency on libffi b5a3338 Fix broken unit test for gn 70ea2bc Fix gn compilation for rhel6.6, rhel7.2 f408e89 Improve .pri output 492b20a Remove gtk2 dependency in tests 42e3484 Allow Service Workers without HTTP headers 7a1be30 Do not require gnome-keyring 11e5c2d Revert "Add mus and catapult project files" 891fb3a Remove various test and telemetry dependencies ddd6053 Do not use last_commit_position for gn build e85719e Windows and macOS GN integration 8fda2ae Make more features configurable 93db377 [Backport] Don't schedule wholeSubtreeInvalid sets [ChangeLog] Switch linux desktop builds to gn Change-Id: I0f766b9ee9ea65a2f92d9818ea5fb34a2e65c52d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make WebRTC support configurableAllan Sandfeld Jensen2017-01-312-1/+9
| | | | | | | | | | WebRTC is a big feature that Chromium has left configurable for a long time, we can forward that configurability to our users to allow them control it directly instead of just enabling it on desktop and disabling it on embedded. Change-Id: I4445e2189112205ddf1368bd5e197bab2df92092 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* macOS GN integrationAlexandru Croitor2017-01-271-17/+38
| | | | | Change-Id: I89850d43c8f11ec54b3a47318ef0b3f083ae3dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* GN configuration cleanup and preparationAllan Sandfeld Jensen2017-01-263-14/+49
| | | | | | | | Reintroduces the shared linux.pri configuration and moves configuration shared by all architectures to common.pri Change-Id: Iff4d1e6e3d98280223cce0c2c0b74d71ef99df5f Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add gn build of qtwebengine for linuxMichal Klocek2017-01-252-39/+91
| | | | | | | | | | | This commit uses gn instead of gyp to build on desktop linux. Use WEBENGINE_CONFIG+=use_gn to use gn during the build instead of gyp. Change-Id: Ifd3d8d0835b47c323a8d39c320eb55e5e1024dee Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.8' into devAllan Sandfeld Jensen2017-01-181-1/+3
|\ | | | | | | Change-Id: If16bfc6f0fbfd0040e13a8a3cbaa113fda10f387
| * Avoid overriding new and deleteAllan Sandfeld Jensen2017-01-061-1/+3
| | | | | | | | | | | | | | | | As a minimum this produces valgrind warnings of mismatched new and delete. No runtime issues have been observed outside of valgrind though. Change-Id: I5ebb6b380f25f117434633e55dd7fdf04260f0bc Reviewed-by: David Faure <david.faure@kdab.com>
* | Add pepper-plugins feature to new configure systemMichal Klocek2017-01-165-7/+9
| | | | | | | | | | | | | | | | Task-number: QTBUG-57731 Task-number: QTBUG-58108 Change-Id: I253dab52361afd411dcf545fab752836c19ee3c7 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add print and pdf feature to new configure systemMichal Klocek2017-01-166-19/+16
| | | | | | | | | | | | | | | | | | | | | | | | Currently printing and pdf are bounded together. Make compilation optional by adding it as a feature. Fix formatting of embedded_linux.pri Task-number: QTBUG-57731 Task-number: QTBUG-58108 Change-Id: I53a2baea656df0a5b6139365ed06385c9ebc5830 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Merge branch '5.8' into devAllan Sandfeld Jensen2016-12-211-3/+4
|\| | | | | | | | | | | | | Conflicts: configure.json Change-Id: I658a02de96b45b382f0f6c383964501b794b5eb6
| * Fix Linux audio library detectionAllan Sandfeld Jensen2016-12-151-3/+4
| | | | | | | | | | | | | | | | | | The configure checks where moved to QtMultimedia which we do not depend on, therefore we need to now duplicate the checks ourselves. Task-number: QTBUG-57620 Change-Id: I6f7319c7e91e3f51baf012c669121389cd6e1360 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into devMichael Brüning2016-12-074-2/+6
|\| | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: Ie7b7c469aa24716816a23b8fe7a8df9f477a9f67
| * Move the QPrinter and QtWidgets related code out of the PDFium wrapperMichael Brüning2016-11-254-2/+6
| | | | | | | | | | | | | | | | | | | | | | This moves the actual printing using QPrinter to the WebEngineWidgets part of the API. The printsupport module depends on the widgets module and therefore QtWebEngineCore also had a dependency to widgets. This is removed by this change. Change-Id: If6e5745709a59de18f2123b930cbe6e64390c867 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Merge remote-tracking branch 'origin/5.8' into devAllan Sandfeld Jensen2016-11-243-2/+11
|\| | | | | | | Change-Id: Ib2a1eb4dfae2fb5a98066d3d0f8f09f4e1d61d3f
| * Add pkg-config test for system harfbuzz version on linuxMichael Brüning2016-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | Older harfbuzz versions like the one bundled with Ubuntu 16.04 cause crashes of Qt WebEngine applications. Use the bundled copy although Qt was configured with -system-harfbuzz in those scenarios. Task-number: QTBUG-56895 Change-Id: I8fad6754447ba32c3630e6772ca2ae6d4fd710c1 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Add support for compiling WebEngine with Clang sanitizer optionsAlexandru Croitor2016-11-221-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change pipes the already supported Qt sanitize options to Chromium, so the Chromium build system adds the correct compiler sanitizer flags. The change also checks whether the requirements to build a sanitizer enabled Chromium are met (currently works properly on macOS with an Apple clang >= 7.3.1, and on Linux with clang + libc++). Change-Id: Ibab2d5735935ddc92226575fc0e9f5912b807329 Task-number: QTBUG-52656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Pass correct clang prefix directory to GYPJan Kundrát2016-11-151-1/+4
| | | | | | | | | | | | | | | | | | Previously the prefix was hardcoded to "/usr". Now the current environment clang path is considered instead. Change-Id: I23173bb31591dfb6df7a81a37a58502dd6b12886 Task-number: QTBUG-52656 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * Disable -Werror on Linux when clang is usedJan Kundrát2016-11-101-0/+1
| | | | | | | | | | | | | | | | Standard gcc warnings should be considered as errors, but clang warnings should not, because clang has some extra warnings. Change-Id: I298889895af7f9d4e004c3d97e5167738a8c09ad Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix linking against QtANGLE libraryKai Koehne2016-11-101-2/+10
|/ | | | | | | | | | | | | | | With commit 780105f9062dec35 in qtbase, libEGL and libGLESv2 got merged into one QtANGLE library. Eventually qt_egl_library and qt_glesv2_library should be replaced by a qt_angle_library, but as long as both dev and 5.8 share the 53-based branch in qtwebengine-chromium this is good enough. We also need to support the old codepath to get the change in ... Task-number: QTBUG-57012 Change-Id: I0775192ab0d4b2beb562e9a16b7bc258cc2ea116 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Disable angle opengl in embedded linuxSamuli Piippo2016-09-301-0/+1
| | | | | | | | | Angle opengl has dependency to mesa (libdrm/gbm), but component is never built on embedded linux. Disable to avoid unnecessary check. Change-Id: Ie1e2ef56692f5e311bb2011a15dba9de1bb8de2f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Pass supported -fstack-protector flag to GYP configAlexandru Croitor2016-09-271-0/+5
| | | | | | | | | Before Xcode 6.3, the shipped compiler din not support the -fstack-protector-strong flag. Inform GYP to use the -fstack-protector flag instead. Change-Id: I91f1e9db5e489b6190423c3d010effd3d86ed9ba Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-09-211-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/delegated_frame_node.h src/webengine/api/qquickwebenginecontextmenudata.cpp Change-Id: I163488d0d32cd981351608b2886f12e547e24672
| * Enable -fno_delete_null_pointer_checks for g++ 6 on all of chromiumDavid Faure2016-09-171-1/+1
| | | | | | | | | | | | | | | | This is necessary e.g. for PaintLayer::enclosingSelfPaintingLayer which also compares this with null. Change-Id: I85d69432a0d7eeb0d8df8f395821880e36180dcc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Prepare for configure modularization in qtbaseLars Knoll2016-09-161-0/+1
| | | | | | | | | | | | | | | | | | This ensures we will find the features also after the modularization change in qtbase. Change-Id: I34d4eecbc51335c59e0e1d5d8de4149487fd07b6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.7' into 5.8Allan Sandfeld Jensen2016-08-301-1/+10
|\| | | | | | | Change-Id: I82f7a6a6d1bf27dc8adf7e2a91ea8ab29c54a607
| * Pass alsa pulseaudio qt build settings for embedded buildsMichal Klocek2016-08-201-1/+10
| | | | | | | | | | | | Change-Id: I0996b08d661bc52233396a98acdf9d2e68876711 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | Enable PDF for desktop platforms and add chromium dependenciesMichael Bruning2016-08-245-3/+8
| | | | | | | | | | | | | | | | PDF is enabled globally, but disabled for the embedded platforms currently Change-Id: I44e1ffc8587ff8d8e677a47f8048feaef2e3266a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adjust webengine to the qtConfig() changes in qtbaseLars Knoll2016-08-232-6/+6
| | | | | | | | | | Change-Id: I907f6ea73a1d707eda536764c4b0b2edea49a963 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>