summaryrefslogtreecommitdiffstats
path: root/tools/scripts
Commit message (Collapse)AuthorAgeFilesLines
* Fix invalid copyright header for windeployqt-examples.pyKai Koehne2017-09-201-38/+25
| | | | | | Task-number: QTBUG-60006 Change-Id: I17a4c91bca3b1c774810405bc0ecffd7165b9d73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove third_party/afl from Chromium snapshotKai Koehne2017-07-191-0/+1
| | | | | | Task-number: QTBUG-61954 Change-Id: I681f7adaab1e0ef1ec162fa98c4a70569e8c3948 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Adaptations for Chromium 56Allan Sandfeld Jensen2017-03-271-2/+2
| | | | | Change-Id: I78240d7956de4716757761fc6517f031b4adb822 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Simple adaptations to Chromium 55Allan Sandfeld Jensen2017-03-013-18/+12
| | | | | | | The simplest adaptations to API and build changes in Chromium 55 Change-Id: I923fa188690a04902492317807f72f006bcab9c6 Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* Merge branch '5.8' into devAllan Sandfeld Jensen2016-12-211-0/+5
|\ | | | | | | | | | | | | Conflicts: configure.json Change-Id: I658a02de96b45b382f0f6c383964501b794b5eb6
| * Exclude more third-party components when taking snapshotsKai Koehne2016-12-071-0/+5
| | | | | | | | | | | | | | These aren't used, and have licenses that might alert users. Change-Id: I4f7d74e38544aa52f9afc9700d7b71cc55f8c1e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Add gn generator for pro filesMichal Klocek2016-12-162-0/+101
| | | | | | | | | | Change-Id: I5f28314d79b4aad587b323b027eb6d74ad422a73 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | Update snapshot script to include 'mus' and 'catapult'Michal Klocek2016-12-071-3/+8
|/ | | | | Change-Id: I8291b2e1ebf9832a745b335f9d8e5743330ae255 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add gn build files to take_snapshotMichal Klocek2016-11-161-2/+4
| | | | | Change-Id: I9da4f98c203dcaa41653dc1d00fcd34a1dd66b85 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update ChromiumAllan Sandfeld Jensen2016-10-042-1/+4
| | | | | Change-Id: Icf960eb9347e2f2f8a41bbfdb35636154fd4a382 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update Chromium to 53.0.2785.117Allan Sandfeld Jensen2016-09-182-2/+1
| | | | | | | | The changes to take_snapshot.py were already applied in the last version but not reflected here. Change-Id: I34c3de85f5766790764349ef81b4fac2937e6ce2 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Adaptations to Chromium 53Allan Sandfeld Jensen2016-09-142-2/+5
| | | | | Change-Id: I15053486edfd42ee607250b4f14fb6eaa325c959 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Adaptations to Chromium 52Allan Sandfeld Jensen2016-09-141-3/+3
| | | | | Change-Id: Idf8a511ba26d263fd9d014d87d5e1101d706da71 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Update chromium to 51.0.2704.106Allan Sandfeld Jensen2016-07-012-11/+3
| | | | | | | | Also adds some extensions and components we may need for upcoming features. Change-Id: I369915cec296bc96764476981f7ac7bfb4871045 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update Chromium to 51.0.2704.79Allan Sandfeld Jensen2016-06-022-3/+4
| | | | | | | Also adds a url_pattern files from extensions. Change-Id: Ief1b7faea488f1e6b5c3688377f630ff1b3e8592 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Update to Chromium 51 snapshotAllan Sandfeld Jensen2016-06-012-47/+33
| | | | | | | | | | Also inverts the logic for components and tools, so we include everything not explicitly excluded. This makes it easier as Chromium keeps moving features into components. Change-Id: I7232868c777ddcc45efaa496182706de3e850b0c Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
* Merge remote-tracking branch 'origin/5.7' into devAllan Sandfeld Jensen2016-05-043-37/+108
|\ | | | | | | Change-Id: I8d3ed9c067ef5e6199d6cffcb41453d6f92f5cba
| * Get additional sanitizer dependencies from upstream chromium.Alexandru Croitor2016-05-033-37/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The buildtools directory contains custom libc++ libraries, which are a second-level git submodule (the first-level being the buildtools submodule, and the supermodule being chromium itself). The init_repository.py script does not support checking out submodules recursively, thus leading to the mentioned libraries being skipped. This change adds a hardcoded addition to make sure the buildtools submodules are checked out when init_repository is run, as well as support for copying all nested files in the submodule tree, when the take_snapshot script is executed. Thus it copies all necessary sanitizer dependencies. Change-Id: Icb5cf5b52c3d0a83c4690fb7d641cee4f5dc1132 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-04-121-1/+1
|\| | | | | | | Change-Id: I939fc07c7e09c5598adb9f49bf6038daa2d871dc
| * Update Chromium to 49.0.2623.111Allan Sandfeld Jensen2016-04-051-1/+1
| | | | | | | | | | | | | | Pulls in SHA based on updated Chromium Change-Id: I1d9125fdfa355344914dadc4eab7fef1c53dfc40 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* | Add script to deploy examples on WindowsPeter Varga2016-03-231-0/+393
|/ | | | | | | | | Configuring windeployqt command line arguments might be inconvenient sometimes. This script uses qmake to query the necessary settings and uses the policy of QtWebEngine directory structure to find examples. Change-Id: I182928fa294de73eba2f49546c635f9a147d352a Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Update to Chromium 49.0.2623.91Allan Sandfeld Jensen2016-03-092-1/+2
| | | | | Change-Id: I43c545d1600bebabf6b94209beb91b3d3c4cd244 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Update snapshot scripts to Chromium 49Allan Sandfeld Jensen2016-03-072-5/+10
| | | | | | | | | The multi megabyte ICU assembler files are now omitted, as we instead either generate data files or use system ICU. Task-number: QTBUG-51173 Change-Id: I7c7594be08876751ffd73171550000a28399954f Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Adjust take snapshot to include chrome printing sources.Michael Bruning2016-02-011-1/+5
| | | | | Change-Id: I5f6abb62c1f35c544ea8024584cccb1d8c8421da Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Updated license headersJani Heikkinen2016-02-019-342/+225
| | | | | | | | | | | | From Qt 5.7 -> tools & tests are licensed under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header (in those files which will be under GPL 3 with exceptions) Change-Id: I59fcbb8cd1ca42b1a5ef96577bcb35ea0af01b71 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Update Chromium to 47.0.2526.109Allan Sandfeld Jensen2016-01-052-1/+2
| | | | | | | Also pulls in the CDM component. Change-Id: Ide70c3f8872b55473d17c32de65046fb3b0ced05 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Update Chromium 47.0.2536.71Allan Sandfeld Jensen2015-12-012-1/+2
| | | | | | | Including a few missing spellcheck files. Change-Id: Idffb0f5bc4411764c4079a314b21e656f8e892e6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Adapting to Chromium 47Allan Sandfeld Jensen2015-10-272-4/+12
| | | | | | | Updating to Chromium 47 and adapting API. Change-Id: Id465bbcd4facd7c47cb8a9f4bd4e18cbdc0d1120 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Update to Chromium 45.0.2454.101Allan Sandfeld Jensen2015-09-302-1/+2
| | | | | Change-Id: Ifda982e1bcfc2a0655e65a71321b137a348be865 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Fix dos2unixVersion error handling in take_snapshotMichal Klocek2015-09-241-1/+4
| | | | | | | | | dos2unix version 6.0.4 do not report version number on stdout, but to stderr, which breaks processing. Assume in that case that we have too old version anyway. Change-Id: Ifc945979a088558593091a8ef6b1a74e07334b66 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
* Update to Chromium 45.0.2454.79Allan Sandfeld Jensen2015-08-262-3/+2
| | | | | Change-Id: Id986be0af632884ae4e7d0fb2023e71c449a9eae Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Rebasing on Chromium 45Allan Sandfeld Jensen2015-08-252-5/+10
| | | | | | | Fixing the minor differences needed to work with Chromium 45. Change-Id: I5036b4b9a069d45e8dd37e24fab84cdfe5e67acc Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Update chromium to 44.0.2403.91Allan Sandfeld Jensen2015-07-302-8/+6
| | | | | | | Also updates snapshot script for removed, added and renamed modules. Change-Id: Ie511cbddc2f7c03d9f73f7ae190701539bc91d4d Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
* Update Chromium version to 44.0.2403.80Allan Sandfeld Jensen2015-07-151-2/+2
| | | | | | | | Also switch to parsing DEPS instead of .DEPS.git as the latter has been removed from upstream chromium. Change-Id: Ie449e310202458c5c514a5eb6af2d30486ec0891 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Update scripts for Chromium 44Allan Sandfeld Jensen2015-06-232-24/+22
| | | | | | | Updates version and snapshot script Change-Id: Ie1bd69d6a5042edbd563357bb2fc326cbbb813e8 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Remove eAndroid hooksAndras Becsi2015-04-143-4/+3
| | | | | | | | Support for the B2Qt/eAndroid platform is discontinued with Qt 5.5 so we can remove all remnants of the android platform. Change-Id: I93f15fcd4a345203e15010ddf1e8de3e8d28ab56 Reviewed-by: Michael Brüning <michael.bruning@theqtcompany.com>
* Update copyright headersJani Heikkinen2015-02-169-81/+81
| | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: Ieb6bac7a1be5c25eb7cb917495b58b6a870ca6d4 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* Update Chromium to version 40.0.2214.28 and ninja to 1.5.3.Zeno Albisser2015-01-203-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * scoped_refptr operator for implicit conversion to pointer has been disabled upstream: https://codereview.chromium.org/510323002 * Group permission API as done upstream: https://codereview.chromium.org/622793002 * content_worker gyp target has been removed upstream. * GetPageThumbnailData moved to DevToolsManagerDelegate. * ui/ui_resources has been renamed to ui/resources * WebPreferences and ResourceType have moved inside content. * Merge ResourceBundle's InitSharedInstanceLocaleOnly with InitSharedInstanceWithLocale(): https://codereview.chromium.org/457103003 * Remove obsolete accessibility events. * AX_EVENT_SELECTED_TEXT_CHANGED has been renamed to AX_EVENT_TEXT_SELECTION_CHANGED * AX_ROLE_MATH_ELEMENT was removed upstream. https://codereview.chromium.org/695133002 * Screen::IsDIPEnabled has been removed upstream. https://codereview.chromium.org/672823002 * Update DevToolsHttpHandlerDelegateQt according to ShellDevToolsManagerDelegate. * Various functionality from DevToolsHttpHandler was moved to DevToolsManagerDelegate https://codereview.chromium.org/560323005 * DevToolsHttpHandler::Start expects a scoped_ptr now. * Make sure event_factory_evdev.h is not included when USE_OZONE is not defined * ErrorPageParams was moved into namespace error_page. * Media Access is now handled by ContentBrowserClient::CheckMediaAccessPermission * SpecialStoragePolicy moved to namespace storage * Add implementation for new pure virtual function BrowserContext::GetSSLHostStateDelegate. * RenderPass::Id was renamed to RenderPass::RenderPassId * Include view_messages.h for ViewHostMsg_TextInputState_Param * CERT_UNABLE_TO_CHECK_REVOCATION has been deprecated by Chromium: https://codereview.chromium.org/449743002 * MailboxManager::ConsumeTexture only takes the mailbox as an argument * Replace RWHVQt::TextInputStateChanged with RWHVQt::TextInputTypeChanged. * RenderWidgetHostView::ScrollOffsetChanged has been removed. * SkBitmap::Config was removed upstream. * CopyFromCompositingSurfaceCallback has become an own type. * AcceleratedSurfaceInitialized only takes route_id as an argument. * ServerBoundCertService has been renamed to ChannelIDService. Related API has been renamed accordingly. * TextureImageTransportSurface was removed upstream. * Update MediaCaptureDispatcher::OnMediaRequestStateChanged signature. * AudioStream related functions are gone upstream. https://codereview.chromium.org/569713002 * Add implementation for RenderWidgetHostViewQt::GetLastScrollOffset. * Include generic touch_device implementation. * switches::kDisableDesktopNotifications was removed upstream. https://codereview.chromium.org/607843002 * PageTransition moved to ui. * Messages headers are not guarded. Including them multiple times does hurt. * ScaleGestureDetector does not create a standalone GestureDetector anymore. https://codereview.chromium.org/501503003 * MotionEvent::Cancel and Clone are not virtual anymore. https://codereview.chromium.org/502993004 * Exclude os_exchange_data_provider_mac from build. * Remove argument from ScopedClipboardWriter ctor. https://codereview.chromium.org/558913003 * Remove ShowPopupMenu override from WebContentsQt. The function is not pure virtual anymore, and we never implemented any specifics. * Do not use clang on desktop linux. * Request functions in ContentBrowserClient were merged into RequestPermission. * ninja: use configure.py --bootstrap instead of bootstrap.py Change-Id: I3575612826db7845461a949b4e737264bb4e8d88 Reviewed-by: Pierre Rossi <pierre.rossi@theqtcompany.com>
* Do not allow taking snapshots with setting ignorecase=true.Zeno Albisser2014-12-031-0/+6
| | | | | Change-Id: Ia0cec7f1498c3459ec1d1ce6ab807994c04564e2 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* take_snapshot.py: Do not adopt .gitattributes files.Zeno Albisser2014-12-031-0/+1
| | | | | | | | | Some of these files enforce crlf conversion. For packaging reasons we have to make sure we never have crlf in our repository. Change-Id: I3b4da212c587f8461819f3d01e4967ebefaef4b0 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* take_snapshot.py should only clear directories.Zeno Albisser2014-12-031-1/+1
| | | | | | | | Specifically we want to keep the file src/3rdparty/.gitattributes. Change-Id: I76f3fe6d6f8b8477834e31a4806f23928a0ca010 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* Whitelist/Blacklist several files for the snapshot based on Chromium ↵Zeno Albisser2014-12-031-2/+10
| | | | | | | | | | | | | | | | | | | 40.0.2214.5. Include files related to: - components_strings - chrome_version.rc.version - error_page - *.grdp files within components Exclude files related to: - junit - polymer - google_input_tools - cython Change-Id: I2388ec7694890d573cbea843de23471c6a5395a6 Reviewed-by: Andras Becsi <andras.becsi@theqtcompany.com>
* init-repository: clean up upstream repository checkout even moreAndras Becsi2014-09-113-47/+23
| | | | | | | | | | | | | | Remove unneeded codepaths now that we can trust the git shasums found in the .DEPS.git file. No need for parsing and verifying remote branches, we can simply fetch the specified sha1 from origin. This patch also unifies the 'shasum' and 'ref' members of the Submodule python class since the 'ref' member can represent both chromium's version tag and the sha1s of the submodules, there is no need for a separate codepath for these. Change-Id: I1300b5b74f4d2e6984943570963b2f813b1b1679 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* take_snapshot: check if dos2unix is in the path before using itAndras Becsi2014-09-111-2/+6
| | | | | Change-Id: If696de316dd7b3b801ba46d1a54c37eafa901bf1 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Do a minor update to Chromium 37.0.2062.103Jocelyn Turcotte2014-09-101-1/+1
| | | | | | Change-Id: Ie9334cc9cdd240b2f5ceea0e31d82258045ea18c Reviewed-by: Michael Bruning <michael.bruning@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Run dos2unix on all files when taking snapshotsJocelyn Turcotte2014-09-101-7/+24
| | | | | | | | | | | This fixes Qt's packaging scripts that use the --to-crlf switch of zip, which doesn't work when files already contain CRLF. The script now takes much longer to run and a progress indicator was added to the console. Change-Id: I459c0d95f67b40ab57ff3b337210847cc60debc7 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Prepare scripts for the .103 snapshotJocelyn Turcotte2014-09-102-60/+6
| | | | | | | | | | | | Chromium is now relying on git for its releases and isn't creating release DEPS files anymore. This patch makes sure that we ignore any deps not starting with src/ to exclude the script repositories outside of the Chromium sources and it removes all the svn-related logic. Change-Id: I24b1839f919821382b8c5993c71251dbd6108d4f Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Clean up the module root directoryJocelyn Turcotte2014-09-101-0/+145
| | | | | | | | | | | | This moves init-repository.py to tools/scripts since it should now mainly be used by Qt WebEngine developers after our integration with qt5.git. Also remove the README file since most of the information is no as relevant for the Qt module audience as it was for a labs project. Change-Id: Iad9f6582d0ec0834cdaf38d0551d24f2c273badf Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Update the QtWebEngineCore library to run on top of Chromium 37Jocelyn Turcotte2014-08-141-2/+2
| | | | | | | | | | | | | | | Most of the patch is about upstream classes/methods that changed. Other important details: - icu data files are now used by default - cygwin is no longer required to build on Windows - RenderFrameHost has been replacing RenderViewHost in a few places, following the separate process iframes support in Chromium - The user agent is accessed through ContentClient::GetUserAgent instead of from the command line switches Change-Id: I86cc93aff7ce31176a80b0b4a5d54025674a451c Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Update the scripts for the snapshot of 37Jocelyn Turcotte2014-08-143-61/+72
| | | | | | | | | | | | | | | - The svn repo string would be something like: ...branches/2062/path_suffix and I want only the branch number in this case. Updated git_submodule.py to support that case and use regexp instead to keep thing a bit simpler. - .isolate are gyp files, moved the exception at the top - Changed some inclusions/exclusions - tools/ is now all excluded by default with exception instead of all included. We don't need most of it. Change-Id: I6d0666d9af7fc6a0f3c4fe866adf2744f13f7c35 Reviewed-by: Andras Becsi <andras.becsi@digia.com>