summaryrefslogtreecommitdiff
path: root/chromium/build
Commit message (Collapse)AuthorAgeFilesLines
* Add qt static dependencies: qtfreetype, qtharfbuzzMichal Klocek2020-12-023-15/+5
| | | | | | | | | | | | | | | | | | | For static build of pdfium we need to take deps form qtbase, pdfium uses freetype, which needs harfbuzz, Update build for freetype and harfbuzz in third party, so code can be compiled with that headers. It seems if qtfreetype is used we no longer need harfbuzz dependency, but harfbuzz build changes are introduced for completeness. Note we are only interested in include path, since qmake is doing final link, otherwise lib_dirs can be passed in same manner. Task-number: QTBUG-87154 Change-Id: I46ade3cfe134d5102a941270fbb90a1fa455e46a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Backport] mac: make find_sdk.py work when the sdk goes to 11Peter Varga2020-11-161-5/+6
| | | | | | | | | | | Bug: 1098738 Change-Id: I25b84537a445ecb8f80241c98d4753932f5f7c90 Commit-Queue: Nico Weber <thakis@chromium.org> Commit-Queue: Mark Mentovai <mark@chromium.org> Auto-Submit: Nico Weber <thakis@chromium.org> Reviewed-by: Mark Mentovai <mark@chromium.org> Cr-Commit-Position: refs/heads/master@{#781835} Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build after 83-mergeAllan Sandfeld Jensen2020-09-081-1/+1
| | | | | | Change-Id: Ie864f66333b03c9ebc0551096aa91394e82fc421 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* [Revert] Pass -D to libtool instead of setting ZERO_AR_DATE.Allan Sandfeld Jensen2020-09-022-1/+13
| | | | | | | The option is not supported on all macOS versions we support. Change-Id: Ice7a01334ef4fc6d90097f560afcf5b8aec6e090 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* Fix ios build issues for 83 adaptationsMichal Klocek2020-09-011-12/+13
| | | | | Change-Id: I1d73d4726f955e3a555b3a389d1422638a2b1c5e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix debug-info in MSVC developer-buildsAllan Sandfeld Jensen2020-08-101-1/+1
| | | | | | | | Chromium was forcing the debugger to look for the pdb files in the same dir as the executable, which just isn't true for us. Change-Id: I2577bd4a10d677fcd273161ca830322b5a01e1fe Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Restore -fno-delete-null-pointer-checksAllan Sandfeld Jensen2020-08-061-0/+8
| | | | | | | | | | | | | | The commit https://chromium-review.googlesource.com/c/chromium/src/+/1294449 removed this in an apparent brainfart when it was first moved from gcc to clang, then removed from the patch alltogether. This exposed an issue with a nullptr check in logging that has been fixed. Task-number: QTBUG-77671 Change-Id: I59677ed997da4278c01676b01950c0ea03c67126 Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> (cherry picked from commit 32e459f495dc0475cdc1703514a257b45ccd3d84) Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* FIXUP: Fixes for building with MSVCPeter Varga2020-08-061-1/+3
| | | | | Change-Id: Ifa97b9cf29666355154effc5478c09b9ef941a87 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fixes for building with MSVCAllan Sandfeld Jensen2020-08-061-1/+1
| | | | | | | Work-around various issues to make Chromium build on MSVC Change-Id: I3489452c9d7e61243fb60b877d289293b1850ebe Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* Fix build on windowsAllan Sandfeld Jensen2020-08-062-0/+12
| | | | | | | More fixups for building on Windows. Change-Id: I2723b4467836def3087f9667b54101e965a7abfd Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix building on macOS with XcodeAlexandru Croitor2020-08-061-3/+3
| | | | | | | | Fixes various issues were we differ from Google's clang. Task-number: QTBUG-60438 Change-Id: I5a97ba828f7267731e50010c4345caa19bb8939a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add fat build supportMichal Klocek2020-08-064-6/+39
| | | | | | | | | | | | | | | | | | | | Gn support fat builds with additional_target_cpus, however this expects only fat builds for same type of architecture like for ex. arm and arm64. Qt build does fat builds for arm64 and x64, this is tricky to support and would require some changes to support parsing builds with two acitve toolchains. Add poor man workaround to compile x64 together with arm64, by using Xarch to separate parameters. Unfortunately arm64 includes neon files by default which can not be compiled for x64. Therefore for release builds it is adviced to do CONFIG-=simulator, which will not compile for simulator, however will include NEON for arm64. Task-number: QTBUG-77931 Change-Id: I26f9a656187a205ce8448eb3b888201c786476c7 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Support ubsan and asan on GCCAllan Sandfeld Jensen2020-08-062-4/+21
| | | | | Change-Id: If073a1a427eaa0761796806f64e0767b5370f658 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove linking with libatomicMichal Klocek2020-08-061-1/+1
| | | | | | | | Rhel machines on ci do not have it. Change-Id: I4cbb6d9d0826a23f8065a9eebba7ba27856e44d4 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix build with sanitizer and iceccMichal Klocek2020-08-061-1/+2
| | | | | | | | Do not use blacklist.txt file for asan, icecc does not handle it properly, moreover the file is empty anyway. Change-Id: I8d53ef27ef688cda464ca1278d7c9673ec74b58a Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Use dsymutil from the sdk instead of a bundled oneMichael Brüning2020-08-061-2/+1
| | | | | | | | Chromium pulls in the dsymutil from a separate package. We want to use the same that is used for the rest of Qt. Change-Id: I443fd76fbb4ced600061ed0e4314ef13c3db05d8 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Revert] Always strip absolute paths from debug symbols.Jüri Valdmann2020-08-061-8/+2
| | | | | | | | | | Upstream decided to stop exposing the strip_absolute_paths_from_debug_symbols build option because somebody once disabled it for the wrong reason. See also https://chromium-review.googlesource.com/c/chromium/src/+/1898778 Change-Id: I09f86bc5c9ae1686675e45605ae9417792ead752 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Revert] Force jumbo builds to fail.Allan Sandfeld Jensen2020-08-061-7/+31
| | | | | | | | Not just pointless to remove, but outright harmfull. We keep it as it is trivial to maintain and provides huge benefits. Change-Id: Ib7dd65996f9e985480f49fab2d1781a5d08bf6fd Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix wake-lock with ozoneAllan Sandfeld Jensen2020-08-061-8/+6
| | | | | | | | | The "X11" implementation can use both dbus and XSS, and detects the latter at runtime, while the ozone implementation is just a stub doing nothing. Change-Id: I434fab0ec19a12845781f6ccece4a21813b5bca6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Make XScrnSaver optionalAllan Sandfeld Jensen2020-08-061-0/+6
| | | | | | | | | | Add logic to disable the use of the libXss library, while still being able to suspend power save via the GNOME or freedesktop dbus interfaces. Change-Id: I97c6f03ba654ba30ad91709028bb0859b8a66de7 Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Silence most warningsAllan Sandfeld Jensen2020-08-061-1/+18
| | | | | | | | | Suppress and fix many clang, GCC and MSVC warnings "cause the night is crap and full of warnings" Change-Id: I09882f850bac97c04a3d772e5f6386ce896c57b9 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Reintroduce ninja_use_custom_environment_filesAllan Sandfeld Jensen2020-08-064-87/+122
| | | | | | | | For Qt we want to read the environment variable from the environment not from Google's downloaded packages. Change-Id: I52def6474daec97cc63cda415d279cbe29881d08 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Enable minimal optimizations when debug-symbols are disabledAllan Sandfeld Jensen2020-08-061-0/+8
| | | | | | | | | | Restores building Blink with -Os when debug-systems are stripped anyway. We did this previously in gyp, but didn't port it to GN before now. Change-Id: Ia22b1de1ba63423c22f1ecb5c173b7cab13a1af3 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* [Revert] Hook up new rc.py.Allan Sandfeld Jensen2020-08-063-15/+18
| | | | | Change-Id: I9d1bba8301eb2387277e53f3a0bee656a74c2491 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Add gclient_args.gni file that should have been generated by gclientAllan Sandfeld Jensen2020-08-061-0/+9
| | | | | Change-Id: I5947a3d08537d11f1f84c6f2af8bfd025be63266 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Make optimize_for_size an arg againAllan Sandfeld Jensen2020-08-061-5/+8
| | | | | | | | | Otherwise we can not configure it. Change-Id: If2900e9f142c945c921df46be21e7eb14ee2d1cb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Unbundle Linux system libraries for GNAllan Sandfeld Jensen2020-08-062-2/+2
| | | | | | | | | Adds unbundling on linux for the zlib, minizip, libpng, libwebp, libevent, libxml, libxslt and snappy libraries. Change-Id: I7bc8f418669a9908f0c1bc9393771e233f9f491a Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Qt GN integrationMichal Klocek2020-08-068-5/+27
| | | | | | | | | | - Exclude source files we override in the qt webengine sources. - Add TOOLKIT_QT define for use_qt - Add is_shared GN argument Change-Id: I79925220265602bd0c39e5e03162cf1dca15befe Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix incorrect dependency on shim headersMichal Klocek2020-08-061-2/+5
| | | | | | | | | | Use just header names wihtout directory prefix as a source file for shim headers generation. Add 'prefix' instead so 'process_file_template' can workout correctly 'output' and 'input' dependencies. Change-Id: Id71a55edb68fc1b30e756e0713681fe150d84055 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Support linux-clang-libc++ buildsAllan Sandfeld Jensen2020-08-061-4/+9
| | | | | | | | Introduce use_libcxx gn arg to explicitly ask for -stdlib=libc++ Change-Id: I5b8449d937c8af848b9f89c6a9879742b83f46d6 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Use target sysroot only with target toolchainSamuli Piippo2020-08-061-1/+1
| | | | | | | | | | Make sure that the target sysroot is not used with host toolchain, even when os and cpu match. Task-number: QTBUG-59768 Change-Id: Ib52ca2c3d0f61aaed4567d15185af923b43be9fc Reviewed-by: Michael Brüning <michael.bruning@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Make incremental linking configurableAllan Sandfeld Jensen2020-08-061-2/+4
| | | | | | | | | Incremental linked binaries are larger and takes longer time to link because they are prepared for relinking. Make it possible to turn off as we don't need that in official debug binaries. Change-Id: I89ef10862ce1a5a252472d8d25108519dcd3a6af Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Do not force an unnecessary march flagAllan Sandfeld Jensen2020-08-061-1/+0
| | | | | Change-Id: Id96fa643c743ed083aa908bdd7895783e3c4511e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Fix FORTIFY redefined warningsMichal Klocek2020-08-061-1/+1
| | | | | Change-Id: Id410d25383b63613b7d8c20a94f989033c32dc26 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 83.0.4103.122Allan Sandfeld Jensen2020-07-17386-10986/+13970
| | | | | Change-Id: Ie3a82f5bb0076eec2a7c6a6162326b4301ee291e Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 80.0.3987.163Allan Sandfeld Jensen2020-04-172-2/+2
| | | | | Change-Id: Iba07657949e6bee521813d3d6cf071e1f40f2501 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 80.0.3987.136Allan Sandfeld Jensen2020-03-18135-2855/+4363
| | | | | Change-Id: I98e1649aafae85ba3a83e67af00bb27ef301db7b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* BASELINE: Update Chromium to 79.0.3945.147Allan Sandfeld Jensen2020-03-052-2/+2
| | | | | | | And new simplified snapshot filter Change-Id: I7c692bedd5b3833f05565bd6f6939115350b233a Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 79.0.3945.139Allan Sandfeld Jensen2020-01-23139-4139/+5579
| | | | | Change-Id: I336b7182fab9bca80b709682489c07db112eaca5 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 78.0.3904.130Allan Sandfeld Jensen2020-01-22117-1876/+1777
| | | | | Change-Id: If185e0c0061b3437531c97c9c8c78f239352a68b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 77.0.3865.129Allan Sandfeld Jensen2019-11-182-2/+2
| | | | | Change-Id: Ie569f0076f8854e83485a9beee9a3eb2f50d3362 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 77.0.3865.98Allan Sandfeld Jensen2019-09-243-2/+8
| | | | | Change-Id: Ice85979eb8b64af9a3c649d719bec6ea14ac3bf7 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 77.0.3865.59Allan Sandfeld Jensen2019-08-30157-4178/+5042
| | | | | Change-Id: I1e89a5f3b009a9519a6705102ad65c92fe736f21 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 76.0.3809.94Allan Sandfeld Jensen2019-08-30166-2406/+4084
| | | | | Change-Id: I321c3f5f929c105aec0f98c5091ef6108822e647 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 75.0.3770.116Allan Sandfeld Jensen2019-07-032-2/+2
| | | | | Change-Id: Ifcd5227841577e8ce81a1b7a54c56caba4d85e02 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 75.0.3770.56Allan Sandfeld Jensen2019-05-24146-2934/+5703
| | | | | Change-Id: I86d2007fd27a45d5797eee06f4c9369b8b50ac4f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 74.0.3729.159Allan Sandfeld Jensen2019-05-20115-1741/+3383
| | | | | Change-Id: I8d2497da544c275415aedd94dd25328d555de811 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 73.0.3683.105Allan Sandfeld Jensen2019-04-052-2/+2
| | | | | Change-Id: I8dd03de5917aeddc0d939fd20f9c1887fabab00b Reviewed-by: Jüri Valdmann <juri.valdmann@qt.io>
* BASELINE: Update Chromium to 73.0.3683.83Allan Sandfeld Jensen2019-03-182-2/+2
| | | | | Change-Id: Ie2948cebb1e9204f293fdf63c36d6215a5f5b507 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 73.0.3683.64Allan Sandfeld Jensen2019-03-0621-652/+939
| | | | | Change-Id: I76517dc277ba4e16bfd7e098fda3d079656b3b9f Reviewed-by: Michael Brüning <michael.bruning@qt.io>