summaryrefslogtreecommitdiff
path: root/chromium/tools
Commit message (Collapse)AuthorAgeFilesLines
* FIXUP: gn-build gn with exactly the python it was bootstrapped withJüri Valdmann2018-07-101-0/+2
| | | | | | Task-number: QTBUG-69145 Change-Id: I6d31ef4c7cbf0ce6f3218be74780eb66ab76b4eb Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/upstream-master' into 67-basedAllan Sandfeld Jensen2018-06-191-0/+2
|\ | | | | | | Change-Id: I864dabe43f1057024ef3560001c820d1734d96c0
| * BASELINE: Update Chromium to 67.0.3396.76Allan Sandfeld Jensen2018-06-181-0/+2
| | | | | | | | | | Change-Id: I9a14af4efb092ab203e9364f0779fca781909a38 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Reintroduce ninja_use_custom_environment_filesAllan Sandfeld Jensen2018-05-231-10/+2
| | | | | | | | | | | | | | | | 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>
* | Fix GN bootstrapAllan Sandfeld Jensen2018-05-231-85/+19
| | | | | | | | | | | | | | | | Repair a few instances of brain-damage. Change-Id: I6ede5389f0eb40e9ef369c51689052aa74ce559f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix Chrome resources and WebUI we needAllan Sandfeld Jensen2018-05-231-0/+3
| | | | | | | | | | | | | | Separate resources and manifest overlays we need to our own directory Change-Id: Ib8c218c49dba5e3580bea6eff5232fac2b1a0e9d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | Windows: Fix incorrect relative path when linking .natvis filesAlexandru Croitor2018-05-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | The previous rebase_path calls used the generated BUILD.gn path as the base path (so e.g. src/core/Debug/) but link.exe is executed from src/core directory, which resulted in the .natvis files not to be found. Generate absolute system paths instead. Change-Id: I0c6414387137ae425c1cbc76fcd0b1e0bf6cbc46 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Do not pick up CFLAGS,CXXFLAGS,LDFLAGS for gn bootstrapMichal Klocek2018-05-181-3/+8
| | | | | | | | | | | | Task-number: QTBUG-64759 Change-Id: Ifd366e496ce08365f63216943f93864fc285b8b0 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Adapt licenses.py for qdoc needsKai Koehne2018-05-181-1/+5
| | | | | | | | | | | | | | | | | | | | * Mask '*/' in licenses.py output, so qdoc is not confused * Add 'name-sanitized', 'license-type' placeholders (cherry picked from commit f8554350d7477b4d3a8ca4596be054ba95c7f091) Change-Id: I080ed7894464a39a4c33ef15e6a1b56b421e2c9f Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix building without git installedAllan Sandfeld Jensen2018-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | This is only needed for 'gn --version' which we don't care about and which would be meaningless anyway. Task-number: QTBUG-61111 Change-Id: Ia30276a9e812f09f442f2ab42f7621422f9780ec Reviewed-by: Rolf Eike Beer <eb@emlix.com> Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add support for creating pri link informationMichal Klocek2018-05-1817-5/+611
| | | | | | | | | | | | | | | | | | | | | | | | Add variable create_pri_file for binary tagets, which generates <target_name>.pri. Instead of calling linker add timestamp file, this will be a dependency for qmake linking. Also adds sources for Qt Creator indexes. Change-Id: I91a41e5cab0a2db99a32e4d799d9664467b9cb18 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Fix build of documentationKai Koehne2018-05-181-19/+1
| | | | | | | | | | | | | | | | | | | | | | | | Remove logic to include the scanning in the .gn files. This depends on Android code currently stripped from qtwebengine.git. Also, we don't need it, since we scan as part of the documentation generation. Task-number: QTBUG-61693 Change-Id: I868fd35ce48169da625f16b903134a4e62be5a31 Reviewed-by: Viktor Engelmann <viktor.engelmann@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Windows: Fix file path too long problems in grit.pyMichael Brüning2018-05-181-1/+3
| | | | | | | | | | | | | | | | | | There have been issues with too long file paths in grit.py when doing shadow builds on Windows. Change-Id: Ia0ff5e214bcd079853db32432b58da046698e73e Task-number: QTBUG-59544 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Prevent a python IOError on Windows due to MAX_PATHAllan Sandfeld Jensen2018-05-182-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Running python down into the WebKit directory structure and referring a file relatively to the build directory can easily spill over the 260 char limit on Windows. Resolve the absolute path using join and normpath to work around the issue. The script for aggregating the generated bindings suffered from the same error on Windows as the other generator python scripts. The bison script for compiling grammars suffers from the MAX_PATH IOError issue on Windows. This occurs when doing a shadow build that results in large relative paths in the generated GYP actions. The scripts for generating and aggregating the v8 bindings all suffer from an IOError on Windows when doing a shadow build that results in very large relative paths being used in the generated GYP actions. Combined from patches by Jocelyn Turcotte and Peter Varga. Change-Id: I86f57fc94e8ff633e2499a08b8cafa7df9b39210 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | gn-build gn with exactly the python it was bootstrapped withJoerg Bornemann2018-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | If bootstrap.py is called with a python2 executable but the first python executable in PATH is a python3, then the gn-build of gn will fail. Fix this by passing the exact python location to gn it was bootstrapped with. Change-Id: I17d9cd3614c3a3bee5d54a08a27b9e08d29ada4d Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Fix gn bootstrap with --no-rebuildAllan Sandfeld Jensen2018-05-181-2/+3
| | | | | | | | | | | | | | Do not try to install if we were building into the final path. Change-Id: I1a32a9b3431b0adec8269f5c43a57e7349025da2 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Add option to pass ninja binary path to gn bootstrapMichal Klocek2018-05-181-0/+5
| | | | | | | | | | | | | | | | This option allows to pass ninja binary path which is bootstrped during qtqwebenigne build. Change-Id: I756da6032f3e00be39691d0153a0d34e28a2f658 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add shadow option to gn bootstrapMichal Klocek2018-05-181-1/+8
| | | | | | | | | | | | | | | | This option allows doing shadow build of gn bootstrap in qt build dir. Change-Id: I0036260527c87d1259cbb88b062032c1964285dc Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | <tools/grit> GRIT: Allow grd files outside of chromium source dir.Zeno Albisser2018-05-151-0/+6
|/ | | | | | | | | | | | | | | | | When replacing substrings with values from a dictionary, the replacements should not be truncated to the length of src_root_dir. If the basename does not exist as a key in the resource_ids file, then fall back to an absolute path. The precedence is like: file in chromium > file basename > absolute file name. THIS SHOULD BE UPSTREAMABLE. Change-Id: I7d1da8c04515807000742aac4a6fa4db7616fd13 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com> Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update Chromium to 67.0.3396.47Allan Sandfeld Jensen2018-05-15195-3984/+11217
| | | | | Change-Id: Idcb1341782e417561a2473eeecc82642dafda5b7 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 66.0.3359.156Allan Sandfeld Jensen2018-05-15206-21534/+8808
| | | | | Change-Id: I0c9831ad39911a086b6377b16f995ad75a51e441 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 65.0.3325.230Allan Sandfeld Jensen2018-05-042-0/+15
| | | | | Change-Id: Ied18ccfc9872b6a5c441218dec17debf93732ea1 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* BASELINE: Update Chromium to 65.0.3325.151Allan Sandfeld Jensen2018-03-083-0/+46
| | | | | Change-Id: I3c71dd500483eb29491ac3eee4123714dda52da9 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 65.0.3325.75Allan Sandfeld Jensen2018-02-152-2/+104
| | | | | Change-Id: I5485bc5c111539356276457516584fa5737f07d8 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 65.0.3525.40Allan Sandfeld Jensen2018-02-06281-6665/+199150
| | | | | | | Also imports missing submodules Change-Id: I36901b7c6a325cda3d2c10cedb2186c25af3b79b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 64.0.3282.139Allan Sandfeld Jensen2018-02-01284-3004/+7795
| | | | | Change-Id: I1cae68fe9c94ff7608b26b8382fc19862cdb293a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 63.0.3239.58Allan Sandfeld Jensen2017-11-22208-14539/+5454
| | | | | Change-Id: Ia93b322a00ba4dd4004f3bcf1254063ba90e1605 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 62.0.3202.101Allan Sandfeld Jensen2017-11-22184-3172/+10352
| | | | | Change-Id: I2d5eca8117600df6d331f6166ab24d943d9814ac Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 61.0.3163.99Allan Sandfeld Jensen2017-10-04307-17173/+7195
| | | | | Change-Id: I8452f34574d88ca2b27af9bd56fc9ff3f16b1367 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 60.0.3112.70Allan Sandfeld Jensen2017-07-19198-3186/+10243
| | | | | Change-Id: I9911c2280a014d4632f254857876a395d4baed2d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 59.0.3071.134Allan Sandfeld Jensen2017-07-17196-4553/+26510
| | | | | Change-Id: Id02ef6fb2204c5fd21668a1c3e6911c83b17585a Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 58.0.3029.98Allan Sandfeld Jensen2017-05-051-1/+8
| | | | | Change-Id: Ib913750d687f29e036959c62a0cabf2412a8faa7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* BASELINE: Update Chromium to 58.0.3029.54Allan Sandfeld Jensen2017-04-11148-720/+4543
| | | | | Change-Id: I67f57065a7afdc8e4614adb5c0230281428df4d1 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 57.0.2987.144Allan Sandfeld Jensen2017-04-11188-1955/+6761
| | | | | Change-Id: I29db402ff696c71a04c4dbaec822c2e53efe0267 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* BASELINE: Update Chromium to 56.0.2924.122Allan Sandfeld Jensen2017-03-20170-13536/+10013
| | | | | Change-Id: I4e04de8f47e47e501c46ed934c76a431c6337ced Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 55.0.2883.105Allan Sandfeld Jensen2017-01-05390-9525/+14618
| | | | | | | And updates ninja to 1.7.2 Change-Id: I20d43c737f82764d857ada9a55586901b18b9243 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Add all gn, gni, typemap, mojom filesMichal Klocek2016-11-1620-0/+672
| | | | | | | | These file are required to gn be able to parse source tree. Change-Id: I9cb4a0b3897c1e99dd6e39832a8c55764fb6e1c6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* BASELINE: Update Chromium to 53.0.2785.80Allan Sandfeld Jensen2016-08-252-3/+6
| | | | | | | Also adds 3rdparty libraries under pdfium. Change-Id: I29afb23f1642fa55765d056697d5d145afa22bb2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 53.0.2785.41Allan Sandfeld Jensen2016-08-04179-2110/+5979
| | | | | | | Also adds a few extra files for extensions. Change-Id: Iccdd55d98660903331cf8b7b29188da781830af4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 52.0.2743.76 and Ninja to 1.7.1Allan Sandfeld Jensen2016-08-04211-9186/+7539
| | | | | Change-Id: I382f51b959689505a60f8b707255ecb344f7d8b4 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* BASELINE: Update Chromium to 51.0.2704.47Allan Sandfeld Jensen2016-05-121-165/+34
| | | | | | | And adds in a few missing files. Change-Id: Id0d85c81f5efc1b1c8cf9cb3241da26bf7245026 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* BASELINE: Update Chromium to 51.0.2704.41Allan Sandfeld Jensen2016-05-091327-1123/+202699
| | | | | | | Also adds in all smaller components by reversing logic for exclusion. Change-Id: Ibf90b506e7da088ea2f65dcf23f2b0992c504422 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Add sanitizer dependencies.Alexandru Croitor2016-04-187-0/+261
| | | | | | | | Add libc++ and libc++abi third_party libraries for ASan builds. Add blacklist rules for all sanitizers. Change-Id: I65beaa1c5bb21e971f8333f0dcad8aed316c9f3c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* BASELINE: Update Chromium to 49.0.2623.23Allan Sandfeld Jensen2016-01-25247-4969/+3727
| | | | | | | Also adds missing printing sources. Change-Id: I3726b8f0c7d6751c9fc846096c571fadca7108cd Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* BASELINE: Update Chromium to 47.0.2526.14Allan Sandfeld Jensen2015-10-1477-2585/+3591
| | | | | | | Also adding in sources needed for spellchecking. Change-Id: Idd44170fa1616f26315188970a8d5ba7d472b18a Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* BASELINE: Update chromium to 45.0.2454.40Allan Sandfeld Jensen2015-08-1458-2602/+1704
| | | | | Change-Id: Id2121d9f11a8fc633677236c65a3e41feef589e4 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* BASELINE: Update chromium to 44.0.2403.91Allan Sandfeld Jensen2015-07-291-0/+65
| | | | | | | | Also adds missing compile_test tool, and removed two unused third_party modules. Change-Id: Ie6135c2a57c8c9519aa093eb0a259a605b26a111 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* BASELINE: Update to chromium 44.0.2403.80Allan Sandfeld Jensen2015-07-0768-8401/+0
| | | | | Change-Id: Ib190ddcbbb5f312742c16d159bdfe9dbf7360c8a Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* BASELINE: Update chromium to 44.0.2403.47Allan Sandfeld Jensen2015-06-18263-3966/+17288
| | | | | Change-Id: Ie056fedba95cf5e5c76b30c4b2c80fca4764aa2f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* BASELINE: Update chromium to 40.0.2214.28 and ninja to 1.5.3.Zeno Albisser2014-12-09210-2588/+8346
| | | | | Change-Id: I759465284fd64d59ad120219cbe257f7402c4181 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>