From 944ce122ee2926089f8a2ec17e39b75e3b0d1ff8 Mon Sep 17 00:00:00 2001 From: Kevin Kofler Date: Sun, 26 Mar 2017 21:48:05 +0200 Subject: [PATCH] Update to 5.8.0 - Fix FTBFS in the WTF part of Blink/WebKit with GCC 7 --- .gitignore | 1 + clean_ffmpeg.sh | 18 +- qt5-qtwebengine.spec | 100 +- ...ensource-src-5.6.0-beta-system-icu54.patch | 12 - ...nsource-src-5.7.0-system-nspr-prtime.patch | 48 - ...nsource-src-5.7.1-webrtc-neon-detect.patch | 159 - ...bengine-opensource-src-5.8.0-no-sse2.patch | 3323 +++++++++-------- ...ine-opensource-src-5.8.0-pdfium-gcc7.patch | 600 +++ ...-opensource-src-5.8.0-system-icu-utf.patch | 92 +- ...nsource-src-5.8.0-system-nspr-prtime.patch | 48 + ...bengine-opensource-src-5.8.0-v8-gcc7.patch | 71 + ...nsource-src-5.8.0-webrtc-neon-detect.patch | 32 + ...engine-opensource-src-5.8.0-wtf-gcc7.patch | 12 + sources | 2 +- 14 files changed, 2645 insertions(+), 1873 deletions(-) delete mode 100644 qtwebengine-opensource-src-5.6.0-beta-system-icu54.patch delete mode 100644 qtwebengine-opensource-src-5.7.0-system-nspr-prtime.patch delete mode 100644 qtwebengine-opensource-src-5.7.1-webrtc-neon-detect.patch rename qtwebengine-opensource-src-5.7.0-no-sse2.patch => qtwebengine-opensource-src-5.8.0-no-sse2.patch (60%) create mode 100644 qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch rename qtwebengine-opensource-src-5.7.0-system-icu-utf.patch => qtwebengine-opensource-src-5.8.0-system-icu-utf.patch (72%) create mode 100644 qtwebengine-opensource-src-5.8.0-system-nspr-prtime.patch create mode 100644 qtwebengine-opensource-src-5.8.0-v8-gcc7.patch create mode 100644 qtwebengine-opensource-src-5.8.0-webrtc-neon-detect.patch create mode 100644 qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch diff --git a/.gitignore b/.gitignore index 75650cf..0983a72 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /qtwebengine-opensource-src-5.6.1-clean.tar.xz /qtwebengine-opensource-src-5.7.0-clean.tar.xz /qtwebengine-opensource-src-5.7.1-clean.tar.xz +/qtwebengine-opensource-src-5.8.0-clean.tar.xz diff --git a/clean_ffmpeg.sh b/clean_ffmpeg.sh index cfb37e4..af4c3ef 100755 --- a/clean_ffmpeg.sh +++ b/clean_ffmpeg.sh @@ -1,6 +1,6 @@ #!/bin/bash # Copyright 2013 Tomas Popela -# Copyright 2016 Kevin Kofler +# Copyright 2016-2017 Kevin Kofler # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including @@ -174,10 +174,14 @@ manual_files=" libavutil/x86/x86inc.asm \ libavcodec/x86/fft_init.c \ libavcodec/x86/h264_intrapred_init.c \ libavcodec/x86/hpeldsp_init.c \ + libavcodec/x86/videodsp_init.c \ + libavcodec/x86/vorbisdsp_init.c \ libavcodec/x86/vp3dsp_init.c \ libavcodec/x86/vp8dsp_init.c \ libavutil/x86/autorename_libavutil_x86_cpu.c \ libavutil/x86/autorename_libavutil_x86_float_dsp_init.c \ + libavutil/x86/cpu.c \ + libavutil/x86/float_dsp_init.c \ libavutil/x86/lls_init.c \ libavcodec/x86/deinterlace.asm \ libavcodec/x86/fft.asm \ @@ -211,6 +215,18 @@ manual_files=" libavutil/x86/x86inc.asm \ libavcodec/vp8.c \ libavcodec/vp8_parser.c \ libavcodec/vp8dsp.c \ + libavutil/cpu.c \ + libavutil/arm/cpu.c \ + libavutil/arm/float_dsp_neon.S \ + libavformat/options.c \ + libavformat/pcm.c \ + libavformat/utils.c \ + libavcodec/utils.c \ + libavcodec/aarch64/hpeldsp_neon.S \ + libavcodec/aarch64/h264pred_neon.S \ + libavcodec/arm/vorbisdsp_neon.S \ + libavcodec/arm/mdct_neon.S \ + libavcodec/arm/fft_neon.S \ chromium/ffmpeg_stub_headers.fragment \ chromium/ffmpegsumo.sigs" diff --git a/qt5-qtwebengine.spec b/qt5-qtwebengine.spec index 29bc598..773e7d1 100644 --- a/qt5-qtwebengine.spec +++ b/qt5-qtwebengine.spec @@ -4,7 +4,7 @@ %global _hardened_build 1 # define to build docs, need to undef this for bootstrapping -# where qt5-qttools builds are not yet available +# where qt5-qttools (qt5-doctools) builds are not yet available # only primary archs (for now), allow secondary to bootstrap %ifarch %{arm} %{ix86} x86_64 %global docs 1 @@ -35,8 +35,8 @@ Summary: Qt5 - QtWebEngine components Name: qt5-qtwebengine -Version: 5.7.1 -Release: 8%{?dist} +Version: 5.8.0 +Release: 2%{?dist} # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html @@ -44,8 +44,8 @@ Release: 8%{?dist} License: (LGPLv2 with exceptions or GPLv3 with exceptions) and BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2) URL: http://www.qt.io # cleaned tarball with patent-encumbered codecs removed from the bundled FFmpeg -# wget http://download.qt.io/official_releases/qt/5.7/5.7.0/submodules/qtwebengine-opensource-src-5.7.0.tar.xz -# ./clean_qtwebengine.sh 5.7.0 +# wget http://download.qt.io/official_releases/qt/5.8/5.8.0/submodules/qtwebengine-opensource-src-5.8.0.tar.xz +# ./clean_qtwebengine.sh 5.8.0 Source0: qtwebengine-opensource-src-%{version}-clean.tar.xz # cleanup scripts used above Source1: clean_qtwebengine.sh @@ -68,33 +68,43 @@ Patch3: qtwebengine-opensource-src-5.7.1-no-neon.patch # use the system NSPR prtime (based on Debian patch) # We already depend on NSPR, so it is useless to copy these functions here. # Debian uses this just fine, and I don't see relevant modifications either. -Patch4: qtwebengine-opensource-src-5.7.0-system-nspr-prtime.patch +Patch4: qtwebengine-opensource-src-5.8.0-system-nspr-prtime.patch # use the system ICU UTF functions # We already depend on ICU, so it is useless to copy these functions here. # I checked the history of that directory, and other than the renames I am # undoing, there were no modifications at all. Must be applied after Patch5. -Patch5: qtwebengine-opensource-src-5.7.0-system-icu-utf.patch +Patch5: qtwebengine-opensource-src-5.8.0-system-icu-utf.patch # do not require SSE2 on i686 # cumulative revert of upstream reviews 187423002, 308003004, 511773002 (parts # relevant to QtWebEngine only), 516543004, 1152053004 and 1161853008, along # with some custom fixes and improvements # also build V8 shared and twice on i686 (once for x87, once for SSE2) -Patch6: qtwebengine-opensource-src-5.7.0-no-sse2.patch +# TODO: For 5.9, we will need the GN files updated (where not done yet), too. +Patch6: qtwebengine-opensource-src-5.8.0-no-sse2.patch # fix ARM NEON handling in webrtc gyp files # Fix video_processing.gypi to only build NEON files when actually requested # (i.e., not if arm_neon=0 arm_neon_optional=0). Patch7: qtwebengine-opensource-src-5.7.0-webrtc-neon.patch -# don't require the time zone detection API backported from ICU 55 (thanks spot) -Patch8: qtwebengine-opensource-src-5.6.0-beta-system-icu54.patch # fix missing ARM -mfpu setting (see the comment in the no-neon patch above) Patch9: qtwebengine-opensource-src-5.7.1-arm-fpu-fix.patch # remove Android dependencies from openmax_dl ARM NEON detection (detect.c) Patch10: qtwebengine-opensource-src-5.7.1-openmax-dl-neon.patch # chromium-skia: build SkUtilsArm.cpp also on non-Android ARM Patch11: qtwebengine-opensource-src-5.7.1-skia-neon.patch -# webrtc: backport https://codereview.webrtc.org/1820133002/ "Implement CPU -# feature detection for ARM Linux." and enable the detection also for Chromium -Patch12: qtwebengine-opensource-src-5.7.1-webrtc-neon-detect.patch +# webrtc: enable the CPU feature detection for ARM Linux also for Chromium +Patch12: qtwebengine-opensource-src-5.8.0-webrtc-neon-detect.patch +# fix FTBFS in V8 with GCC 7 (by Ben Noordhuis, backported from Chromium RPM) +Patch13: qtwebengine-opensource-src-5.8.0-v8-gcc7.patch +# fix FTBFS in PDFium with GCC 7: backport upstream cleanup removing that code +# https://codereview.chromium.org/2154503002 +Patch14: qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch +# fix FTBFS in the WTF part of Blink/WebKit with GCC 7 +Patch15: qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch + +%if 0%{?fedora} && 0%{?fedora} < 25 +# work around missing qt5_qtwebengine_arches macro on F24 +%{!?qt5_qtwebengine_arches:%global qt5_qtwebengine_arches %{ix86} x86_64 %{arm} aarch64 mips mipsel mips64el} +%endif # handled by qt5-srpm-macros, which defines %%qt5_qtwebengine_arches ExclusiveArch: %{qt5_qtwebengine_arches} @@ -184,9 +194,11 @@ BuildRequires: pkgconfig(vpx) >= 1.5.0 # Of course, Chromium itself is bundled. It cannot be unbundled because it is # not a library, but forked (modified) application code. -# Some security fixes are backported, see: -# http://code.qt.io/cgit/qt/qtwebengine-chromium.git/log/?h=49-based -Provides: bundled(chromium) = 49 +# Some security fixes (up to version 55.0.2883.75) are backported, see: +# http://code.qt.io/cgit/qt/qtwebengine-chromium.git/log/?h=53-based +# see dist/changes-5.8.0 for the version numbers (base, security fixes) and for +# a list of CVEs fixed by the added security backports +Provides: bundled(chromium) = 53.0.2785.148 # Bundled in src/3rdparty/chromium/third_party: # Check src/3rdparty/chromium/third_party/*/README.chromium for version numbers, @@ -212,7 +224,7 @@ Provides: bundled(iccjpeg) Provides: bundled(khronos_headers) # bundled as "leveldatabase" Provides: bundled(leveldb) -Provides: bundled(libjingle) = 11250 +Provides: bundled(libjingle) = 12750 %if !0%{?use_system_libvpx} # bundled as "libvpx_new" # the version in README.chromium is wrong, see @@ -224,7 +236,7 @@ Provides: bundled(libvpx) = 1.5.0 Provides: bundled(libwebp) = 0.5.0 %endif Provides: bundled(libXNVCtrl) = 302.17 -Provides: bundled(libyuv) = 1563 +Provides: bundled(libyuv) = 1579 Provides: bundled(modp_b64) Provides: bundled(mojo) # headers only @@ -271,7 +283,7 @@ Provides: bundled(nsURLParsers) # Bundled outside of third_party, apparently not considered as such by Chromium: # see src/3rdparty/chromium/v8/include/v8_version.h for the version number -Provides: bundled(v8) = 4.9.385.33 +Provides: bundled(v8) = 5.3.332.47 # bundled by v8 (src/3rdparty/chromium/v8/src/third_party/fdlibm) # see src/3rdparty/chromium/v8/src/third_party/fdlibm/README.v8 for the version Provides: bundled(fdlibm) = 5.3 @@ -300,8 +312,13 @@ Summary: Example files for %{name} %if 0%{?docs} %package doc Summary: API documentation for %{name} -BuildRequires: qt5-qhelpgenerator -BuildRequires: qt5-qdoc +BuildRequires: qt5-doctools +BuildRequires: qt5-qtbase-doc +Requires: qt5-qtbase-doc +BuildRequires: qt5-qtxmlpatterns-doc +Requires: qt5-qtxmlpatterns-doc +BuildRequires: qt5-qtdeclarative-doc +Requires: qt5-qtdeclarative-doc BuildArch: noarch %description doc %{summary}. @@ -322,10 +339,12 @@ BuildArch: noarch %patch5 -p1 -b .system-icu-utf %patch6 -p1 -b .no-sse2 %patch7 -p1 -b .webrtc-neon -%patch8 -p1 -b .system-icu54 %patch10 -p1 -b .openmax-dl-neon %patch11 -p1 -b .skia-neon %patch12 -p1 -b .webrtc-neon-detect +%patch13 -p1 -b .v8-gcc7 +%patch14 -p1 -b .pdfium-gcc7 +%patch15 -p1 -b .wtf-gcc7 # fix // in #include in content/renderer/gpu to avoid debugedit failure sed -i -e 's!gpu//!gpu/!g' \ src/3rdparty/chromium/content/renderer/gpu/compositor_forwarding_message_filter.cc @@ -343,6 +362,14 @@ cp -bv /usr/include/re2/*.h src/3rdparty/chromium/third_party/re2/src/re2/ sed -i -e 's/=-g$/=-g1/g' src/core/gyp_run.pro %endif +# generate qtwebengine-3rdparty.qdoc, it is missing from the tarball +pushd src/3rdparty +python chromium/tools/licenses.py \ + --file-template ../../tools/about_credits.tmpl \ + --entry-template ../../tools/about_credits_entry.tmpl \ + credits >../webengine/doc/src/qtwebengine-3rdparty.qdoc +popd + # copy the Chromium license so it is installed with the appropriate name cp -p src/3rdparty/chromium/LICENSE LICENSE.Chromium @@ -372,7 +399,6 @@ export CFLAGS unset CXXFLAGS export CXXFLAGS -# workaround, disable parallel compilation as it fails to compile in brew make %{?_smp_mflags} %if 0%{?docs} @@ -387,6 +413,14 @@ make install INSTALL_ROOT=%{buildroot} -C %{_target_platform} make install_docs INSTALL_ROOT=%{buildroot} -C %{_target_platform} %endif +# hardlink files to {_bindir} +mkdir %{buildroot}%{_bindir} +pushd %{buildroot}%{_qt5_bindir} +for i in * ; do + ln -v ${i} %{buildroot}%{_bindir}/${i} +done +popd + ## .prl/.la file love # nuke .prl reference(s) to %%buildroot, excessive (.la-like) libs pushd %{buildroot}%{_qt5_libdir} @@ -405,6 +439,8 @@ popd %files %license LICENSE.* src/webengine/doc/src/qtwebengine-3rdparty.qdoc %{_qt5_libdir}/libQt5*.so.* +%{_bindir}/qwebengine_convert_dict +%{_qt5_bindir}/qwebengine_convert_dict %{_qt5_libdir}/qt5/qml/* %{_qt5_libdir}/qt5/libexec/QtWebEngineProcess %ifarch %{ix86} @@ -486,6 +522,24 @@ popd %changelog +* Tue Mar 07 2017 Kevin Kofler - 5.8.0-2 +- Fix FTBFS in the WTF part of Blink/WebKit with GCC 7 + +* Mon Mar 06 2017 Kevin Kofler - 5.8.0-1 +- Update to 5.8.0 +- Update version numbers of bundled stuff +- Rebase (unfuzz) system-nspr-prtime and system-icu-utf patches +- Drop system-icu54 patch, ICU 5.4 no longer supported +- Rebase the webrtc-neon-detect patch (backported portions no longer needed) +- Rebase the no-sse2 patch +- Update clean_ffmpeg.sh: autorename* files now #include the unrenamed ones +- Update -docs BuildRequires and Requires (Helio Castro) +- Fix FTBFS in V8 with GCC 7 (by Ben Noordhuis, backported from Chromium RPM) +- Fix FTBFS in PDFium with GCC 7: backport upstream cleanup removing that code +- Generate qtwebengine-3rdparty.qdoc, it is missing from the tarball +- Work around missing qt5_qtwebengine_arches macro on F24 +- Upstream added a qwebengine_convert_dict executable, package it + * Sat Feb 11 2017 Fedora Release Engineering - 5.7.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild diff --git a/qtwebengine-opensource-src-5.6.0-beta-system-icu54.patch b/qtwebengine-opensource-src-5.6.0-beta-system-icu54.patch deleted file mode 100644 index 7366f6a..0000000 --- a/qtwebengine-opensource-src-5.6.0-beta-system-icu54.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ur qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/content/browser/time_zone_monitor.cc qtwebengine-opensource-src-5.6.0-beta-system-icu54/src/3rdparty/chromium/content/browser/time_zone_monitor.cc ---- qtwebengine-opensource-src-5.6.0-beta/src/3rdparty/chromium/content/browser/time_zone_monitor.cc 2015-12-10 18:17:21.000000000 +0100 -+++ qtwebengine-opensource-src-5.6.0-beta-system-icu54/src/3rdparty/chromium/content/browser/time_zone_monitor.cc 2016-01-08 23:40:36.387525597 +0100 -@@ -22,7 +22,7 @@ - - void TimeZoneMonitor::NotifyRenderers() { - DCHECK_CURRENTLY_ON(BrowserThread::UI); --#if defined(OS_CHROMEOS) || U_ICU_VERSION_MAJOR_NUM < 54 -+#if defined(OS_CHROMEOS) || U_ICU_VERSION_MAJOR_NUM < 55 - // On CrOS and older ICU versions, ICU's default tz is already set to a new zone. - // No need to redetect it with detectHostTimeZone(). - scoped_ptr new_zone(icu::TimeZone::createDefault()); diff --git a/qtwebengine-opensource-src-5.7.0-system-nspr-prtime.patch b/qtwebengine-opensource-src-5.7.0-system-nspr-prtime.patch deleted file mode 100644 index 04933fc..0000000 --- a/qtwebengine-opensource-src-5.7.0-system-nspr-prtime.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -ur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/base.gypi qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/base.gypi 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi 2016-07-17 16:52:03.641799106 +0200 -@@ -634,8 +634,6 @@ - 'third_party/dmg_fp/g_fmt.cc', - 'third_party/icu/icu_utf.cc', - 'third_party/icu/icu_utf.h', -- 'third_party/nspr/prtime.cc', -- 'third_party/nspr/prtime.h', - 'third_party/superfasthash/superfasthash.c', - 'third_party/xdg_mime/xdgmime.h', - 'thread_task_runner_handle.cc', -diff -ur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/BUILD.gn qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn 2016-07-17 16:52:03.642799111 +0200 -@@ -743,8 +743,6 @@ - "third_party/dmg_fp/g_fmt.cc", - "third_party/icu/icu_utf.cc", - "third_party/icu/icu_utf.h", -- "third_party/nspr/prtime.cc", -- "third_party/nspr/prtime.h", - "third_party/superfasthash/superfasthash.c", - "thread_task_runner_handle.cc", - "thread_task_runner_handle.h", -diff -ur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/time/pr_time_unittest.cc qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/time/pr_time_unittest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/time/pr_time_unittest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/time/pr_time_unittest.cc 2016-07-17 16:55:11.749868819 +0200 -@@ -7,7 +7,7 @@ - - #include "base/compiler_specific.h" - #include "base/macros.h" --#include "base/third_party/nspr/prtime.h" -+#include - #include "base/time/time.h" - #include "build/build_config.h" - #include "testing/gtest/include/gtest/gtest.h" -diff -ur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/time/time.cc qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/time/time.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/base/time/time.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/time/time.cc 2016-07-17 16:55:54.895115802 +0200 -@@ -14,7 +14,7 @@ - #include "base/logging.h" - #include "base/macros.h" - #include "base/strings/stringprintf.h" --#include "base/third_party/nspr/prtime.h" -+#include - #include "build/build_config.h" - - namespace base { diff --git a/qtwebengine-opensource-src-5.7.1-webrtc-neon-detect.patch b/qtwebengine-opensource-src-5.7.1-webrtc-neon-detect.patch deleted file mode 100644 index 325b869..0000000 --- a/qtwebengine-opensource-src-5.7.1-webrtc-neon-detect.patch +++ /dev/null @@ -1,159 +0,0 @@ -diff -Nur qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn ---- qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn 2016-11-07 15:46:18.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn 2016-12-04 15:06:23.886224907 +0100 -@@ -133,6 +133,8 @@ - #"WEBRTC_CLOCK_TYPE_REALTIME", - ] - -+ deps += [ ":cpu_features_linux" ] -+ - libs += [ "rt" ] - } - -@@ -206,3 +208,14 @@ - ] - } - } -+ -+if (is_linux) { -+ source_set("cpu_features_linux") { -+ sources = [ -+ "source/cpu_features_linux.c", -+ ] -+ -+ configs += [ "..:common_config" ] -+ public_configs = [ "..:common_inherited_config" ] -+ } -+} -diff -Nur qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/cpu_features_webrtc.gyp qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/cpu_features_webrtc.gyp ---- qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/cpu_features_webrtc.gyp 2016-11-07 15:46:18.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/cpu_features_webrtc.gyp 2016-12-04 15:05:24.150142787 +0100 -@@ -7,6 +7,7 @@ - # be found in the AUTHORS file in the root of the source tree. - - { -+ 'includes': [ '../build/common.gypi', ], - 'conditions': [ - ['OS=="android"', { - 'targets': [ -@@ -21,6 +22,20 @@ - ], - }, - ], -+ }], -+ ['OS=="linux"', { -+ 'targets': [ -+ { -+ 'target_name': 'cpu_features_linux', -+ 'type': 'static_library', -+ 'sources': [ -+ 'source/cpu_features_linux.c', -+ ], -+ 'dependencies': [ -+ '<(webrtc_root)/common.gyp:webrtc_common', -+ ], -+ }, -+ ], - }], - ], # conditions - } -diff -Nur qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/source/cpu_features_linux.c qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/source/cpu_features_linux.c ---- qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/source/cpu_features_linux.c 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/source/cpu_features_linux.c 2016-12-04 15:05:24.150142787 +0100 -@@ -0,0 +1,83 @@ -+/* -+ * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. -+ * -+ * Use of this source code is governed by a BSD-style license -+ * that can be found in the LICENSE file in the root of the source -+ * tree. An additional intellectual property rights grant can be found -+ * in the file PATENTS. All contributing project authors may -+ * be found in the AUTHORS file in the root of the source tree. -+ */ -+ -+#include -+#include -+#include -+#if __GLIBC_PREREQ(2, 16) -+#include -+#else -+#include -+#include -+#include -+#include -+#endif -+#include "webrtc/system_wrappers/include/cpu_features_wrapper.h" -+ -+#if defined(WEBRTC_ARCH_ARM_FAMILY) -+#include -+ -+uint64_t WebRtc_GetCPUFeaturesARM(void) { -+ uint64_t result = 0; -+ int architecture = 0; -+ unsigned long hwcap = 0; -+ const char* platform = NULL; -+#if __GLIBC_PREREQ(2, 16) -+ hwcap = getauxval(AT_HWCAP); -+ platform = (const char*)getauxval(AT_PLATFORM); -+#else -+ ElfW(auxv_t) auxv; -+ int fd = open("/proc/self/auxv", O_RDONLY); -+ if (fd >= 0) { -+ while (hwcap == 0 || platform == NULL) { -+ if (read(fd, &auxv, sizeof(auxv)) < (ssize_t)sizeof(auxv)) { -+ if (errno == EINTR) -+ continue; -+ break; -+ } -+ switch (auxv.a_type) { -+ case AT_HWCAP: -+ hwcap = auxv.a_un.a_val; -+ break; -+ case AT_PLATFORM: -+ platform = (const char*)auxv.a_un.a_val; -+ break; -+ } -+ } -+ close(fd); -+ } -+#endif // __GLIBC_PREREQ(2,16) -+#if defined(__aarch64__) -+ architecture = 8; -+ if ((hwcap & HWCAP_FP) != 0) -+ result |= kCPUFeatureVFPv3; -+ if ((hwcap & HWCAP_ASIMD) != 0) -+ result |= kCPUFeatureNEON; -+#else -+ if (platform != NULL) { -+ /* expect a string in the form "v6l" or "v7l", etc. -+ */ -+ if (platform[0] == 'v' && '0' <= platform[1] && platform[1] <= '9' && -+ (platform[2] == 'l' || platform[2] == 'b')) { -+ architecture = platform[1] - '0'; -+ } -+ } -+ if ((hwcap & HWCAP_VFPv3) != 0) -+ result |= kCPUFeatureVFPv3; -+ if ((hwcap & HWCAP_NEON) != 0) -+ result |= kCPUFeatureNEON; -+#endif -+ if (architecture >= 7) -+ result |= kCPUFeatureARMv7; -+ if (architecture >= 6) -+ result |= kCPUFeatureLDREXSTREX; -+ return result; -+} -+#endif // WEBRTC_ARCH_ARM_FAMILY -diff -Nur qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp ---- qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp 2016-11-07 15:46:18.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.1-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp 2016-12-04 15:09:09.323684522 +0100 -@@ -143,6 +143,9 @@ - # Define this if the Linux system does not support CLOCK_MONOTONIC. - #'WEBRTC_CLOCK_TYPE_REALTIME', - ], -+ 'dependencies': [ -+ 'cpu_features_webrtc.gyp:cpu_features_linux', -+ ], - 'link_settings': { - 'libraries': [ '-lrt', ], - }, diff --git a/qtwebengine-opensource-src-5.7.0-no-sse2.patch b/qtwebengine-opensource-src-5.8.0-no-sse2.patch similarity index 60% rename from qtwebengine-opensource-src-5.7.0-no-sse2.patch rename to qtwebengine-opensource-src-5.8.0-no-sse2.patch index a49b6d7..5e323e1 100644 --- a/qtwebengine-opensource-src-5.7.0-no-sse2.patch +++ b/qtwebengine-opensource-src-5.8.0-no-sse2.patch @@ -1,6 +1,6 @@ -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/breakpad/src/build/common.gypi qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/breakpad/src/build/common.gypi ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/breakpad/src/build/common.gypi 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/breakpad/src/build/common.gypi 2016-07-17 18:06:28.022746102 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/breakpad/src/build/common.gypi qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/breakpad/src/build/common.gypi +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/breakpad/src/build/common.gypi 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/breakpad/src/build/common.gypi 2017-03-05 17:26:14.507159420 +0100 @@ -80,8 +80,8 @@ # The system root for cross-compiles. Default: none. 'sysroot%': '', @@ -30,10 +30,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/breakpad/src/bu ], 'ldflags': [ '-m32', -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/build/common.gypi qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/build/common.gypi ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/build/common.gypi 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/build/common.gypi 2016-07-17 18:06:28.025746118 +0200 -@@ -3898,15 +3898,7 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/build/common.gypi qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/build/common.gypi +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/build/common.gypi 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/build/common.gypi 2017-03-05 17:26:14.612157862 +0100 +@@ -3861,15 +3861,7 @@ # value used during computation does not change depending on # how the compiler optimized the code, since the value is # always kept in its specified precision. @@ -49,14 +49,14 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/build/common.gy '-m32', ], 'ldflags': [ -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/cc/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/cc/BUILD.gn 2016-07-17 19:24:47.069349645 +0200 -@@ -528,13 +528,6 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/cc/BUILD.gn qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/cc/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/cc/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/cc/BUILD.gn 2017-03-05 17:38:41.416050535 +0100 +@@ -537,13 +537,6 @@ "trees/tree_synchronizer.h", ] -- if (target_cpu == "x86" || target_cpu == "x64") { +- if (current_cpu == "x86" || current_cpu == "x64") { - sources += [ - "raster/texture_compressor_etc1_sse.cc", - "raster/texture_compressor_etc1_sse.h", @@ -66,7 +66,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn qtw configs += [ "//build/config:precompiled_headers" ] public_deps = [ -@@ -544,6 +537,7 @@ +@@ -553,6 +546,7 @@ deps = [ "//base", "//base/third_party/dynamic_annotations", @@ -74,7 +74,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn qtw "//cc/proto", "//cc/surfaces:surface_id", "//gpu", -@@ -563,6 +557,36 @@ +@@ -581,6 +575,36 @@ } } @@ -85,7 +85,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn qtw +} + +source_set("cc_opts_sse") { -+ if (target_cpu == "x86" || target_cpu == "x64") { ++ if (current_cpu == "x86" || current_cpu == "x64") { + deps = [ + "//base", + ] @@ -111,10 +111,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/BUILD.gn qtw source_set("test_support") { testonly = true sources = [ -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/cc.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/cc/cc.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/cc.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/cc/cc.gyp 2016-07-17 19:23:10.962834059 +0200 -@@ -595,14 +595,6 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/cc/cc.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/cc/cc.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/cc/cc.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/cc/cc.gyp 2017-03-05 17:26:26.081987615 +0100 +@@ -602,14 +602,6 @@ 'includes': [ '../build/android/increase_size_for_speed.gypi', ], @@ -129,7 +129,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/cc.gyp qtweb }, { # GN version: "//cc/proto" -@@ -667,6 +659,7 @@ +@@ -678,6 +670,7 @@ '<(DEPTH)/ui/events/events.gyp:events_base', '<(DEPTH)/ui/gfx/gfx.gyp:gfx', '<(DEPTH)/ui/gfx/gfx.gyp:gfx_geometry', @@ -137,7 +137,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/cc.gyp qtweb ], 'defines': [ 'CC_SURFACES_IMPLEMENTATION=1', -@@ -704,5 +697,41 @@ +@@ -714,5 +707,41 @@ '../build/android/increase_size_for_speed.gypi', ], }, @@ -179,10 +179,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/cc/cc.gyp qtweb + }, ], } -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/BUILD.gn qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/BUILD.gn 2016-07-17 18:06:36.080790050 +0200 -@@ -279,13 +279,13 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/BUILD.gn qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/BUILD.gn 2017-03-05 17:26:26.082987600 +0100 +@@ -312,13 +312,13 @@ } if (current_cpu == "x86" || current_cpu == "x64") { @@ -201,8 +201,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/BUIL - deps += [ ":media_yasm" ] } - configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] -@@ -484,10 +484,47 @@ + if (is_linux || is_win) { +@@ -534,10 +534,47 @@ } if (current_cpu == "x86" || current_cpu == "x64") { @@ -250,19 +250,19 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/BUIL "simd/convert_yuv_to_rgb_sse.asm", "simd/convert_yuva_to_argb_mmx.asm", "simd/empty_register_state_mmx.asm", -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/media.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/media.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/media.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/media.cc 2016-07-17 18:06:36.080790050 +0200 -@@ -11,6 +11,8 @@ - #include "base/synchronization/lock.h" +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/media.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/media.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/media.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/media.cc 2017-03-05 17:44:02.063267153 +0100 +@@ -10,6 +10,8 @@ + #include "base/metrics/field_trial.h" #include "base/trace_event/trace_event.h" - #include "build/build_config.h" + #include "media/base/media_switches.h" +#include "media/base/sinc_resampler.h" +#include "media/base/vector_math.h" #include "media/base/yuv_convert.h" - #if !defined(MEDIA_DISABLE_FFMPEG) -@@ -29,6 +31,8 @@ + #if defined(OS_ANDROID) +@@ -40,6 +42,8 @@ TRACE_EVENT_WARMUP_CATEGORY("media"); // Perform initialization of libraries which require runtime CPU detection. @@ -271,9 +271,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/medi InitializeCPUSpecificYUVConversions(); #if !defined(MEDIA_DISABLE_FFMPEG) -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h 2016-07-17 19:32:39.210872688 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb.h 2017-03-05 17:26:26.083987585 +0100 @@ -65,6 +65,17 @@ int rgbstride, YUVType yuv_type); @@ -336,9 +336,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd MEDIA_EXPORT void LinearScaleYUVToRGB32Row_SSE(const uint8_t* y_buf, const uint8_t* u_buf, const uint8_t* v_buf, -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm 2016-07-17 18:06:36.101790164 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_mmx.asm 2017-03-05 17:26:26.167986340 +0100 @@ -0,0 +1,23 @@ +; Copyright (c) 2011 The Chromium Authors. All rights reserved. +; Use of this source code is governed by a BSD-style license that can be @@ -363,9 +363,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd +; const int16* convert_table); +%define SYMBOL ConvertYUVToRGB32Row_MMX +%include "convert_yuv_to_rgb_mmx.inc" -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc 2016-07-17 19:36:04.063964591 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/convert_yuv_to_rgb_x86.cc 2017-03-05 17:26:26.167986340 +0100 @@ -47,6 +47,34 @@ EmptyRegisterState(); } @@ -401,9 +401,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd void ConvertYUVToRGB32_SSE(const uint8_t* yplane, const uint8_t* uplane, const uint8_t* vplane, -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/filter_yuv.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/filter_yuv.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv.h 2016-07-17 19:37:17.605356580 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/filter_yuv.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/filter_yuv.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv.h 2017-03-05 17:26:26.167986340 +0100 @@ -20,6 +20,12 @@ int source_width, uint8_t source_y_fraction); @@ -417,9 +417,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd MEDIA_EXPORT void FilterYUVRows_SSE2(uint8_t* ybuf, const uint8_t* y0_ptr, const uint8_t* y1_ptr, -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc 2016-07-17 19:37:56.249562560 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/filter_yuv_mmx.cc 2017-03-05 17:26:26.167986340 +0100 @@ -0,0 +1,79 @@ +// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be @@ -500,9 +500,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd +#endif + +} // namespace media -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc 2016-07-17 18:06:36.111790219 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/sinc_resampler_sse.cc 2017-03-05 17:26:26.168986325 +0100 @@ -0,0 +1,50 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be @@ -554,9 +554,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd +} + +} // namespace media -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc 2016-07-17 18:06:36.112790224 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/simd/vector_math_sse.cc 2017-03-05 17:26:26.168986325 +0100 @@ -0,0 +1,118 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be @@ -676,9 +676,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/simd + +} // namespace vector_math +} // namespace media -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.cc 2016-07-17 19:40:18.772322232 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.cc 2017-03-05 17:26:26.168986325 +0100 @@ -81,17 +81,12 @@ #include #include @@ -789,10 +789,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc float SincResampler::Convolve_NEON(const float* input_ptr, const float* k1, const float* k2, double kernel_interpolation_factor) { -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.h 2016-07-17 18:06:36.163790503 +0200 -@@ -35,6 +35,10 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler.h 2017-03-05 17:26:26.169986310 +0100 +@@ -36,6 +36,10 @@ kKernelStorageSize = kKernelSize * (kKernelOffsetCount + 1), }; @@ -803,9 +803,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc // Callback type for providing more data into the resampler. Expects |frames| // of data to be rendered into |destination|; zero padded if not enough frames // are available to satisfy the request. -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc 2016-07-17 18:06:36.171790546 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_perftest.cc 2017-03-05 17:26:26.169986310 +0100 @@ -4,6 +4,7 @@ #include "base/bind.h" @@ -824,10 +824,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc RunConvolveBenchmark( &resampler, SincResampler::CONVOLVE_FUNC, true, "optimized_aligned"); RunConvolveBenchmark( -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc 2016-07-17 19:41:45.620785149 +0200 -@@ -9,6 +9,7 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/sinc_resampler_unittest.cc 2017-03-05 17:26:26.169986310 +0100 +@@ -10,6 +10,7 @@ #include "base/bind.h" #include "base/bind_helpers.h" @@ -835,7 +835,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc #include "base/macros.h" #include "base/strings/string_number_conversions.h" #include "base/time/time.h" -@@ -164,6 +165,10 @@ +@@ -166,6 +167,10 @@ static const double kKernelInterpolationFactor = 0.5; TEST(SincResamplerTest, Convolve) { @@ -846,9 +846,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/sinc // Initialize a dummy resampler. MockSource mock_source; SincResampler resampler( -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.cc 2016-07-17 18:06:36.173790557 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.cc 2017-03-05 17:26:26.170986295 +0100 @@ -7,12 +7,17 @@ #include @@ -1036,9 +1036,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect #if defined(ARCH_CPU_ARM_FAMILY) && defined(USE_NEON) void FMAC_NEON(const float src[], float scale, int len, float dest[]) { const int rem = len % 4; -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.h 2016-07-17 18:06:36.174790563 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math.h 2017-03-05 17:26:26.170986295 +0100 @@ -15,6 +15,11 @@ // Required alignment for inputs and outputs to all vector math functions enum { kRequiredAlignment = 16 }; @@ -1051,18 +1051,18 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect // Multiply each element of |src| (up to |len|) by |scale| and add to |dest|. // |src| and |dest| must be aligned by kRequiredAlignment. MEDIA_EXPORT void FMAC(const float src[], float scale, int len, float dest[]); -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_perftest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_perftest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_perftest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_perftest.cc 2016-07-17 19:43:25.736318783 +0200 -@@ -3,6 +3,7 @@ - // found in the LICENSE file. +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_perftest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_perftest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_perftest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_perftest.cc 2017-03-05 17:26:26.171986280 +0100 +@@ -5,6 +5,7 @@ + #include #include "base/macros.h" +#include "base/cpu.h" #include "base/memory/aligned_memory.h" - #include "base/memory/scoped_ptr.h" #include "base/time/time.h" -@@ -81,15 +82,11 @@ + #include "build/build_config.h" +@@ -82,15 +83,11 @@ DISALLOW_COPY_AND_ASSIGN(VectorMathPerfTest); }; @@ -1079,7 +1079,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect #endif // Benchmark for each optimized vector_math::FMAC() method. -@@ -98,6 +95,9 @@ +@@ -99,6 +96,9 @@ RunBenchmark( vector_math::FMAC_C, true, "vector_math_fmac", "unoptimized"); #if defined(FMAC_FUNC) @@ -1089,7 +1089,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect // Benchmark FMAC_FUNC() with unaligned size. ASSERT_NE((kVectorSize - 1) % (vector_math::kRequiredAlignment / sizeof(float)), 0U); -@@ -111,12 +111,24 @@ +@@ -112,12 +112,24 @@ #endif } @@ -1114,7 +1114,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect // Benchmark FMUL_FUNC() with unaligned size. ASSERT_NE((kVectorSize - 1) % (vector_math::kRequiredAlignment / sizeof(float)), 0U); -@@ -130,6 +142,14 @@ +@@ -131,6 +143,14 @@ #endif } @@ -1129,7 +1129,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect // Benchmark for each optimized vector_math::EWMAAndMaxPower() method. TEST_F(VectorMathPerfTest, EWMAAndMaxPower) { // Benchmark EWMAAndMaxPower_C(). -@@ -138,6 +158,9 @@ +@@ -139,6 +159,9 @@ "vector_math_ewma_and_max_power", "unoptimized"); #if defined(EWMAAndMaxPower_FUNC) @@ -1139,16 +1139,16 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect // Benchmark EWMAAndMaxPower_FUNC() with unaligned size. ASSERT_NE((kVectorSize - 1) % (vector_math::kRequiredAlignment / sizeof(float)), 0U); -@@ -155,4 +178,6 @@ +@@ -156,4 +179,6 @@ #endif } +#undef EWMAAndMaxPower_FUNC + } // namespace media -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_testing.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_testing.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_testing.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_testing.h 2016-07-17 18:06:36.193790666 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_testing.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_testing.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_testing.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_testing.h 2017-03-05 17:26:26.171986280 +0100 @@ -19,7 +19,7 @@ MEDIA_EXPORT std::pair EWMAAndMaxPower_C( float initial_value, const float src[], int len, float smoothing_factor); @@ -1158,18 +1158,18 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect MEDIA_EXPORT void FMAC_SSE(const float src[], float scale, int len, float dest[]); MEDIA_EXPORT void FMUL_SSE(const float src[], float scale, int len, -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_unittest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_unittest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vector_math_unittest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_unittest.cc 2016-07-17 19:44:10.094555220 +0200 -@@ -7,6 +7,7 @@ - #include +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_unittest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_unittest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/vector_math_unittest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/vector_math_unittest.cc 2017-03-05 17:26:26.172986265 +0100 +@@ -9,6 +9,7 @@ + #include #include "base/macros.h" +#include "base/cpu.h" #include "base/memory/aligned_memory.h" - #include "base/memory/scoped_ptr.h" #include "base/strings/string_number_conversions.h" -@@ -77,6 +78,7 @@ + #include "base/strings/stringize_macros.h" +@@ -78,6 +79,7 @@ #if defined(ARCH_CPU_X86_FAMILY) { @@ -1177,7 +1177,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect SCOPED_TRACE("FMAC_SSE"); FillTestVectors(kInputFillValue, kOutputFillValue); vector_math::FMAC_SSE( -@@ -118,6 +120,7 @@ +@@ -119,6 +121,7 @@ #if defined(ARCH_CPU_X86_FAMILY) { @@ -1185,7 +1185,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect SCOPED_TRACE("FMUL_SSE"); FillTestVectors(kInputFillValue, kOutputFillValue); vector_math::FMUL_SSE( -@@ -226,6 +229,7 @@ +@@ -227,6 +230,7 @@ #if defined(ARCH_CPU_X86_FAMILY) { @@ -1193,10 +1193,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/vect SCOPED_TRACE("EWMAAndMaxPower_SSE"); const std::pair& result = vector_math::EWMAAndMaxPower_SSE( initial_value_, data_.get(), data_len_, smoothing_factor_); -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert.cc 2016-07-17 18:06:36.196790682 +0200 -@@ -33,7 +33,7 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert.cc 2017-03-05 17:26:26.173986250 +0100 +@@ -32,7 +32,7 @@ #include "media/base/simd/convert_yuv_to_rgb.h" #include "media/base/simd/filter_yuv.h" @@ -1205,7 +1205,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ #if defined(COMPILER_MSVC) #include #else -@@ -134,7 +134,7 @@ +@@ -133,7 +133,7 @@ // Empty SIMD registers state after using them. void EmptyRegisterStateStub() {} @@ -1214,7 +1214,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ void EmptyRegisterStateIntrinsic() { _mm_empty(); } #endif typedef void (*EmptyRegisterStateProc)(); -@@ -248,34 +248,46 @@ +@@ -247,34 +247,46 @@ // Assembly code confuses MemorySanitizer. Also not available in iOS builds. #if defined(ARCH_CPU_X86_FAMILY) && !defined(MEMORY_SANITIZER) && \ !defined(OS_IOS) @@ -1278,10 +1278,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ if (cpu.has_ssse3()) { g_convert_rgb24_to_yuv_proc_ = &ConvertRGB24ToYUV_SSSE3; -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc 2016-07-17 19:48:57.702119844 +0200 -@@ -69,6 +69,29 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_perftest.cc 2017-03-05 17:26:26.173986250 +0100 +@@ -71,6 +71,29 @@ DISALLOW_COPY_AND_ASSIGN(YUVConvertPerfTest); }; @@ -1311,7 +1311,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST_F(YUVConvertPerfTest, ConvertYUVToRGB32Row_SSE) { ASSERT_TRUE(base::CPU().has_sse()); -@@ -159,9 +182,32 @@ +@@ -161,9 +184,32 @@ } #endif @@ -1347,7 +1347,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST_F(YUVConvertPerfTest, ScaleYUVToRGB32Row_SSE) { ASSERT_TRUE(base::CPU().has_sse()); -@@ -188,6 +234,32 @@ +@@ -190,6 +236,32 @@ kPerfTestIterations / total_time_seconds, "runs/s", true); } @@ -1380,7 +1380,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST_F(YUVConvertPerfTest, LinearScaleYUVToRGB32Row_SSE) { ASSERT_TRUE(base::CPU().has_sse()); -@@ -213,7 +285,6 @@ +@@ -215,7 +287,6 @@ "yuv_convert_perftest", "", "LinearScaleYUVToRGB32Row_SSE", kPerfTestIterations / total_time_seconds, "runs/s", true); } @@ -1388,10 +1388,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ #endif // !defined(ARCH_CPU_ARM_FAMILY) && !defined(ARCH_CPU_MIPS_FAMILY) -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc 2016-07-17 18:06:36.201790710 +0200 -@@ -635,6 +635,37 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/base/yuv_convert_unittest.cc 2017-03-05 17:26:26.174986235 +0100 +@@ -643,6 +643,37 @@ EXPECT_EQ(0, error); } @@ -1429,7 +1429,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST(YUVConvertTest, ConvertYUVToRGB32Row_SSE) { base::CPU cpu; if (!cpu.has_sse()) { -@@ -666,9 +697,40 @@ +@@ -674,9 +705,40 @@ kWidth * kBpp)); } @@ -1473,7 +1473,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST(YUVConvertTest, ScaleYUVToRGB32Row_SSE) { base::CPU cpu; if (!cpu.has_sse()) { -@@ -703,6 +765,40 @@ +@@ -711,6 +773,40 @@ kWidth * kBpp)); } @@ -1514,15 +1514,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST(YUVConvertTest, LinearScaleYUVToRGB32Row_SSE) { base::CPU cpu; if (!cpu.has_sse()) { -@@ -736,7 +832,6 @@ +@@ -744,7 +840,6 @@ rgb_bytes_converted.get(), kWidth * kBpp)); } -#endif // defined(OS_WIN) && (ARCH_CPU_X86 || COMPONENT_BUILD) TEST(YUVConvertTest, FilterYUVRows_C_OutOfBounds) { - scoped_ptr src(new uint8_t[16]); -@@ -753,6 +848,30 @@ + std::unique_ptr src(new uint8_t[16]); +@@ -761,6 +856,30 @@ } } @@ -1553,7 +1553,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST(YUVConvertTest, FilterYUVRows_SSE2_OutOfBounds) { base::CPU cpu; if (!cpu.has_sse2()) { -@@ -774,6 +893,38 @@ +@@ -782,6 +901,38 @@ } } @@ -1592,10 +1592,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/base/yuv_ TEST(YUVConvertTest, FilterYUVRows_SSE2_UnalignedDestination) { base::CPU cpu; if (!cpu.has_sse2()) { -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/BUILD.gn qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/BUILD.gn 2016-07-17 19:52:10.846175461 +0200 -@@ -907,6 +907,26 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/BUILD.gn qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/BUILD.gn 2017-03-05 17:26:26.175986220 +0100 +@@ -805,6 +805,26 @@ "//base", "//ui/gfx/geometry", ] @@ -1622,10 +1622,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/BUILD.gn } # TODO(watk): Refactor tests that could be made to run on Android. See -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/media.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/media/media.gyp 2016-07-17 18:06:36.231790873 +0200 -@@ -1138,12 +1138,12 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/media.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/media.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/media/media.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/media/media.gyp 2017-03-05 17:51:56.424188330 +0100 +@@ -1020,12 +1020,12 @@ ['target_arch=="ia32" or target_arch=="x64"', { 'dependencies': [ 'media_asm', @@ -1641,7 +1641,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp ], }], ['OS!="linux" and OS!="win"', { -@@ -1712,6 +1712,11 @@ +@@ -1616,6 +1616,11 @@ 'USE_NEON' ], }], @@ -1652,8 +1652,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp + }], ], }, - ], -@@ -1723,6 +1728,7 @@ + { +@@ -1633,6 +1638,7 @@ 'type': 'static_library', 'sources': [ 'base/simd/convert_rgb_to_yuv_ssse3.asm', @@ -1661,11 +1661,11 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp 'base/simd/convert_yuv_to_rgb_sse.asm', 'base/simd/convert_yuva_to_argb_mmx.asm', 'base/simd/empty_register_state_mmx.asm', -@@ -1803,6 +1809,75 @@ +@@ -1713,6 +1719,75 @@ '../third_party/yasm/yasm_compile.gypi', ], }, -+ { ++ { + # GN version: //media/base:media_mmx + 'target_name': 'media_mmx', + 'type': 'static_library', @@ -1736,11 +1736,11 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/media/media.gyp + }, ], # targets }], - ['OS=="android"', { -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/BUILD.gn qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/BUILD.gn 2016-07-17 19:56:57.665743057 +0200 -@@ -307,11 +307,6 @@ + ['OS=="win"', { +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/BUILD.gn qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/BUILD.gn 2017-03-05 17:56:08.829413581 +0100 +@@ -329,11 +329,6 @@ if (!is_ios) { sources += [ "ext/platform_canvas.cc" ] } @@ -1752,10 +1752,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/BUILD.gn q # The skia gypi values are relative to the skia_dir, so we need to rebase. sources += gypi_skia_core.sources -@@ -597,7 +592,15 @@ - ] - - if (current_cpu == "x86" || current_cpu == "x64") { +@@ -642,7 +637,15 @@ + if (skia_build_no_opts) { + sources = gypi_skia_opts.none_sources + } else if (current_cpu == "x86" || current_cpu == "x64") { - sources = gypi_skia_opts.sse2_sources + sources = gypi_skia_opts.sse2_sources + + [ @@ -1769,7 +1769,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/BUILD.gn q deps += [ ":skia_opts_avx", ":skia_opts_avx2", -@@ -632,6 +635,13 @@ +@@ -677,6 +680,13 @@ if (mips_dsp_rev >= 1) { sources = gypi_skia_opts.mips_dsp_sources @@ -1783,9 +1783,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/BUILD.gn q } else { sources = gypi_skia_opts.none_sources } -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convolver.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convolver.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.cc 2016-07-17 18:06:40.213812591 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/ext/convolver.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/ext/convolver.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.cc 2017-03-05 17:26:26.176986205 +0100 @@ -362,10 +362,13 @@ void SetupSIMD(ConvolveProcs *procs) { @@ -1804,9 +1804,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convol #elif defined SIMD_MIPS_DSPR2 procs->extra_horizontal_reads = 3; procs->convolve_vertically = &ConvolveVertically_mips_dspr2; -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convolver.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convolver.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.h 2016-07-17 20:01:19.498174087 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/ext/convolver.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/ext/convolver.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/ext/convolver.h 2017-03-05 17:26:26.239985269 +0100 @@ -11,6 +11,7 @@ #include @@ -1815,9 +1815,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/ext/convol #include "third_party/skia/include/core/SkSize.h" #include "third_party/skia/include/core/SkTypes.h" -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_chrome.gypi qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia_chrome.gypi ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_chrome.gypi 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia_chrome.gypi 2016-07-17 18:06:40.215812602 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia_chrome.gypi qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia_chrome.gypi +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia_chrome.gypi 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia_chrome.gypi 2017-03-05 17:26:26.239985269 +0100 @@ -9,6 +9,7 @@ { 'dependencies': [ @@ -1826,7 +1826,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_chrom '../base/base.gyp:base', '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', ], -@@ -66,22 +67,16 @@ +@@ -67,22 +68,16 @@ 'ext/skia_utils_base.cc', ], }], @@ -1854,9 +1854,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_chrom ], 'target_conditions': [ -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia.gyp 2016-07-17 18:06:40.215812602 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia.gyp 2017-03-05 17:26:26.239985269 +0100 @@ -128,6 +128,37 @@ # targets that are not dependent upon the component type 'targets': [ @@ -1894,10 +1894,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia.gyp q + { 'target_name': 'image_operations_bench', # The optimize: 'max' scattered throughout are particularly - # important when compiled by MSVC 2013, which seems -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_library_opts.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia_library_opts.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_library_opts.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/skia/skia_library_opts.gyp 2016-07-17 18:06:40.216812607 +0200 + # important when compiled by MSVC 2013, which seems +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia_library_opts.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia_library_opts.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/skia/skia_library_opts.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/skia/skia_library_opts.gyp 2017-03-05 17:26:26.239985269 +0100 @@ -19,10 +19,22 @@ }, @@ -1943,10 +1943,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/skia/skia_libra 'sources': [ '<@(sse2_sources)' ], 'dependencies': [ 'skia_opts_ssse3', -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcms/BUILD.gn qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/qcms/BUILD.gn ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcms/BUILD.gn 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/qcms/BUILD.gn 2016-07-17 20:06:47.037962770 +0200 -@@ -27,8 +27,8 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/qcms/BUILD.gn qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/qcms/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/qcms/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/qcms/BUILD.gn 2017-03-05 17:26:26.240985255 +0100 +@@ -31,8 +31,8 @@ ] if (current_cpu == "x86" || current_cpu == "x64") { @@ -1957,7 +1957,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcm } } -@@ -64,3 +64,15 @@ +@@ -75,3 +75,15 @@ public_configs = [ ":qcms_config" ] } } @@ -1973,10 +1973,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcm + cflags = [ "-msse2" ] + } +} -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcms/qcms.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/qcms/qcms.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcms/qcms.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/qcms/qcms.gyp 2016-07-17 20:08:22.446483691 +0200 -@@ -42,10 +42,10 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/qcms/qcms.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/qcms/qcms.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/qcms/qcms.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/qcms/qcms.gyp 2017-03-05 18:01:48.843328633 +0100 +@@ -52,10 +52,10 @@ 'conditions': [ ['target_arch=="ia32" or target_arch=="x64"', { 'defines': [ @@ -1990,10 +1990,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcm ], }], ], -@@ -85,6 +85,29 @@ +@@ -68,6 +68,29 @@ }], ], - }, + }, + { + 'target_name': 'qcms_sse2', + 'type': 'static_library', @@ -2018,11 +2018,11 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/qcm + }, + }, ], - } - -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp 2016-07-19 00:52:57.847430161 +0200 + 'conditions': [ + ['disable_qcms == 0', { +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/modules/webaudio/AudioParamTimeline.cpp 2017-03-05 17:26:26.240985255 +0100 @@ -32,7 +32,7 @@ #include "wtf/MathExtras.h" #include @@ -2032,7 +2032,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web #include #endif -@@ -438,7 +438,7 @@ +@@ -575,7 +575,7 @@ // First handle linear and exponential ramps which require looking ahead to the next event. if (nextEventType == ParamEvent::LinearRampToValue) { const float valueDelta = value2 - value1; @@ -2041,7 +2041,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web // Minimize in-loop operations. Calculate starting value and increment. Next step: value += inc. // value = value1 + (currentFrame/sampleRate - time1) * k * (value2 - value1); // inc = 4 / sampleRate * k * (value2 - value1); -@@ -581,7 +581,7 @@ +@@ -738,7 +738,7 @@ for (; writeIndex < fillToFrame; ++writeIndex) values[writeIndex] = target; } else { @@ -2050,7 +2050,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web // Resolve recursion by expanding constants to achieve a 4-step loop unrolling. // v1 = v0 + (t - v0) * c // v2 = v1 + (t - v1) * c -@@ -674,7 +674,7 @@ +@@ -843,7 +843,7 @@ // Render the stretched curve data using linear interpolation. Oversampled // curve data can be provided if sharp discontinuities are desired. unsigned k = 0; @@ -2059,9 +2059,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web const __m128 vCurveVirtualIndex = _mm_set_ps1(curveVirtualIndex); const __m128 vCurvePointsPerFrame = _mm_set_ps1(curvePointsPerFrame); const __m128 vNumberOfCurvePointsM1 = _mm_set_ps1(numberOfCurvePoints - 1); -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp 2016-07-17 18:06:40.274812924 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.cpp 2017-03-05 18:09:17.132624414 +0100 @@ -26,6 +26,9 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ @@ -2072,12 +2072,12 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web #include "platform/audio/DirectConvolver.h" #if OS(MACOSX) -@@ -35,14 +38,20 @@ +@@ -35,22 +38,44 @@ #include "platform/audio/VectorMath.h" #include "wtf/CPU.h" --#if (CPU(X86) || CPU(X86_64)) && !(OS(MACOSX) || USE(WEBAUDIO_IPP)) -+#if ((CPU(X86) && defined(__SSE2__)) || CPU(X86_64)) && !(OS(MACOSX) || USE(WEBAUDIO_IPP)) +-#if (CPU(X86) || CPU(X86_64)) && !OS(MACOSX) ++#if ((CPU(X86) && defined(__SSE2__)) || CPU(X86_64)) && !OS(MACOSX) #include #endif @@ -2093,9 +2093,6 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web + DirectConvolver::DirectConvolver(size_t inputBlockSize) : m_inputBlockSize(inputBlockSize) - #if USE(WEBAUDIO_IPP) -@@ -50,10 +59,26 @@ - #endif // USE(WEBAUDIO_IPP) , m_buffer(inputBlockSize * 2) { +#if CPU(X86) @@ -2121,7 +2118,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web ASSERT(framesToProcess == m_inputBlockSize); if (framesToProcess != m_inputBlockSize) return; -@@ -98,7 +123,7 @@ +@@ -82,7 +107,7 @@ #endif // CPU(X86) #else size_t i = 0; @@ -2130,7 +2127,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web // Convolution using SSE2. Currently only do this if both |kernelSize| and |framesToProcess| // are multiples of 4. If not, use the straightforward loop below. -@@ -408,7 +433,7 @@ +@@ -392,7 +417,7 @@ } destP[i++] = sum; } @@ -2139,8 +2136,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web } #endif #endif // OS(MACOSX) -@@ -418,6 +443,8 @@ - #endif +@@ -401,10 +426,14 @@ + memcpy(m_buffer.data(), inputP, sizeof(float) * framesToProcess); } +#ifndef BUILD_ONLY_THE_SSE2_PARTS @@ -2148,17 +2145,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web void DirectConvolver::reset() { m_buffer.zero(); -@@ -426,5 +453,7 @@ - #endif // USE(WEBAUDIO_IPP) } +#endif + } // namespace blink -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h 2016-07-17 20:16:19.967090904 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolver.h 2017-03-05 17:26:26.241985240 +0100 @@ -32,6 +32,7 @@ #include "platform/PlatformExport.h" #include "platform/audio/AudioArray.h" @@ -2166,10 +2161,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web +#include "wtf/CPU.h" #include "wtf/Noncopyable.h" - #if USE(WEBAUDIO_IPP) -@@ -57,6 +58,11 @@ - AudioFloatArray m_overlayBuffer; - #endif // USE(WEBAUDIO_IPP) + namespace blink { +@@ -50,6 +51,11 @@ + size_t m_inputBlockSize; + AudioFloatArray m_buffer; + +#if CPU(X86) @@ -2179,15 +2174,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web }; } // namespace blink -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp 2016-07-17 18:06:40.274812924 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/DirectConvolverSSE2.cpp 2017-03-05 17:26:26.242985225 +0100 @@ -0,0 +1,2 @@ +#define BUILD_ONLY_THE_SSE2_PARTS +#include "DirectConvolver.cpp" -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp 2016-07-17 20:18:38.755848676 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.cpp 2017-03-05 17:26:26.242985225 +0100 @@ -26,15 +26,22 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ @@ -2262,9 +2257,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web // If the sourceP address is not 16-byte aligned, the first several frames (at most three) should be processed seperately. while ((reinterpret_cast(inputP) & 0x0F) && n) { CONVOLVE_ONE_SAMPLE -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h 2016-07-17 20:19:17.818061951 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResampler.h 2017-03-05 17:26:26.305984290 +0100 @@ -33,6 +33,7 @@ #include "platform/audio/AudioArray.h" #include "platform/audio/AudioSourceProvider.h" @@ -2285,15 +2280,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web }; } // namespace blink -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp 2016-07-17 18:06:40.282812967 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/SincResamplerSSE2.cpp 2017-03-05 17:26:26.305984290 +0100 @@ -0,0 +1,2 @@ +#define BUILD_ONLY_THE_SSE2_PARTS +#include "SincResampler.cpp" -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp 2016-07-17 18:06:40.282812967 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.cpp 2017-03-05 17:26:26.306984275 +0100 @@ -22,6 +22,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ @@ -2489,9 +2484,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web #endif // OS(MACOSX) } // namespace VectorMath -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h 2016-07-17 20:23:13.405325950 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMath.h 2017-03-05 17:26:26.306984275 +0100 @@ -26,6 +26,7 @@ #define VectorMath_h @@ -2529,16 +2524,16 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web } // namespace VectorMath } // namespace blink -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp 2016-07-17 18:06:40.283812973 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/audio/VectorMathSSE2.cpp 2017-03-05 17:26:26.307984260 +0100 @@ -0,0 +1,2 @@ +#define BUILD_ONLY_THE_SSE2_PARTS +#include "VectorMath.cpp" -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp 2016-07-17 23:45:35.669652872 +0200 -@@ -379,6 +379,11 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/blink_platform.gyp 2017-03-05 17:26:26.307984260 +0100 +@@ -392,6 +392,11 @@ '<(DEPTH)/third_party/openmax_dl/dl/dl.gyp:openmax_dl', ], }], @@ -2550,7 +2545,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web ['target_arch=="arm"', { 'dependencies': [ 'blink_arm_neon', -@@ -394,6 +399,36 @@ +@@ -406,6 +411,36 @@ }], ], }, @@ -2587,9 +2582,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web # The *NEON.cpp files fail to compile when -mthumb is passed. Force # them to build in ARM mode. # See https://bugs.webkit.org/show_bug.cgi?id=62916. -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h 2016-07-17 18:06:40.284812978 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/cpu/x86/WebGLImageConversionSSE.h 2017-03-05 17:26:26.308984245 +0100 @@ -5,7 +5,7 @@ #ifndef WebGLImageConversionSSE_h #define WebGLImageConversionSSE_h @@ -2599,10 +2594,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web #include -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp 2016-07-18 22:28:24.771187623 +0200 -@@ -422,7 +422,7 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp 2017-03-05 17:26:26.309984231 +0100 +@@ -423,7 +423,7 @@ const uint32_t* source32 = reinterpret_cast_ptr(source); uint32_t* destination32 = reinterpret_cast_ptr(destination); @@ -2611,7 +2606,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::unpackOneRowOfBGRA8LittleToRGBA8(source32, destination32, pixelsPerRow); #endif for (unsigned i = 0; i < pixelsPerRow; ++i) { -@@ -441,7 +441,7 @@ +@@ -442,7 +442,7 @@ template<> void unpack(const uint16_t* source, uint8_t* destination, unsigned pixelsPerRow) { @@ -2620,7 +2615,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::unpackOneRowOfRGBA5551LittleToRGBA8(source, destination, pixelsPerRow); #endif #if HAVE(ARM_NEON_INTRINSICS) -@@ -463,7 +463,7 @@ +@@ -464,7 +464,7 @@ template<> void unpack(const uint16_t* source, uint8_t* destination, unsigned pixelsPerRow) { @@ -2629,7 +2624,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::unpackOneRowOfRGBA4444LittleToRGBA8(source, destination, pixelsPerRow); #endif #if HAVE(ARM_NEON_INTRINSICS) -@@ -629,7 +629,7 @@ +@@ -630,7 +630,7 @@ // FIXME: this routine is lossy and must be removed. template<> void pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) { @@ -2638,7 +2633,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::packOneRowOfRGBA8LittleToR8(source, destination, pixelsPerRow); #endif for (unsigned i = 0; i < pixelsPerRow; ++i) { -@@ -666,7 +666,7 @@ +@@ -667,7 +667,7 @@ // FIXME: this routine is lossy and must be removed. template<> void pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) { @@ -2647,7 +2642,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::packOneRowOfRGBA8LittleToRA8(source, destination, pixelsPerRow); #endif for (unsigned i = 0; i < pixelsPerRow; ++i) { -@@ -740,7 +740,7 @@ +@@ -741,7 +741,7 @@ // FIXME: this routine is lossy and must be removed. template<> void pack(const uint8_t* source, uint8_t* destination, unsigned pixelsPerRow) { @@ -2656,37 +2651,37 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/Web SIMD::packOneRowOfRGBA8LittleToRGBA8(source, destination, pixelsPerRow); #else for (unsigned i = 0; i < pixelsPerRow; ++i) { -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc 2016-07-18 19:27:29.285890664 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/third_party/webrtc/common_audio/real_fourier.cc 2017-03-05 18:14:44.694725685 +0100 @@ -14,6 +14,7 @@ #include "webrtc/common_audio/real_fourier_ooura.h" #include "webrtc/common_audio/real_fourier_openmax.h" - #include "webrtc/common_audio/signal_processing/include/spl_inl.h" + #include "webrtc/common_audio/signal_processing/include/signal_processing_library.h" +#include "webrtc/system_wrappers/include/cpu_features_wrapper.h" namespace webrtc { @@ -23,7 +24,15 @@ - rtc::scoped_ptr RealFourier::Create(int fft_order) { + std::unique_ptr RealFourier::Create(int fft_order) { #if defined(RTC_USE_OPENMAX_DL) +#if defined(WEBRTC_ARCH_X86_FAMILY) && !defined(__SSE2__) + // x86 CPU detection required. + if (WebRtc_GetCPUInfo(kSSE2)) -+ return rtc::scoped_ptr(new RealFourierOpenmax(fft_order)); ++ return std::unique_ptr(new RealFourierOpenmax(fft_order)); + else -+ return rtc::scoped_ptr(new RealFourierOoura(fft_order)); ++ return std::unique_ptr(new RealFourierOoura(fft_order)); +#else - return rtc::scoped_ptr(new RealFourierOpenmax(fft_order)); + return std::unique_ptr(new RealFourierOpenmax(fft_order)); +#endif #else - return rtc::scoped_ptr(new RealFourierOoura(fft_order)); + return std::unique_ptr(new RealFourierOoura(fft_order)); #endif -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py 2016-07-17 18:06:40.306813098 +0200 -@@ -1302,6 +1302,8 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/tools/gyp/pylib/gyp/generator/ninja.py 2017-03-05 17:26:26.310984216 +0100 +@@ -1345,6 +1345,8 @@ # Make sure that we have relative paths to our out/(Release|Debug), where we generate our .pri file, and then prepend $$PWD to them. prefixed_objects = ['$$PWD/' + o for o in toAbsPaths(objects)] prefixed_archives = ['$$PWD/' + o for o in toAbsPaths(libs)] @@ -2695,7 +2690,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/tools/gyp/pylib pri_file.write("QMAKE_LFLAGS += %s\n" % qmakeLiteral(' '.join(prefixed_lflags))) pri_file.write("OBJECTS += %s\n" % qmakeLiteral(' '.join(prefixed_objects))) -@@ -1310,6 +1312,8 @@ +@@ -1353,6 +1355,8 @@ pri_file.write("LIBS_PRIVATE += -Wl,--start-group %s -Wl,--end-group\n" % qmakeLiteral(' '.join(prefixed_archives))) else: pri_file.write("LIBS_PRIVATE += %s\n" % qmakeLiteral(' '.join(prefixed_archives))) @@ -2704,49 +2699,23 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/tools/gyp/pylib # External libs have to come after objects/archives, the linker resolve them in order. pri_file.write("LIBS_PRIVATE += %s\n" % qmakeLiteral(' '.join(prefixed_library_dirs + prefixed_libraries))) # Make sure that if ninja modifies one of the inputs, qmake/make will link again. -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/build/standalone.gypi qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/build/standalone.gypi ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/build/standalone.gypi 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/build/standalone.gypi 2016-07-17 20:29:04.969207948 +0200 -@@ -117,6 +117,9 @@ - }, { - 'gomadir': '>v8_sse2.gyp -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/tools/gyp/v8.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8.gyp 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/tools/gyp/v8.gyp 2016-07-17 18:06:40.366813425 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/v8.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/v8/src/v8.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/v8.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/v8/src/v8.gyp 2017-03-05 17:30:17.500552662 +0100 @@ -36,6 +36,14 @@ 'v8_experimental_extra_library_files%': [], 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot<(EXECUTABLE_SUFFIX)', @@ -2886,7 +2881,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }], + ], }, - 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], + 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], 'targets': [ @@ -49,8 +57,8 @@ }, { @@ -2908,7 +2903,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 'defines': [ 'V8_SHARED', 'BUILDING_V8_SHARED', -@@ -244,7 +252,7 @@ +@@ -253,7 +261,7 @@ 'toolsets': ['target'], 'dependencies': ['js2c'], }], @@ -2917,7 +2912,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 'defines': [ 'BUILDING_V8_SHARED', 'V8_SHARED', -@@ -272,7 +280,7 @@ +@@ -281,7 +289,7 @@ 'natives_blob', ], }], @@ -2926,7 +2921,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 'defines': [ 'V8_SHARED', 'BUILDING_V8_SHARED', -@@ -1481,7 +1489,7 @@ +@@ -1608,7 +1616,7 @@ # See http://crbug.com/485155. 'msvs_shard': 4, }], @@ -2935,10 +2930,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 'defines': [ 'BUILDING_V8_SHARED', 'V8_SHARED', -diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8_sse2.gyp qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/tools/gyp/v8_sse2.gyp ---- qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8_sse2.gyp 1970-01-01 01:00:00.000000000 +0100 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/3rdparty/chromium/v8/tools/gyp/v8_sse2.gyp 2016-07-17 20:34:22.753909119 +0200 -@@ -0,0 +1,2151 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/v8_sse2.gyp qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/v8/src/v8_sse2.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/v8_sse2.gyp 1970-01-01 01:00:00.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/3rdparty/chromium/v8/src/v8_sse2.gyp 2017-03-05 18:25:37.781958850 +0100 +@@ -0,0 +1,2313 @@ +# Generated from v8.gyp by make-v8-sse2-gyp.sh +# Copyright 2012 the V8 project authors. All rights reserved. +# Redistribution and use in source and binary forms, with or without @@ -2970,11 +2965,11 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 +{ + 'variables': { + 'v8_target_arch': 'ia32', -+ 'icu_use_data_file_flag%': 0, + 'v8_code': 1, + 'v8_random_seed%': 314159265, + 'v8_vector_stores%': 0, + 'embed_script%': "", ++ 'warmup_script%': "", + 'v8_extra_library_files%': [], + 'v8_experimental_extra_library_files%': [], + 'mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)mksnapshot_sse2<(EXECUTABLE_SUFFIX)', @@ -2988,7 +2983,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }], + ], + }, -+ 'includes': ['../../build/toolchain.gypi', '../../build/features.gypi'], ++ 'includes': ['../gypfiles/toolchain.gypi', '../gypfiles/features.gypi'], + 'targets': [ + { + 'target_name': 'v8_sse2', @@ -3007,10 +3002,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'sources': [ + # Note: on non-Windows we still build this file so that gyp + # has some sources to link into the component. -+ '../../src/v8dll-main.cc', ++ 'v8dll-main.cc', + ], + 'include_dirs': [ -+ '../..', ++ '..', + ], + 'defines': [ + 'V8_SHARED', @@ -3049,7 +3044,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + ], + 'direct_dependent_settings': { + 'include_dirs': [ -+ '../../include', ++ '../include', + ], + }, + }, @@ -3131,7 +3126,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'v8_base_sse2', + ], + 'include_dirs+': [ -+ '../..', ++ '..', + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.cc', @@ -3145,16 +3140,24 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'action_name': 'v8_sse2_run_mksnapshot', + 'inputs': [ + '<(mksnapshot_exec)', -+ '<(embed_script)', ++ ], ++ 'conditions': [ ++ ['embed_script!=""', { ++ 'inputs': [ ++ '<(embed_script)', ++ ], ++ }], ++ ['warmup_script!=""', { ++ 'inputs': [ ++ '<(warmup_script)', ++ ], ++ }], + ], + 'outputs': [ + '<(INTERMEDIATE_DIR)/snapshot_sse2.cc', + ], + 'variables': { -+ 'mksnapshot_flags': [ -+ '--log-snapshot-positions', -+ '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', -+ ], ++ 'mksnapshot_flags': [], + 'conditions': [ + ['v8_random_seed!=0', { + 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], @@ -3169,6 +3172,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<@(mksnapshot_flags)', + '--startup_src', '<@(INTERMEDIATE_DIR)/snapshot_sse2.cc', + '<(embed_script)', ++ '<(warmup_script)', + ], + }, + ], @@ -3180,14 +3184,14 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'v8_base_sse2', + ], + 'include_dirs+': [ -+ '../..', ++ '..', + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.cc', + '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries_sse2.cc', + '<(SHARED_INTERMEDIATE_DIR)/extras-libraries_sse2.cc', + '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries_sse2.cc', -+ '../../src/snapshot/snapshot-empty.cc', ++ 'snapshot/snapshot-empty.cc', + ], + 'conditions': [ + ['want_separate_host_toolset==1', { @@ -3242,11 +3246,11 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'v8_base_sse2', + ], + 'include_dirs+': [ -+ '../..', ++ '..', + ], + 'sources': [ -+ '../../src/snapshot/natives-external.cc', -+ '../../src/snapshot/snapshot-external.cc', ++ 'snapshot/natives-external.cc', ++ 'snapshot/snapshot-external.cc', + ], + 'actions': [ + { @@ -3255,10 +3259,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<(mksnapshot_exec)', + ], + 'variables': { -+ 'mksnapshot_flags': [ -+ '--log-snapshot-positions', -+ '--logfile', '<(INTERMEDIATE_DIR)/snapshot.log', -+ ], ++ 'mksnapshot_flags': [], + 'conditions': [ + ['v8_random_seed!=0', { + 'mksnapshot_flags': ['--random-seed', '<(v8_random_seed)'], @@ -3269,6 +3270,16 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + ], + }, + 'conditions': [ ++ ['embed_script!=""', { ++ 'inputs': [ ++ '<(embed_script)', ++ ], ++ }], ++ ['warmup_script!=""', { ++ 'inputs': [ ++ '<(warmup_script)', ++ ], ++ }], + ['want_separate_host_toolset==1', { + 'target_conditions': [ + ['_toolset=="host"', { @@ -3280,6 +3291,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<@(mksnapshot_flags)', + '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_host_sse2.bin', + '<(embed_script)', ++ '<(warmup_script)', + ], + }, { + 'outputs': [ @@ -3290,6 +3302,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<@(mksnapshot_flags)', + '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_sse2.bin', + '<(embed_script)', ++ '<(warmup_script)', + ], + }], + ], @@ -3302,6 +3315,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<@(mksnapshot_flags)', + '--startup_blob', '<(PRODUCT_DIR)/snapshot_blob_sse2.bin', + '<(embed_script)', ++ '<(warmup_script)', + ], + }], + ], @@ -3315,753 +3329,819 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'type': 'static_library', + 'dependencies': [ + 'v8_libbase_sse2', ++ 'v8_libsampler_sse2', + ], + 'variables': { + 'optimize': 'max', + }, + 'include_dirs+': [ -+ '../..', -+ # To be able to find base/trace_event/common/trace_event_common.h -+ '../../..', -+ ], -+ 'defines': [ -+ # TODO(jochen): Remove again after this is globally turned on. -+ 'V8_IMMINENT_DEPRECATION_WARNINGS', ++ '..', ++ '<(DEPTH)', + ], + 'sources': [ ### gcmole(all) ### -+ '../../include/v8-debug.h', -+ '../../include/v8-experimental.h', -+ '../../include/v8-platform.h', -+ '../../include/v8-profiler.h', -+ '../../include/v8-testing.h', -+ '../../include/v8-util.h', -+ '../../include/v8-version.h', -+ '../../include/v8.h', -+ '../../include/v8config.h', -+ '../../src/accessors.cc', -+ '../../src/accessors.h', -+ '../../src/address-map.cc', -+ '../../src/address-map.h', -+ '../../src/allocation.cc', -+ '../../src/allocation.h', -+ '../../src/allocation-site-scopes.cc', -+ '../../src/allocation-site-scopes.h', -+ '../../src/api-experimental.cc', -+ '../../src/api-experimental.h', -+ '../../src/api.cc', -+ '../../src/api.h', -+ '../../src/api-natives.cc', -+ '../../src/api-natives.h', -+ '../../src/arguments.cc', -+ '../../src/arguments.h', -+ '../../src/assembler.cc', -+ '../../src/assembler.h', -+ '../../src/assert-scope.h', -+ '../../src/assert-scope.cc', -+ '../../src/ast/ast-expression-rewriter.cc', -+ '../../src/ast/ast-expression-rewriter.h', -+ '../../src/ast/ast-expression-visitor.cc', -+ '../../src/ast/ast-expression-visitor.h', -+ '../../src/ast/ast-literal-reindexer.cc', -+ '../../src/ast/ast-literal-reindexer.h', -+ '../../src/ast/ast-numbering.cc', -+ '../../src/ast/ast-numbering.h', -+ '../../src/ast/ast-value-factory.cc', -+ '../../src/ast/ast-value-factory.h', -+ '../../src/ast/ast.cc', -+ '../../src/ast/ast.h', -+ '../../src/ast/modules.cc', -+ '../../src/ast/modules.h', -+ '../../src/ast/prettyprinter.cc', -+ '../../src/ast/prettyprinter.h', -+ '../../src/ast/scopeinfo.cc', -+ '../../src/ast/scopeinfo.h', -+ '../../src/ast/scopes.cc', -+ '../../src/ast/scopes.h', -+ '../../src/ast/variables.cc', -+ '../../src/ast/variables.h', -+ '../../src/atomic-utils.h', -+ '../../src/background-parsing-task.cc', -+ '../../src/background-parsing-task.h', -+ '../../src/bailout-reason.cc', -+ '../../src/bailout-reason.h', -+ '../../src/basic-block-profiler.cc', -+ '../../src/basic-block-profiler.h', -+ '../../src/bignum-dtoa.cc', -+ '../../src/bignum-dtoa.h', -+ '../../src/bignum.cc', -+ '../../src/bignum.h', -+ '../../src/bit-vector.cc', -+ '../../src/bit-vector.h', -+ '../../src/bootstrapper.cc', -+ '../../src/bootstrapper.h', -+ '../../src/builtins.cc', -+ '../../src/builtins.h', -+ '../../src/cached-powers.cc', -+ '../../src/cached-powers.h', -+ '../../src/cancelable-task.cc', -+ '../../src/cancelable-task.h', -+ '../../src/char-predicates.cc', -+ '../../src/char-predicates-inl.h', -+ '../../src/char-predicates.h', -+ '../../src/checks.h', -+ '../../src/code-factory.cc', -+ '../../src/code-factory.h', -+ '../../src/code-stubs.cc', -+ '../../src/code-stubs.h', -+ '../../src/code-stubs-hydrogen.cc', -+ '../../src/codegen.cc', -+ '../../src/codegen.h', -+ '../../src/compilation-cache.cc', -+ '../../src/compilation-cache.h', -+ '../../src/compilation-dependencies.cc', -+ '../../src/compilation-dependencies.h', -+ '../../src/compilation-statistics.cc', -+ '../../src/compilation-statistics.h', -+ '../../src/compiler/access-builder.cc', -+ '../../src/compiler/access-builder.h', -+ '../../src/compiler/access-info.cc', -+ '../../src/compiler/access-info.h', -+ '../../src/compiler/all-nodes.cc', -+ '../../src/compiler/all-nodes.h', -+ '../../src/compiler/ast-graph-builder.cc', -+ '../../src/compiler/ast-graph-builder.h', -+ '../../src/compiler/ast-loop-assignment-analyzer.cc', -+ '../../src/compiler/ast-loop-assignment-analyzer.h', -+ '../../src/compiler/basic-block-instrumentor.cc', -+ '../../src/compiler/basic-block-instrumentor.h', -+ '../../src/compiler/branch-elimination.cc', -+ '../../src/compiler/branch-elimination.h', -+ '../../src/compiler/bytecode-branch-analysis.cc', -+ '../../src/compiler/bytecode-branch-analysis.h', -+ '../../src/compiler/bytecode-graph-builder.cc', -+ '../../src/compiler/bytecode-graph-builder.h', -+ '../../src/compiler/change-lowering.cc', -+ '../../src/compiler/change-lowering.h', -+ '../../src/compiler/c-linkage.cc', -+ '../../src/compiler/coalesced-live-ranges.cc', -+ '../../src/compiler/coalesced-live-ranges.h', -+ '../../src/compiler/code-generator-impl.h', -+ '../../src/compiler/code-generator.cc', -+ '../../src/compiler/code-generator.h', -+ '../../src/compiler/code-stub-assembler.cc', -+ '../../src/compiler/code-stub-assembler.h', -+ '../../src/compiler/common-node-cache.cc', -+ '../../src/compiler/common-node-cache.h', -+ '../../src/compiler/common-operator-reducer.cc', -+ '../../src/compiler/common-operator-reducer.h', -+ '../../src/compiler/common-operator.cc', -+ '../../src/compiler/common-operator.h', -+ '../../src/compiler/control-builders.cc', -+ '../../src/compiler/control-builders.h', -+ '../../src/compiler/control-equivalence.cc', -+ '../../src/compiler/control-equivalence.h', -+ '../../src/compiler/control-flow-optimizer.cc', -+ '../../src/compiler/control-flow-optimizer.h', -+ '../../src/compiler/dead-code-elimination.cc', -+ '../../src/compiler/dead-code-elimination.h', -+ '../../src/compiler/diamond.h', -+ '../../src/compiler/escape-analysis.cc', -+ '../../src/compiler/escape-analysis.h', -+ "../../src/compiler/escape-analysis-reducer.cc", -+ "../../src/compiler/escape-analysis-reducer.h", -+ '../../src/compiler/fast-accessor-assembler.cc', -+ '../../src/compiler/fast-accessor-assembler.h', -+ '../../src/compiler/frame.cc', -+ '../../src/compiler/frame.h', -+ '../../src/compiler/frame-elider.cc', -+ '../../src/compiler/frame-elider.h', -+ "../../src/compiler/frame-states.cc", -+ "../../src/compiler/frame-states.h", -+ '../../src/compiler/gap-resolver.cc', -+ '../../src/compiler/gap-resolver.h', -+ '../../src/compiler/graph-reducer.cc', -+ '../../src/compiler/graph-reducer.h', -+ '../../src/compiler/graph-replay.cc', -+ '../../src/compiler/graph-replay.h', -+ '../../src/compiler/graph-trimmer.cc', -+ '../../src/compiler/graph-trimmer.h', -+ '../../src/compiler/graph-visualizer.cc', -+ '../../src/compiler/graph-visualizer.h', -+ '../../src/compiler/graph.cc', -+ '../../src/compiler/graph.h', -+ '../../src/compiler/greedy-allocator.cc', -+ '../../src/compiler/greedy-allocator.h', -+ '../../src/compiler/instruction-codes.h', -+ '../../src/compiler/instruction-selector-impl.h', -+ '../../src/compiler/instruction-selector.cc', -+ '../../src/compiler/instruction-selector.h', -+ '../../src/compiler/instruction-scheduler.cc', -+ '../../src/compiler/instruction-scheduler.h', -+ '../../src/compiler/instruction.cc', -+ '../../src/compiler/instruction.h', -+ '../../src/compiler/interpreter-assembler.cc', -+ '../../src/compiler/interpreter-assembler.h', -+ '../../src/compiler/js-builtin-reducer.cc', -+ '../../src/compiler/js-builtin-reducer.h', -+ '../../src/compiler/js-call-reducer.cc', -+ '../../src/compiler/js-call-reducer.h', -+ '../../src/compiler/js-context-relaxation.cc', -+ '../../src/compiler/js-context-relaxation.h', -+ '../../src/compiler/js-context-specialization.cc', -+ '../../src/compiler/js-context-specialization.h', -+ '../../src/compiler/js-frame-specialization.cc', -+ '../../src/compiler/js-frame-specialization.h', -+ '../../src/compiler/js-generic-lowering.cc', -+ '../../src/compiler/js-generic-lowering.h', -+ '../../src/compiler/js-global-object-specialization.cc', -+ '../../src/compiler/js-global-object-specialization.h', -+ '../../src/compiler/js-graph.cc', -+ '../../src/compiler/js-graph.h', -+ '../../src/compiler/js-inlining.cc', -+ '../../src/compiler/js-inlining.h', -+ '../../src/compiler/js-inlining-heuristic.cc', -+ '../../src/compiler/js-inlining-heuristic.h', -+ '../../src/compiler/js-intrinsic-lowering.cc', -+ '../../src/compiler/js-intrinsic-lowering.h', -+ '../../src/compiler/js-native-context-specialization.cc', -+ '../../src/compiler/js-native-context-specialization.h', -+ '../../src/compiler/js-operator.cc', -+ '../../src/compiler/js-operator.h', -+ '../../src/compiler/js-typed-lowering.cc', -+ '../../src/compiler/js-typed-lowering.h', -+ '../../src/compiler/jump-threading.cc', -+ '../../src/compiler/jump-threading.h', -+ '../../src/compiler/linkage.cc', -+ '../../src/compiler/linkage.h', -+ '../../src/compiler/liveness-analyzer.cc', -+ '../../src/compiler/liveness-analyzer.h', -+ '../../src/compiler/live-range-separator.cc', -+ '../../src/compiler/live-range-separator.h', -+ '../../src/compiler/load-elimination.cc', -+ '../../src/compiler/load-elimination.h', -+ '../../src/compiler/loop-analysis.cc', -+ '../../src/compiler/loop-analysis.h', -+ '../../src/compiler/loop-peeling.cc', -+ '../../src/compiler/loop-peeling.h', -+ '../../src/compiler/machine-operator-reducer.cc', -+ '../../src/compiler/machine-operator-reducer.h', -+ '../../src/compiler/machine-operator.cc', -+ '../../src/compiler/machine-operator.h', -+ '../../src/compiler/move-optimizer.cc', -+ '../../src/compiler/move-optimizer.h', -+ '../../src/compiler/node-aux-data.h', -+ '../../src/compiler/node-cache.cc', -+ '../../src/compiler/node-cache.h', -+ '../../src/compiler/node-marker.cc', -+ '../../src/compiler/node-marker.h', -+ '../../src/compiler/node-matchers.cc', -+ '../../src/compiler/node-matchers.h', -+ '../../src/compiler/node-properties.cc', -+ '../../src/compiler/node-properties.h', -+ '../../src/compiler/node.cc', -+ '../../src/compiler/node.h', -+ '../../src/compiler/opcodes.cc', -+ '../../src/compiler/opcodes.h', -+ '../../src/compiler/operator-properties.cc', -+ '../../src/compiler/operator-properties.h', -+ '../../src/compiler/operator.cc', -+ '../../src/compiler/operator.h', -+ '../../src/compiler/osr.cc', -+ '../../src/compiler/osr.h', -+ '../../src/compiler/pipeline.cc', -+ '../../src/compiler/pipeline.h', -+ '../../src/compiler/pipeline-statistics.cc', -+ '../../src/compiler/pipeline-statistics.h', -+ '../../src/compiler/raw-machine-assembler.cc', -+ '../../src/compiler/raw-machine-assembler.h', -+ '../../src/compiler/register-allocator.cc', -+ '../../src/compiler/register-allocator.h', -+ '../../src/compiler/register-allocator-verifier.cc', -+ '../../src/compiler/register-allocator-verifier.h', -+ '../../src/compiler/representation-change.cc', -+ '../../src/compiler/representation-change.h', -+ '../../src/compiler/schedule.cc', -+ '../../src/compiler/schedule.h', -+ '../../src/compiler/scheduler.cc', -+ '../../src/compiler/scheduler.h', -+ '../../src/compiler/select-lowering.cc', -+ '../../src/compiler/select-lowering.h', -+ '../../src/compiler/simplified-lowering.cc', -+ '../../src/compiler/simplified-lowering.h', -+ '../../src/compiler/simplified-operator-reducer.cc', -+ '../../src/compiler/simplified-operator-reducer.h', -+ '../../src/compiler/simplified-operator.cc', -+ '../../src/compiler/simplified-operator.h', -+ '../../src/compiler/source-position.cc', -+ '../../src/compiler/source-position.h', -+ '../../src/compiler/state-values-utils.cc', -+ '../../src/compiler/state-values-utils.h', -+ '../../src/compiler/tail-call-optimization.cc', -+ '../../src/compiler/tail-call-optimization.h', -+ '../../src/compiler/type-hint-analyzer.cc', -+ '../../src/compiler/type-hint-analyzer.h', -+ '../../src/compiler/type-hints.cc', -+ '../../src/compiler/type-hints.h', -+ '../../src/compiler/typer.cc', -+ '../../src/compiler/typer.h', -+ '../../src/compiler/value-numbering-reducer.cc', -+ '../../src/compiler/value-numbering-reducer.h', -+ '../../src/compiler/verifier.cc', -+ '../../src/compiler/verifier.h', -+ '../../src/compiler/wasm-compiler.cc', -+ '../../src/compiler/wasm-compiler.h', -+ '../../src/compiler/wasm-linkage.cc', -+ '../../src/compiler/zone-pool.cc', -+ '../../src/compiler/zone-pool.h', -+ '../../src/compiler.cc', -+ '../../src/compiler.h', -+ '../../src/context-measure.cc', -+ '../../src/context-measure.h', -+ '../../src/contexts-inl.h', -+ '../../src/contexts.cc', -+ '../../src/contexts.h', -+ '../../src/conversions-inl.h', -+ '../../src/conversions.cc', -+ '../../src/conversions.h', -+ '../../src/counters.cc', -+ '../../src/counters.h', -+ '../../src/crankshaft/hydrogen-alias-analysis.h', -+ '../../src/crankshaft/hydrogen-bce.cc', -+ '../../src/crankshaft/hydrogen-bce.h', -+ '../../src/crankshaft/hydrogen-bch.cc', -+ '../../src/crankshaft/hydrogen-bch.h', -+ '../../src/crankshaft/hydrogen-canonicalize.cc', -+ '../../src/crankshaft/hydrogen-canonicalize.h', -+ '../../src/crankshaft/hydrogen-check-elimination.cc', -+ '../../src/crankshaft/hydrogen-check-elimination.h', -+ '../../src/crankshaft/hydrogen-dce.cc', -+ '../../src/crankshaft/hydrogen-dce.h', -+ '../../src/crankshaft/hydrogen-dehoist.cc', -+ '../../src/crankshaft/hydrogen-dehoist.h', -+ '../../src/crankshaft/hydrogen-environment-liveness.cc', -+ '../../src/crankshaft/hydrogen-environment-liveness.h', -+ '../../src/crankshaft/hydrogen-escape-analysis.cc', -+ '../../src/crankshaft/hydrogen-escape-analysis.h', -+ '../../src/crankshaft/hydrogen-flow-engine.h', -+ '../../src/crankshaft/hydrogen-gvn.cc', -+ '../../src/crankshaft/hydrogen-gvn.h', -+ '../../src/crankshaft/hydrogen-infer-representation.cc', -+ '../../src/crankshaft/hydrogen-infer-representation.h', -+ '../../src/crankshaft/hydrogen-infer-types.cc', -+ '../../src/crankshaft/hydrogen-infer-types.h', -+ '../../src/crankshaft/hydrogen-instructions.cc', -+ '../../src/crankshaft/hydrogen-instructions.h', -+ '../../src/crankshaft/hydrogen-load-elimination.cc', -+ '../../src/crankshaft/hydrogen-load-elimination.h', -+ '../../src/crankshaft/hydrogen-mark-deoptimize.cc', -+ '../../src/crankshaft/hydrogen-mark-deoptimize.h', -+ '../../src/crankshaft/hydrogen-mark-unreachable.cc', -+ '../../src/crankshaft/hydrogen-mark-unreachable.h', -+ '../../src/crankshaft/hydrogen-osr.cc', -+ '../../src/crankshaft/hydrogen-osr.h', -+ '../../src/crankshaft/hydrogen-range-analysis.cc', -+ '../../src/crankshaft/hydrogen-range-analysis.h', -+ '../../src/crankshaft/hydrogen-redundant-phi.cc', -+ '../../src/crankshaft/hydrogen-redundant-phi.h', -+ '../../src/crankshaft/hydrogen-removable-simulates.cc', -+ '../../src/crankshaft/hydrogen-removable-simulates.h', -+ '../../src/crankshaft/hydrogen-representation-changes.cc', -+ '../../src/crankshaft/hydrogen-representation-changes.h', -+ '../../src/crankshaft/hydrogen-sce.cc', -+ '../../src/crankshaft/hydrogen-sce.h', -+ '../../src/crankshaft/hydrogen-store-elimination.cc', -+ '../../src/crankshaft/hydrogen-store-elimination.h', -+ '../../src/crankshaft/hydrogen-types.cc', -+ '../../src/crankshaft/hydrogen-types.h', -+ '../../src/crankshaft/hydrogen-uint32-analysis.cc', -+ '../../src/crankshaft/hydrogen-uint32-analysis.h', -+ '../../src/crankshaft/hydrogen.cc', -+ '../../src/crankshaft/hydrogen.h', -+ '../../src/crankshaft/lithium-allocator-inl.h', -+ '../../src/crankshaft/lithium-allocator.cc', -+ '../../src/crankshaft/lithium-allocator.h', -+ '../../src/crankshaft/lithium-codegen.cc', -+ '../../src/crankshaft/lithium-codegen.h', -+ '../../src/crankshaft/lithium.cc', -+ '../../src/crankshaft/lithium.h', -+ '../../src/crankshaft/lithium-inl.h', -+ '../../src/crankshaft/typing.cc', -+ '../../src/crankshaft/typing.h', -+ '../../src/crankshaft/unique.h', -+ '../../src/date.cc', -+ '../../src/date.h', -+ '../../src/dateparser-inl.h', -+ '../../src/dateparser.cc', -+ '../../src/dateparser.h', -+ '../../src/debug/debug-evaluate.cc', -+ '../../src/debug/debug-evaluate.h', -+ '../../src/debug/debug-frames.cc', -+ '../../src/debug/debug-frames.h', -+ '../../src/debug/debug-scopes.cc', -+ '../../src/debug/debug-scopes.h', -+ '../../src/debug/debug.cc', -+ '../../src/debug/debug.h', -+ '../../src/debug/liveedit.cc', -+ '../../src/debug/liveedit.h', -+ '../../src/deoptimizer.cc', -+ '../../src/deoptimizer.h', -+ '../../src/disasm.h', -+ '../../src/disassembler.cc', -+ '../../src/disassembler.h', -+ '../../src/diy-fp.cc', -+ '../../src/diy-fp.h', -+ '../../src/double.h', -+ '../../src/dtoa.cc', -+ '../../src/dtoa.h', -+ '../../src/effects.h', -+ '../../src/elements-kind.cc', -+ '../../src/elements-kind.h', -+ '../../src/elements.cc', -+ '../../src/elements.h', -+ '../../src/execution.cc', -+ '../../src/execution.h', -+ '../../src/extensions/externalize-string-extension.cc', -+ '../../src/extensions/externalize-string-extension.h', -+ '../../src/extensions/free-buffer-extension.cc', -+ '../../src/extensions/free-buffer-extension.h', -+ '../../src/extensions/gc-extension.cc', -+ '../../src/extensions/gc-extension.h', -+ '../../src/extensions/statistics-extension.cc', -+ '../../src/extensions/statistics-extension.h', -+ '../../src/extensions/trigger-failure-extension.cc', -+ '../../src/extensions/trigger-failure-extension.h', -+ '../../src/factory.cc', -+ '../../src/factory.h', -+ '../../src/fast-dtoa.cc', -+ '../../src/fast-dtoa.h', -+ '../../src/field-index.h', -+ '../../src/field-index-inl.h', -+ '../../src/fixed-dtoa.cc', -+ '../../src/fixed-dtoa.h', -+ '../../src/flag-definitions.h', -+ '../../src/flags.cc', -+ '../../src/flags.h', -+ '../../src/frames-inl.h', -+ '../../src/frames.cc', -+ '../../src/frames.h', -+ '../../src/full-codegen/full-codegen.cc', -+ '../../src/full-codegen/full-codegen.h', -+ '../../src/futex-emulation.cc', -+ '../../src/futex-emulation.h', -+ '../../src/gdb-jit.cc', -+ '../../src/gdb-jit.h', -+ '../../src/global-handles.cc', -+ '../../src/global-handles.h', -+ '../../src/globals.h', -+ '../../src/handles-inl.h', -+ '../../src/handles.cc', -+ '../../src/handles.h', -+ '../../src/hashmap.h', -+ '../../src/heap/array-buffer-tracker.cc', -+ '../../src/heap/array-buffer-tracker.h', -+ '../../src/heap/memory-reducer.cc', -+ '../../src/heap/memory-reducer.h', -+ '../../src/heap/gc-idle-time-handler.cc', -+ '../../src/heap/gc-idle-time-handler.h', -+ '../../src/heap/gc-tracer.cc', -+ '../../src/heap/gc-tracer.h', -+ '../../src/heap/heap-inl.h', -+ '../../src/heap/heap.cc', -+ '../../src/heap/heap.h', -+ '../../src/heap/incremental-marking-inl.h', -+ '../../src/heap/incremental-marking-job.cc', -+ '../../src/heap/incremental-marking-job.h', -+ '../../src/heap/incremental-marking.cc', -+ '../../src/heap/incremental-marking.h', -+ '../../src/heap/mark-compact-inl.h', -+ '../../src/heap/mark-compact.cc', -+ '../../src/heap/mark-compact.h', -+ '../../src/heap/object-stats.cc', -+ '../../src/heap/object-stats.h', -+ '../../src/heap/objects-visiting-inl.h', -+ '../../src/heap/objects-visiting.cc', -+ '../../src/heap/objects-visiting.h', -+ '../../src/heap/scavenge-job.h', -+ '../../src/heap/scavenge-job.cc', -+ '../../src/heap/scavenger-inl.h', -+ '../../src/heap/scavenger.cc', -+ '../../src/heap/scavenger.h', -+ '../../src/heap/slots-buffer.cc', -+ '../../src/heap/slots-buffer.h', -+ '../../src/heap/spaces-inl.h', -+ '../../src/heap/spaces.cc', -+ '../../src/heap/spaces.h', -+ '../../src/heap/store-buffer-inl.h', -+ '../../src/heap/store-buffer.cc', -+ '../../src/heap/store-buffer.h', -+ '../../src/i18n.cc', -+ '../../src/i18n.h', -+ '../../src/icu_util.cc', -+ '../../src/icu_util.h', -+ '../../src/ic/access-compiler.cc', -+ '../../src/ic/access-compiler.h', -+ '../../src/ic/call-optimization.cc', -+ '../../src/ic/call-optimization.h', -+ '../../src/ic/handler-compiler.cc', -+ '../../src/ic/handler-compiler.h', -+ '../../src/ic/ic-inl.h', -+ '../../src/ic/ic-state.cc', -+ '../../src/ic/ic-state.h', -+ '../../src/ic/ic.cc', -+ '../../src/ic/ic.h', -+ '../../src/ic/ic-compiler.cc', -+ '../../src/ic/ic-compiler.h', -+ '../../src/identity-map.cc', -+ '../../src/identity-map.h', -+ '../../src/interface-descriptors.cc', -+ '../../src/interface-descriptors.h', -+ '../../src/interpreter/bytecodes.cc', -+ '../../src/interpreter/bytecodes.h', -+ '../../src/interpreter/bytecode-array-builder.cc', -+ '../../src/interpreter/bytecode-array-builder.h', -+ '../../src/interpreter/bytecode-array-iterator.cc', -+ '../../src/interpreter/bytecode-array-iterator.h', -+ '../../src/interpreter/bytecode-register-allocator.cc', -+ '../../src/interpreter/bytecode-register-allocator.h', -+ '../../src/interpreter/bytecode-generator.cc', -+ '../../src/interpreter/bytecode-generator.h', -+ '../../src/interpreter/bytecode-traits.h', -+ '../../src/interpreter/constant-array-builder.cc', -+ '../../src/interpreter/constant-array-builder.h', -+ '../../src/interpreter/control-flow-builders.cc', -+ '../../src/interpreter/control-flow-builders.h', -+ '../../src/interpreter/interpreter.cc', -+ '../../src/interpreter/interpreter.h', -+ '../../src/isolate-inl.h', -+ '../../src/isolate.cc', -+ '../../src/isolate.h', -+ '../../src/json-stringifier.h', -+ '../../src/key-accumulator.h', -+ '../../src/key-accumulator.cc', -+ '../../src/layout-descriptor-inl.h', -+ '../../src/layout-descriptor.cc', -+ '../../src/layout-descriptor.h', -+ '../../src/list-inl.h', -+ '../../src/list.h', -+ '../../src/locked-queue-inl.h', -+ '../../src/locked-queue.h', -+ '../../src/log-inl.h', -+ '../../src/log-utils.cc', -+ '../../src/log-utils.h', -+ '../../src/log.cc', -+ '../../src/log.h', -+ '../../src/lookup.cc', -+ '../../src/lookup.h', -+ '../../src/macro-assembler.h', -+ '../../src/machine-type.cc', -+ '../../src/machine-type.h', -+ '../../src/messages.cc', -+ '../../src/messages.h', -+ '../../src/msan.h', -+ '../../src/objects-body-descriptors-inl.h', -+ '../../src/objects-body-descriptors.h', -+ '../../src/objects-debug.cc', -+ '../../src/objects-inl.h', -+ '../../src/objects-printer.cc', -+ '../../src/objects.cc', -+ '../../src/objects.h', -+ '../../src/optimizing-compile-dispatcher.cc', -+ '../../src/optimizing-compile-dispatcher.h', -+ '../../src/ostreams.cc', -+ '../../src/ostreams.h', -+ '../../src/parsing/expression-classifier.h', -+ '../../src/parsing/func-name-inferrer.cc', -+ '../../src/parsing/func-name-inferrer.h', -+ '../../src/parsing/json-parser.h', -+ '../../src/parsing/parameter-initializer-rewriter.cc', -+ '../../src/parsing/parameter-initializer-rewriter.h', -+ '../../src/parsing/parser-base.h', -+ '../../src/parsing/parser.cc', -+ '../../src/parsing/parser.h', -+ '../../src/parsing/pattern-rewriter.cc', -+ '../../src/parsing/preparse-data-format.h', -+ '../../src/parsing/preparse-data.cc', -+ '../../src/parsing/preparse-data.h', -+ '../../src/parsing/preparser.cc', -+ '../../src/parsing/preparser.h', -+ '../../src/parsing/rewriter.cc', -+ '../../src/parsing/rewriter.h', -+ '../../src/parsing/scanner-character-streams.cc', -+ '../../src/parsing/scanner-character-streams.h', -+ '../../src/parsing/scanner.cc', -+ '../../src/parsing/scanner.h', -+ '../../src/parsing/token.cc', -+ '../../src/parsing/token.h', -+ '../../src/pending-compilation-error-handler.cc', -+ '../../src/pending-compilation-error-handler.h', -+ '../../src/profiler/allocation-tracker.cc', -+ '../../src/profiler/allocation-tracker.h', -+ '../../src/profiler/circular-queue-inl.h', -+ '../../src/profiler/circular-queue.h', -+ '../../src/profiler/cpu-profiler-inl.h', -+ '../../src/profiler/cpu-profiler.cc', -+ '../../src/profiler/cpu-profiler.h', -+ '../../src/profiler/heap-profiler.cc', -+ '../../src/profiler/heap-profiler.h', -+ '../../src/profiler/heap-snapshot-generator-inl.h', -+ '../../src/profiler/heap-snapshot-generator.cc', -+ '../../src/profiler/heap-snapshot-generator.h', -+ '../../src/profiler/profile-generator-inl.h', -+ '../../src/profiler/profile-generator.cc', -+ '../../src/profiler/profile-generator.h', -+ '../../src/profiler/sampler.cc', -+ '../../src/profiler/sampler.h', -+ '../../src/profiler/strings-storage.cc', -+ '../../src/profiler/strings-storage.h', -+ '../../src/profiler/unbound-queue-inl.h', -+ '../../src/profiler/unbound-queue.h', -+ '../../src/property-descriptor.cc', -+ '../../src/property-descriptor.h', -+ '../../src/property-details.h', -+ '../../src/property.cc', -+ '../../src/property.h', -+ '../../src/prototype.h', -+ '../../src/regexp/bytecodes-irregexp.h', -+ '../../src/regexp/interpreter-irregexp.cc', -+ '../../src/regexp/interpreter-irregexp.h', -+ '../../src/regexp/jsregexp-inl.h', -+ '../../src/regexp/jsregexp.cc', -+ '../../src/regexp/jsregexp.h', -+ '../../src/regexp/regexp-ast.cc', -+ '../../src/regexp/regexp-ast.h', -+ '../../src/regexp/regexp-macro-assembler-irregexp-inl.h', -+ '../../src/regexp/regexp-macro-assembler-irregexp.cc', -+ '../../src/regexp/regexp-macro-assembler-irregexp.h', -+ '../../src/regexp/regexp-macro-assembler-tracer.cc', -+ '../../src/regexp/regexp-macro-assembler-tracer.h', -+ '../../src/regexp/regexp-macro-assembler.cc', -+ '../../src/regexp/regexp-macro-assembler.h', -+ '../../src/regexp/regexp-parser.cc', -+ '../../src/regexp/regexp-parser.h', -+ '../../src/regexp/regexp-stack.cc', -+ '../../src/regexp/regexp-stack.h', -+ '../../src/register-configuration.cc', -+ '../../src/register-configuration.h', -+ '../../src/runtime-profiler.cc', -+ '../../src/runtime-profiler.h', -+ '../../src/runtime/runtime-array.cc', -+ '../../src/runtime/runtime-atomics.cc', -+ '../../src/runtime/runtime-classes.cc', -+ '../../src/runtime/runtime-collections.cc', -+ '../../src/runtime/runtime-compiler.cc', -+ '../../src/runtime/runtime-date.cc', -+ '../../src/runtime/runtime-debug.cc', -+ '../../src/runtime/runtime-forin.cc', -+ '../../src/runtime/runtime-function.cc', -+ '../../src/runtime/runtime-futex.cc', -+ '../../src/runtime/runtime-generator.cc', -+ '../../src/runtime/runtime-i18n.cc', -+ '../../src/runtime/runtime-internal.cc', -+ '../../src/runtime/runtime-interpreter.cc', -+ '../../src/runtime/runtime-json.cc', -+ '../../src/runtime/runtime-literals.cc', -+ '../../src/runtime/runtime-liveedit.cc', -+ '../../src/runtime/runtime-maths.cc', -+ '../../src/runtime/runtime-numbers.cc', -+ '../../src/runtime/runtime-object.cc', -+ '../../src/runtime/runtime-observe.cc', -+ '../../src/runtime/runtime-operators.cc', -+ '../../src/runtime/runtime-proxy.cc', -+ '../../src/runtime/runtime-regexp.cc', -+ '../../src/runtime/runtime-scopes.cc', -+ '../../src/runtime/runtime-simd.cc', -+ '../../src/runtime/runtime-strings.cc', -+ '../../src/runtime/runtime-symbol.cc', -+ '../../src/runtime/runtime-test.cc', -+ '../../src/runtime/runtime-typedarray.cc', -+ '../../src/runtime/runtime-uri.cc', -+ '../../src/runtime/runtime-utils.h', -+ '../../src/runtime/runtime.cc', -+ '../../src/runtime/runtime.h', -+ '../../src/safepoint-table.cc', -+ '../../src/safepoint-table.h', -+ '../../src/signature.h', -+ '../../src/simulator.h', -+ '../../src/small-pointer-list.h', -+ '../../src/snapshot/natives.h', -+ '../../src/snapshot/natives-common.cc', -+ '../../src/snapshot/serialize.cc', -+ '../../src/snapshot/serialize.h', -+ '../../src/snapshot/snapshot.h', -+ '../../src/snapshot/snapshot-common.cc', -+ '../../src/snapshot/snapshot-source-sink.cc', -+ '../../src/snapshot/snapshot-source-sink.h', -+ '../../src/splay-tree.h', -+ '../../src/splay-tree-inl.h', -+ '../../src/startup-data-util.cc', -+ '../../src/startup-data-util.h', -+ '../../src/string-builder.cc', -+ '../../src/string-builder.h', -+ '../../src/string-search.h', -+ '../../src/string-stream.cc', -+ '../../src/string-stream.h', -+ '../../src/strtod.cc', -+ '../../src/strtod.h', -+ '../../src/ic/stub-cache.cc', -+ '../../src/ic/stub-cache.h', -+ '../../src/tracing/trace-event.cc', -+ '../../src/tracing/trace-event.h', -+ '../../src/transitions-inl.h', -+ '../../src/transitions.cc', -+ '../../src/transitions.h', -+ '../../src/type-cache.cc', -+ '../../src/type-cache.h', -+ '../../src/type-feedback-vector-inl.h', -+ '../../src/type-feedback-vector.cc', -+ '../../src/type-feedback-vector.h', -+ '../../src/type-info.cc', -+ '../../src/type-info.h', -+ '../../src/types-inl.h', -+ '../../src/types.cc', -+ '../../src/types.h', -+ '../../src/typing-asm.cc', -+ '../../src/typing-asm.h', -+ '../../src/typing-reset.cc', -+ '../../src/typing-reset.h', -+ '../../src/unicode-inl.h', -+ '../../src/unicode.cc', -+ '../../src/unicode.h', -+ '../../src/unicode-cache-inl.h', -+ '../../src/unicode-cache.h', -+ '../../src/unicode-decoder.cc', -+ '../../src/unicode-decoder.h', -+ '../../src/utils.cc', -+ '../../src/utils.h', -+ '../../src/v8.cc', -+ '../../src/v8.h', -+ '../../src/v8memory.h', -+ '../../src/v8threads.cc', -+ '../../src/v8threads.h', -+ '../../src/vector.h', -+ '../../src/version.cc', -+ '../../src/version.h', -+ '../../src/vm-state-inl.h', -+ '../../src/vm-state.h', -+ '../../src/wasm/asm-wasm-builder.cc', -+ '../../src/wasm/asm-wasm-builder.h', -+ '../../src/wasm/ast-decoder.cc', -+ '../../src/wasm/ast-decoder.h', -+ '../../src/wasm/decoder.h', -+ '../../src/wasm/encoder.cc', -+ '../../src/wasm/encoder.h', -+ '../../src/wasm/module-decoder.cc', -+ '../../src/wasm/module-decoder.h', -+ '../../src/wasm/wasm-js.cc', -+ '../../src/wasm/wasm-js.h', -+ '../../src/wasm/wasm-macro-gen.h', -+ '../../src/wasm/wasm-module.cc', -+ '../../src/wasm/wasm-module.h', -+ '../../src/wasm/wasm-opcodes.cc', -+ '../../src/wasm/wasm-opcodes.h', -+ '../../src/wasm/wasm-result.cc', -+ '../../src/wasm/wasm-result.h', -+ '../../src/zone.cc', -+ '../../src/zone.h', -+ '../../src/zone-allocator.h', -+ '../../src/zone-containers.h', -+ '../../src/third_party/fdlibm/fdlibm.cc', -+ '../../src/third_party/fdlibm/fdlibm.h', ++ '../include/v8-debug.h', ++ '../include/v8-experimental.h', ++ '../include/v8-platform.h', ++ '../include/v8-profiler.h', ++ '../include/v8-testing.h', ++ '../include/v8-util.h', ++ '../include/v8-version.h', ++ '../include/v8.h', ++ '../include/v8config.h', ++ 'accessors.cc', ++ 'accessors.h', ++ 'address-map.cc', ++ 'address-map.h', ++ 'allocation.cc', ++ 'allocation.h', ++ 'allocation-site-scopes.cc', ++ 'allocation-site-scopes.h', ++ 'api-experimental.cc', ++ 'api-experimental.h', ++ 'api.cc', ++ 'api.h', ++ 'api-arguments-inl.h', ++ 'api-arguments.cc', ++ 'api-arguments.h', ++ 'api-natives.cc', ++ 'api-natives.h', ++ 'arguments.cc', ++ 'arguments.h', ++ 'assembler.cc', ++ 'assembler.h', ++ 'assert-scope.h', ++ 'assert-scope.cc', ++ 'ast/ast-expression-rewriter.cc', ++ 'ast/ast-expression-rewriter.h', ++ 'ast/ast-expression-visitor.cc', ++ 'ast/ast-expression-visitor.h', ++ 'ast/ast-literal-reindexer.cc', ++ 'ast/ast-literal-reindexer.h', ++ 'ast/ast-numbering.cc', ++ 'ast/ast-numbering.h', ++ 'ast/ast-type-bounds.h', ++ 'ast/ast-value-factory.cc', ++ 'ast/ast-value-factory.h', ++ 'ast/ast.cc', ++ 'ast/ast.h', ++ 'ast/modules.cc', ++ 'ast/modules.h', ++ 'ast/prettyprinter.cc', ++ 'ast/prettyprinter.h', ++ 'ast/scopeinfo.cc', ++ 'ast/scopeinfo.h', ++ 'ast/scopes.cc', ++ 'ast/scopes.h', ++ 'ast/variables.cc', ++ 'ast/variables.h', ++ 'background-parsing-task.cc', ++ 'background-parsing-task.h', ++ 'bailout-reason.cc', ++ 'bailout-reason.h', ++ 'basic-block-profiler.cc', ++ 'basic-block-profiler.h', ++ 'bignum-dtoa.cc', ++ 'bignum-dtoa.h', ++ 'bignum.cc', ++ 'bignum.h', ++ 'bit-vector.cc', ++ 'bit-vector.h', ++ 'bootstrapper.cc', ++ 'bootstrapper.h', ++ 'builtins.cc', ++ 'builtins.h', ++ 'cached-powers.cc', ++ 'cached-powers.h', ++ 'cancelable-task.cc', ++ 'cancelable-task.h', ++ 'char-predicates.cc', ++ 'char-predicates-inl.h', ++ 'char-predicates.h', ++ 'checks.h', ++ 'code-events.h', ++ 'code-factory.cc', ++ 'code-factory.h', ++ 'code-stub-assembler.cc', ++ 'code-stub-assembler.h', ++ 'code-stubs.cc', ++ 'code-stubs.h', ++ 'code-stubs-hydrogen.cc', ++ 'codegen.cc', ++ 'codegen.h', ++ 'collector.h', ++ 'compilation-cache.cc', ++ 'compilation-cache.h', ++ 'compilation-dependencies.cc', ++ 'compilation-dependencies.h', ++ 'compilation-statistics.cc', ++ 'compilation-statistics.h', ++ 'compiler/access-builder.cc', ++ 'compiler/access-builder.h', ++ 'compiler/access-info.cc', ++ 'compiler/access-info.h', ++ 'compiler/all-nodes.cc', ++ 'compiler/all-nodes.h', ++ 'compiler/ast-graph-builder.cc', ++ 'compiler/ast-graph-builder.h', ++ 'compiler/ast-loop-assignment-analyzer.cc', ++ 'compiler/ast-loop-assignment-analyzer.h', ++ 'compiler/basic-block-instrumentor.cc', ++ 'compiler/basic-block-instrumentor.h', ++ 'compiler/branch-elimination.cc', ++ 'compiler/branch-elimination.h', ++ 'compiler/bytecode-branch-analysis.cc', ++ 'compiler/bytecode-branch-analysis.h', ++ 'compiler/bytecode-graph-builder.cc', ++ 'compiler/bytecode-graph-builder.h', ++ 'compiler/c-linkage.cc', ++ 'compiler/checkpoint-elimination.cc', ++ 'compiler/checkpoint-elimination.h', ++ 'compiler/code-generator-impl.h', ++ 'compiler/code-generator.cc', ++ 'compiler/code-generator.h', ++ 'compiler/code-assembler.cc', ++ 'compiler/code-assembler.h', ++ 'compiler/common-node-cache.cc', ++ 'compiler/common-node-cache.h', ++ 'compiler/common-operator-reducer.cc', ++ 'compiler/common-operator-reducer.h', ++ 'compiler/common-operator.cc', ++ 'compiler/common-operator.h', ++ 'compiler/control-builders.cc', ++ 'compiler/control-builders.h', ++ 'compiler/control-equivalence.cc', ++ 'compiler/control-equivalence.h', ++ 'compiler/control-flow-optimizer.cc', ++ 'compiler/control-flow-optimizer.h', ++ 'compiler/dead-code-elimination.cc', ++ 'compiler/dead-code-elimination.h', ++ 'compiler/diamond.h', ++ 'compiler/effect-control-linearizer.cc', ++ 'compiler/effect-control-linearizer.h', ++ 'compiler/escape-analysis.cc', ++ 'compiler/escape-analysis.h', ++ "compiler/escape-analysis-reducer.cc", ++ "compiler/escape-analysis-reducer.h", ++ 'compiler/frame.cc', ++ 'compiler/frame.h', ++ 'compiler/frame-elider.cc', ++ 'compiler/frame-elider.h', ++ "compiler/frame-states.cc", ++ "compiler/frame-states.h", ++ 'compiler/gap-resolver.cc', ++ 'compiler/gap-resolver.h', ++ 'compiler/graph-reducer.cc', ++ 'compiler/graph-reducer.h', ++ 'compiler/graph-replay.cc', ++ 'compiler/graph-replay.h', ++ 'compiler/graph-trimmer.cc', ++ 'compiler/graph-trimmer.h', ++ 'compiler/graph-visualizer.cc', ++ 'compiler/graph-visualizer.h', ++ 'compiler/graph.cc', ++ 'compiler/graph.h', ++ 'compiler/instruction-codes.h', ++ 'compiler/instruction-selector-impl.h', ++ 'compiler/instruction-selector.cc', ++ 'compiler/instruction-selector.h', ++ 'compiler/instruction-scheduler.cc', ++ 'compiler/instruction-scheduler.h', ++ 'compiler/instruction.cc', ++ 'compiler/instruction.h', ++ 'compiler/int64-lowering.cc', ++ 'compiler/int64-lowering.h', ++ 'compiler/js-builtin-reducer.cc', ++ 'compiler/js-builtin-reducer.h', ++ 'compiler/js-call-reducer.cc', ++ 'compiler/js-call-reducer.h', ++ 'compiler/js-context-specialization.cc', ++ 'compiler/js-context-specialization.h', ++ 'compiler/js-create-lowering.cc', ++ 'compiler/js-create-lowering.h', ++ 'compiler/js-frame-specialization.cc', ++ 'compiler/js-frame-specialization.h', ++ 'compiler/js-generic-lowering.cc', ++ 'compiler/js-generic-lowering.h', ++ 'compiler/js-global-object-specialization.cc', ++ 'compiler/js-global-object-specialization.h', ++ 'compiler/js-graph.cc', ++ 'compiler/js-graph.h', ++ 'compiler/js-inlining.cc', ++ 'compiler/js-inlining.h', ++ 'compiler/js-inlining-heuristic.cc', ++ 'compiler/js-inlining-heuristic.h', ++ 'compiler/js-intrinsic-lowering.cc', ++ 'compiler/js-intrinsic-lowering.h', ++ 'compiler/js-native-context-specialization.cc', ++ 'compiler/js-native-context-specialization.h', ++ 'compiler/js-operator.cc', ++ 'compiler/js-operator.h', ++ 'compiler/js-typed-lowering.cc', ++ 'compiler/js-typed-lowering.h', ++ 'compiler/jump-threading.cc', ++ 'compiler/jump-threading.h', ++ 'compiler/linkage.cc', ++ 'compiler/linkage.h', ++ 'compiler/liveness-analyzer.cc', ++ 'compiler/liveness-analyzer.h', ++ 'compiler/live-range-separator.cc', ++ 'compiler/live-range-separator.h', ++ 'compiler/load-elimination.cc', ++ 'compiler/load-elimination.h', ++ 'compiler/loop-analysis.cc', ++ 'compiler/loop-analysis.h', ++ 'compiler/loop-peeling.cc', ++ 'compiler/loop-peeling.h', ++ 'compiler/machine-operator-reducer.cc', ++ 'compiler/machine-operator-reducer.h', ++ 'compiler/machine-operator.cc', ++ 'compiler/machine-operator.h', ++ 'compiler/memory-optimizer.cc', ++ 'compiler/memory-optimizer.h', ++ 'compiler/move-optimizer.cc', ++ 'compiler/move-optimizer.h', ++ 'compiler/node-aux-data.h', ++ 'compiler/node-cache.cc', ++ 'compiler/node-cache.h', ++ 'compiler/node-marker.cc', ++ 'compiler/node-marker.h', ++ 'compiler/node-matchers.cc', ++ 'compiler/node-matchers.h', ++ 'compiler/node-properties.cc', ++ 'compiler/node-properties.h', ++ 'compiler/node.cc', ++ 'compiler/node.h', ++ 'compiler/opcodes.cc', ++ 'compiler/opcodes.h', ++ 'compiler/operation-typer.cc', ++ 'compiler/operation-typer.h', ++ 'compiler/operator-properties.cc', ++ 'compiler/operator-properties.h', ++ 'compiler/operator.cc', ++ 'compiler/operator.h', ++ 'compiler/osr.cc', ++ 'compiler/osr.h', ++ 'compiler/pipeline.cc', ++ 'compiler/pipeline.h', ++ 'compiler/pipeline-statistics.cc', ++ 'compiler/pipeline-statistics.h', ++ 'compiler/raw-machine-assembler.cc', ++ 'compiler/raw-machine-assembler.h', ++ 'compiler/redundancy-elimination.cc', ++ 'compiler/redundancy-elimination.h', ++ 'compiler/register-allocator.cc', ++ 'compiler/register-allocator.h', ++ 'compiler/register-allocator-verifier.cc', ++ 'compiler/register-allocator-verifier.h', ++ 'compiler/representation-change.cc', ++ 'compiler/representation-change.h', ++ 'compiler/schedule.cc', ++ 'compiler/schedule.h', ++ 'compiler/scheduler.cc', ++ 'compiler/scheduler.h', ++ 'compiler/select-lowering.cc', ++ 'compiler/select-lowering.h', ++ 'compiler/simplified-lowering.cc', ++ 'compiler/simplified-lowering.h', ++ 'compiler/simplified-operator-reducer.cc', ++ 'compiler/simplified-operator-reducer.h', ++ 'compiler/simplified-operator.cc', ++ 'compiler/simplified-operator.h', ++ 'compiler/source-position.cc', ++ 'compiler/source-position.h', ++ 'compiler/state-values-utils.cc', ++ 'compiler/state-values-utils.h', ++ 'compiler/store-store-elimination.cc', ++ 'compiler/store-store-elimination.h', ++ 'compiler/tail-call-optimization.cc', ++ 'compiler/tail-call-optimization.h', ++ 'compiler/type-hint-analyzer.cc', ++ 'compiler/type-hint-analyzer.h', ++ 'compiler/type-hints.cc', ++ 'compiler/type-hints.h', ++ 'compiler/typer.cc', ++ 'compiler/typer.h', ++ 'compiler/value-numbering-reducer.cc', ++ 'compiler/value-numbering-reducer.h', ++ 'compiler/verifier.cc', ++ 'compiler/verifier.h', ++ 'compiler/wasm-compiler.cc', ++ 'compiler/wasm-compiler.h', ++ 'compiler/wasm-linkage.cc', ++ 'compiler/zone-pool.cc', ++ 'compiler/zone-pool.h', ++ 'compiler.cc', ++ 'compiler.h', ++ 'context-measure.cc', ++ 'context-measure.h', ++ 'contexts-inl.h', ++ 'contexts.cc', ++ 'contexts.h', ++ 'conversions-inl.h', ++ 'conversions.cc', ++ 'conversions.h', ++ 'counters-inl.h', ++ 'counters.cc', ++ 'counters.h', ++ 'crankshaft/compilation-phase.cc', ++ 'crankshaft/compilation-phase.h', ++ 'crankshaft/hydrogen-alias-analysis.h', ++ 'crankshaft/hydrogen-bce.cc', ++ 'crankshaft/hydrogen-bce.h', ++ 'crankshaft/hydrogen-canonicalize.cc', ++ 'crankshaft/hydrogen-canonicalize.h', ++ 'crankshaft/hydrogen-check-elimination.cc', ++ 'crankshaft/hydrogen-check-elimination.h', ++ 'crankshaft/hydrogen-dce.cc', ++ 'crankshaft/hydrogen-dce.h', ++ 'crankshaft/hydrogen-dehoist.cc', ++ 'crankshaft/hydrogen-dehoist.h', ++ 'crankshaft/hydrogen-environment-liveness.cc', ++ 'crankshaft/hydrogen-environment-liveness.h', ++ 'crankshaft/hydrogen-escape-analysis.cc', ++ 'crankshaft/hydrogen-escape-analysis.h', ++ 'crankshaft/hydrogen-flow-engine.h', ++ 'crankshaft/hydrogen-gvn.cc', ++ 'crankshaft/hydrogen-gvn.h', ++ 'crankshaft/hydrogen-infer-representation.cc', ++ 'crankshaft/hydrogen-infer-representation.h', ++ 'crankshaft/hydrogen-infer-types.cc', ++ 'crankshaft/hydrogen-infer-types.h', ++ 'crankshaft/hydrogen-instructions.cc', ++ 'crankshaft/hydrogen-instructions.h', ++ 'crankshaft/hydrogen-load-elimination.cc', ++ 'crankshaft/hydrogen-load-elimination.h', ++ 'crankshaft/hydrogen-mark-deoptimize.cc', ++ 'crankshaft/hydrogen-mark-deoptimize.h', ++ 'crankshaft/hydrogen-mark-unreachable.cc', ++ 'crankshaft/hydrogen-mark-unreachable.h', ++ 'crankshaft/hydrogen-osr.cc', ++ 'crankshaft/hydrogen-osr.h', ++ 'crankshaft/hydrogen-range-analysis.cc', ++ 'crankshaft/hydrogen-range-analysis.h', ++ 'crankshaft/hydrogen-redundant-phi.cc', ++ 'crankshaft/hydrogen-redundant-phi.h', ++ 'crankshaft/hydrogen-removable-simulates.cc', ++ 'crankshaft/hydrogen-removable-simulates.h', ++ 'crankshaft/hydrogen-representation-changes.cc', ++ 'crankshaft/hydrogen-representation-changes.h', ++ 'crankshaft/hydrogen-sce.cc', ++ 'crankshaft/hydrogen-sce.h', ++ 'crankshaft/hydrogen-store-elimination.cc', ++ 'crankshaft/hydrogen-store-elimination.h', ++ 'crankshaft/hydrogen-types.cc', ++ 'crankshaft/hydrogen-types.h', ++ 'crankshaft/hydrogen-uint32-analysis.cc', ++ 'crankshaft/hydrogen-uint32-analysis.h', ++ 'crankshaft/hydrogen.cc', ++ 'crankshaft/hydrogen.h', ++ 'crankshaft/lithium-allocator-inl.h', ++ 'crankshaft/lithium-allocator.cc', ++ 'crankshaft/lithium-allocator.h', ++ 'crankshaft/lithium-codegen.cc', ++ 'crankshaft/lithium-codegen.h', ++ 'crankshaft/lithium.cc', ++ 'crankshaft/lithium.h', ++ 'crankshaft/lithium-inl.h', ++ 'crankshaft/typing.cc', ++ 'crankshaft/typing.h', ++ 'crankshaft/unique.h', ++ 'date.cc', ++ 'date.h', ++ 'dateparser-inl.h', ++ 'dateparser.cc', ++ 'dateparser.h', ++ 'debug/debug-evaluate.cc', ++ 'debug/debug-evaluate.h', ++ 'debug/debug-frames.cc', ++ 'debug/debug-frames.h', ++ 'debug/debug-scopes.cc', ++ 'debug/debug-scopes.h', ++ 'debug/debug.cc', ++ 'debug/debug.h', ++ 'debug/liveedit.cc', ++ 'debug/liveedit.h', ++ 'deoptimizer.cc', ++ 'deoptimizer.h', ++ 'disasm.h', ++ 'disassembler.cc', ++ 'disassembler.h', ++ 'diy-fp.cc', ++ 'diy-fp.h', ++ 'double.h', ++ 'dtoa.cc', ++ 'dtoa.h', ++ 'effects.h', ++ 'eh-frame.cc', ++ 'eh-frame.h', ++ 'elements-kind.cc', ++ 'elements-kind.h', ++ 'elements.cc', ++ 'elements.h', ++ 'execution.cc', ++ 'execution.h', ++ 'extensions/externalize-string-extension.cc', ++ 'extensions/externalize-string-extension.h', ++ 'extensions/free-buffer-extension.cc', ++ 'extensions/free-buffer-extension.h', ++ 'extensions/gc-extension.cc', ++ 'extensions/gc-extension.h', ++ 'extensions/ignition-statistics-extension.cc', ++ 'extensions/ignition-statistics-extension.h', ++ 'extensions/statistics-extension.cc', ++ 'extensions/statistics-extension.h', ++ 'extensions/trigger-failure-extension.cc', ++ 'extensions/trigger-failure-extension.h', ++ 'external-reference-table.cc', ++ 'external-reference-table.h', ++ 'factory.cc', ++ 'factory.h', ++ 'fast-accessor-assembler.cc', ++ 'fast-accessor-assembler.h', ++ 'fast-dtoa.cc', ++ 'fast-dtoa.h', ++ 'field-index.h', ++ 'field-index-inl.h', ++ 'field-type.cc', ++ 'field-type.h', ++ 'fixed-dtoa.cc', ++ 'fixed-dtoa.h', ++ 'flag-definitions.h', ++ 'flags.cc', ++ 'flags.h', ++ 'frames-inl.h', ++ 'frames.cc', ++ 'frames.h', ++ 'full-codegen/full-codegen.cc', ++ 'full-codegen/full-codegen.h', ++ 'futex-emulation.cc', ++ 'futex-emulation.h', ++ 'gdb-jit.cc', ++ 'gdb-jit.h', ++ 'global-handles.cc', ++ 'global-handles.h', ++ 'globals.h', ++ 'handles-inl.h', ++ 'handles.cc', ++ 'handles.h', ++ 'heap-symbols.h', ++ 'heap/array-buffer-tracker-inl.h', ++ 'heap/array-buffer-tracker.cc', ++ 'heap/array-buffer-tracker.h', ++ 'heap/memory-reducer.cc', ++ 'heap/memory-reducer.h', ++ 'heap/gc-idle-time-handler.cc', ++ 'heap/gc-idle-time-handler.h', ++ 'heap/gc-tracer.cc', ++ 'heap/gc-tracer.h', ++ 'heap/heap-inl.h', ++ 'heap/heap.cc', ++ 'heap/heap.h', ++ 'heap/incremental-marking-inl.h', ++ 'heap/incremental-marking-job.cc', ++ 'heap/incremental-marking-job.h', ++ 'heap/incremental-marking.cc', ++ 'heap/incremental-marking.h', ++ 'heap/mark-compact-inl.h', ++ 'heap/mark-compact.cc', ++ 'heap/mark-compact.h', ++ 'heap/object-stats.cc', ++ 'heap/object-stats.h', ++ 'heap/objects-visiting-inl.h', ++ 'heap/objects-visiting.cc', ++ 'heap/objects-visiting.h', ++ 'heap/page-parallel-job.h', ++ 'heap/remembered-set.cc', ++ 'heap/remembered-set.h', ++ 'heap/scavenge-job.h', ++ 'heap/scavenge-job.cc', ++ 'heap/scavenger-inl.h', ++ 'heap/scavenger.cc', ++ 'heap/scavenger.h', ++ 'heap/slot-set.h', ++ 'heap/spaces-inl.h', ++ 'heap/spaces.cc', ++ 'heap/spaces.h', ++ 'heap/store-buffer.cc', ++ 'heap/store-buffer.h', ++ 'i18n.cc', ++ 'i18n.h', ++ 'icu_util.cc', ++ 'icu_util.h', ++ 'ic/access-compiler.cc', ++ 'ic/access-compiler.h', ++ 'ic/call-optimization.cc', ++ 'ic/call-optimization.h', ++ 'ic/handler-compiler.cc', ++ 'ic/handler-compiler.h', ++ 'ic/ic-inl.h', ++ 'ic/ic-state.cc', ++ 'ic/ic-state.h', ++ 'ic/ic.cc', ++ 'ic/ic.h', ++ 'ic/ic-compiler.cc', ++ 'ic/ic-compiler.h', ++ 'identity-map.cc', ++ 'identity-map.h', ++ 'interface-descriptors.cc', ++ 'interface-descriptors.h', ++ 'interpreter/bytecodes.cc', ++ 'interpreter/bytecodes.h', ++ 'interpreter/bytecode-array-builder.cc', ++ 'interpreter/bytecode-array-builder.h', ++ 'interpreter/bytecode-array-iterator.cc', ++ 'interpreter/bytecode-array-iterator.h', ++ 'interpreter/bytecode-array-writer.cc', ++ 'interpreter/bytecode-array-writer.h', ++ 'interpreter/bytecode-dead-code-optimizer.cc', ++ 'interpreter/bytecode-dead-code-optimizer.h', ++ 'interpreter/bytecode-label.h', ++ 'interpreter/bytecode-generator.cc', ++ 'interpreter/bytecode-generator.h', ++ 'interpreter/bytecode-peephole-optimizer.cc', ++ 'interpreter/bytecode-peephole-optimizer.h', ++ 'interpreter/bytecode-pipeline.cc', ++ 'interpreter/bytecode-pipeline.h', ++ 'interpreter/bytecode-register-allocator.cc', ++ 'interpreter/bytecode-register-allocator.h', ++ 'interpreter/bytecode-register-optimizer.cc', ++ 'interpreter/bytecode-register-optimizer.h', ++ 'interpreter/bytecode-traits.h', ++ 'interpreter/constant-array-builder.cc', ++ 'interpreter/constant-array-builder.h', ++ 'interpreter/control-flow-builders.cc', ++ 'interpreter/control-flow-builders.h', ++ 'interpreter/handler-table-builder.cc', ++ 'interpreter/handler-table-builder.h', ++ 'interpreter/interpreter.cc', ++ 'interpreter/interpreter.h', ++ 'interpreter/interpreter-assembler.cc', ++ 'interpreter/interpreter-assembler.h', ++ 'interpreter/interpreter-intrinsics.cc', ++ 'interpreter/interpreter-intrinsics.h', ++ 'interpreter/source-position-table.cc', ++ 'interpreter/source-position-table.h', ++ 'isolate-inl.h', ++ 'isolate.cc', ++ 'isolate.h', ++ 'json-parser.cc', ++ 'json-parser.h', ++ 'json-stringifier.cc', ++ 'json-stringifier.h', ++ 'keys.h', ++ 'keys.cc', ++ 'layout-descriptor-inl.h', ++ 'layout-descriptor.cc', ++ 'layout-descriptor.h', ++ 'list-inl.h', ++ 'list.h', ++ 'locked-queue-inl.h', ++ 'locked-queue.h', ++ 'log-inl.h', ++ 'log-utils.cc', ++ 'log-utils.h', ++ 'log.cc', ++ 'log.h', ++ 'lookup.cc', ++ 'lookup.h', ++ 'macro-assembler.h', ++ 'machine-type.cc', ++ 'machine-type.h', ++ 'messages.cc', ++ 'messages.h', ++ 'msan.h', ++ 'objects-body-descriptors-inl.h', ++ 'objects-body-descriptors.h', ++ 'objects-debug.cc', ++ 'objects-inl.h', ++ 'objects-printer.cc', ++ 'objects.cc', ++ 'objects.h', ++ 'optimizing-compile-dispatcher.cc', ++ 'optimizing-compile-dispatcher.h', ++ 'ostreams.cc', ++ 'ostreams.h', ++ 'parsing/expression-classifier.h', ++ 'parsing/func-name-inferrer.cc', ++ 'parsing/func-name-inferrer.h', ++ 'parsing/parameter-initializer-rewriter.cc', ++ 'parsing/parameter-initializer-rewriter.h', ++ 'parsing/parser-base.h', ++ 'parsing/parser.cc', ++ 'parsing/parser.h', ++ 'parsing/pattern-rewriter.cc', ++ 'parsing/preparse-data-format.h', ++ 'parsing/preparse-data.cc', ++ 'parsing/preparse-data.h', ++ 'parsing/preparser.cc', ++ 'parsing/preparser.h', ++ 'parsing/rewriter.cc', ++ 'parsing/rewriter.h', ++ 'parsing/scanner-character-streams.cc', ++ 'parsing/scanner-character-streams.h', ++ 'parsing/scanner.cc', ++ 'parsing/scanner.h', ++ 'parsing/token.cc', ++ 'parsing/token.h', ++ 'pending-compilation-error-handler.cc', ++ 'pending-compilation-error-handler.h', ++ 'perf-jit.cc', ++ 'perf-jit.h', ++ 'profiler/allocation-tracker.cc', ++ 'profiler/allocation-tracker.h', ++ 'profiler/circular-queue-inl.h', ++ 'profiler/circular-queue.h', ++ 'profiler/cpu-profiler-inl.h', ++ 'profiler/cpu-profiler.cc', ++ 'profiler/cpu-profiler.h', ++ 'profiler/heap-profiler.cc', ++ 'profiler/heap-profiler.h', ++ 'profiler/heap-snapshot-generator-inl.h', ++ 'profiler/heap-snapshot-generator.cc', ++ 'profiler/heap-snapshot-generator.h', ++ 'profiler/profiler-listener.cc', ++ 'profiler/profiler-listener.h', ++ 'profiler/profile-generator-inl.h', ++ 'profiler/profile-generator.cc', ++ 'profiler/profile-generator.h', ++ 'profiler/sampling-heap-profiler.cc', ++ 'profiler/sampling-heap-profiler.h', ++ 'profiler/strings-storage.cc', ++ 'profiler/strings-storage.h', ++ 'profiler/tick-sample.cc', ++ 'profiler/tick-sample.h', ++ 'profiler/unbound-queue-inl.h', ++ 'profiler/unbound-queue.h', ++ 'property-descriptor.cc', ++ 'property-descriptor.h', ++ 'property-details.h', ++ 'property.cc', ++ 'property.h', ++ 'prototype.h', ++ 'regexp/bytecodes-irregexp.h', ++ 'regexp/interpreter-irregexp.cc', ++ 'regexp/interpreter-irregexp.h', ++ 'regexp/jsregexp-inl.h', ++ 'regexp/jsregexp.cc', ++ 'regexp/jsregexp.h', ++ 'regexp/regexp-ast.cc', ++ 'regexp/regexp-ast.h', ++ 'regexp/regexp-macro-assembler-irregexp-inl.h', ++ 'regexp/regexp-macro-assembler-irregexp.cc', ++ 'regexp/regexp-macro-assembler-irregexp.h', ++ 'regexp/regexp-macro-assembler-tracer.cc', ++ 'regexp/regexp-macro-assembler-tracer.h', ++ 'regexp/regexp-macro-assembler.cc', ++ 'regexp/regexp-macro-assembler.h', ++ 'regexp/regexp-parser.cc', ++ 'regexp/regexp-parser.h', ++ 'regexp/regexp-stack.cc', ++ 'regexp/regexp-stack.h', ++ 'register-configuration.cc', ++ 'register-configuration.h', ++ 'runtime-profiler.cc', ++ 'runtime-profiler.h', ++ 'runtime/runtime-array.cc', ++ 'runtime/runtime-atomics.cc', ++ 'runtime/runtime-classes.cc', ++ 'runtime/runtime-collections.cc', ++ 'runtime/runtime-compiler.cc', ++ 'runtime/runtime-date.cc', ++ 'runtime/runtime-debug.cc', ++ 'runtime/runtime-forin.cc', ++ 'runtime/runtime-function.cc', ++ 'runtime/runtime-futex.cc', ++ 'runtime/runtime-generator.cc', ++ 'runtime/runtime-i18n.cc', ++ 'runtime/runtime-internal.cc', ++ 'runtime/runtime-interpreter.cc', ++ 'runtime/runtime-literals.cc', ++ 'runtime/runtime-liveedit.cc', ++ 'runtime/runtime-maths.cc', ++ 'runtime/runtime-numbers.cc', ++ 'runtime/runtime-object.cc', ++ 'runtime/runtime-operators.cc', ++ 'runtime/runtime-proxy.cc', ++ 'runtime/runtime-regexp.cc', ++ 'runtime/runtime-scopes.cc', ++ 'runtime/runtime-simd.cc', ++ 'runtime/runtime-strings.cc', ++ 'runtime/runtime-symbol.cc', ++ 'runtime/runtime-test.cc', ++ 'runtime/runtime-typedarray.cc', ++ 'runtime/runtime-utils.h', ++ 'runtime/runtime.cc', ++ 'runtime/runtime.h', ++ 'safepoint-table.cc', ++ 'safepoint-table.h', ++ 'signature.h', ++ 'simulator.h', ++ 'small-pointer-list.h', ++ 'snapshot/code-serializer.cc', ++ 'snapshot/code-serializer.h', ++ 'snapshot/deserializer.cc', ++ 'snapshot/deserializer.h', ++ 'snapshot/natives.h', ++ 'snapshot/natives-common.cc', ++ 'snapshot/partial-serializer.cc', ++ 'snapshot/partial-serializer.h', ++ 'snapshot/serializer.cc', ++ 'snapshot/serializer.h', ++ 'snapshot/serializer-common.cc', ++ 'snapshot/serializer-common.h', ++ 'snapshot/snapshot.h', ++ 'snapshot/snapshot-common.cc', ++ 'snapshot/snapshot-source-sink.cc', ++ 'snapshot/snapshot-source-sink.h', ++ 'snapshot/startup-serializer.cc', ++ 'snapshot/startup-serializer.h', ++ 'source-position.h', ++ 'splay-tree.h', ++ 'splay-tree-inl.h', ++ 'startup-data-util.cc', ++ 'startup-data-util.h', ++ 'string-builder.cc', ++ 'string-builder.h', ++ 'string-search.h', ++ 'string-stream.cc', ++ 'string-stream.h', ++ 'strtod.cc', ++ 'strtod.h', ++ 'ic/stub-cache.cc', ++ 'ic/stub-cache.h', ++ 'tracing/trace-event.cc', ++ 'tracing/trace-event.h', ++ 'transitions-inl.h', ++ 'transitions.cc', ++ 'transitions.h', ++ 'type-cache.cc', ++ 'type-cache.h', ++ 'type-feedback-vector-inl.h', ++ 'type-feedback-vector.cc', ++ 'type-feedback-vector.h', ++ 'type-info.cc', ++ 'type-info.h', ++ 'types.cc', ++ 'types.h', ++ 'typing-asm.cc', ++ 'typing-asm.h', ++ 'unicode-inl.h', ++ 'unicode.cc', ++ 'unicode.h', ++ 'unicode-cache-inl.h', ++ 'unicode-cache.h', ++ 'unicode-decoder.cc', ++ 'unicode-decoder.h', ++ 'uri.cc', ++ 'uri.h', ++ 'utils-inl.h', ++ 'utils.cc', ++ 'utils.h', ++ 'v8.cc', ++ 'v8.h', ++ 'v8memory.h', ++ 'v8threads.cc', ++ 'v8threads.h', ++ 'vector.h', ++ 'version.cc', ++ 'version.h', ++ 'vm-state-inl.h', ++ 'vm-state.h', ++ 'wasm/asm-types.cc', ++ 'wasm/asm-types.h', ++ 'wasm/asm-wasm-builder.cc', ++ 'wasm/asm-wasm-builder.h', ++ 'wasm/ast-decoder.cc', ++ 'wasm/ast-decoder.h', ++ 'wasm/decoder.h', ++ 'wasm/encoder.cc', ++ 'wasm/encoder.h', ++ 'wasm/leb-helper.h', ++ 'wasm/module-decoder.cc', ++ 'wasm/module-decoder.h', ++ 'wasm/switch-logic.h', ++ 'wasm/switch-logic.cc', ++ 'wasm/wasm-debug.cc', ++ 'wasm/wasm-debug.h', ++ 'wasm/wasm-external-refs.cc', ++ 'wasm/wasm-external-refs.h', ++ 'wasm/wasm-function-name-table.cc', ++ 'wasm/wasm-function-name-table.h', ++ 'wasm/wasm-js.cc', ++ 'wasm/wasm-js.h', ++ 'wasm/wasm-macro-gen.h', ++ 'wasm/wasm-module.cc', ++ 'wasm/wasm-module.h', ++ 'wasm/wasm-interpreter.cc', ++ 'wasm/wasm-interpreter.h', ++ 'wasm/wasm-opcodes.cc', ++ 'wasm/wasm-opcodes.h', ++ 'wasm/wasm-result.cc', ++ 'wasm/wasm-result.h', ++ 'zone.cc', ++ 'zone.h', ++ 'zone-allocator.h', ++ 'zone-containers.h', + ], + 'conditions': [ + ['OS!="win" and remove_v8base_debug_symbols==1', { @@ -4074,354 +4154,396 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }], + ['v8_target_arch=="arm"', { + 'sources': [ ### gcmole(arch:arm) ### -+ '../../src/arm/assembler-arm-inl.h', -+ '../../src/arm/assembler-arm.cc', -+ '../../src/arm/assembler-arm.h', -+ '../../src/arm/builtins-arm.cc', -+ '../../src/arm/code-stubs-arm.cc', -+ '../../src/arm/code-stubs-arm.h', -+ '../../src/arm/codegen-arm.cc', -+ '../../src/arm/codegen-arm.h', -+ '../../src/arm/constants-arm.h', -+ '../../src/arm/constants-arm.cc', -+ '../../src/arm/cpu-arm.cc', -+ '../../src/arm/deoptimizer-arm.cc', -+ '../../src/arm/disasm-arm.cc', -+ '../../src/arm/frames-arm.cc', -+ '../../src/arm/frames-arm.h', -+ '../../src/arm/interface-descriptors-arm.cc', -+ '../../src/arm/interface-descriptors-arm.h', -+ '../../src/arm/macro-assembler-arm.cc', -+ '../../src/arm/macro-assembler-arm.h', -+ '../../src/arm/simulator-arm.cc', -+ '../../src/arm/simulator-arm.h', -+ '../../src/compiler/arm/code-generator-arm.cc', -+ '../../src/compiler/arm/instruction-codes-arm.h', -+ '../../src/compiler/arm/instruction-scheduler-arm.cc', -+ '../../src/compiler/arm/instruction-selector-arm.cc', -+ '../../src/crankshaft/arm/lithium-arm.cc', -+ '../../src/crankshaft/arm/lithium-arm.h', -+ '../../src/crankshaft/arm/lithium-codegen-arm.cc', -+ '../../src/crankshaft/arm/lithium-codegen-arm.h', -+ '../../src/crankshaft/arm/lithium-gap-resolver-arm.cc', -+ '../../src/crankshaft/arm/lithium-gap-resolver-arm.h', -+ '../../src/debug/arm/debug-arm.cc', -+ '../../src/full-codegen/arm/full-codegen-arm.cc', -+ '../../src/ic/arm/access-compiler-arm.cc', -+ '../../src/ic/arm/handler-compiler-arm.cc', -+ '../../src/ic/arm/ic-arm.cc', -+ '../../src/ic/arm/ic-compiler-arm.cc', -+ '../../src/ic/arm/stub-cache-arm.cc', -+ '../../src/regexp/arm/regexp-macro-assembler-arm.cc', -+ '../../src/regexp/arm/regexp-macro-assembler-arm.h', ++ 'arm/assembler-arm-inl.h', ++ 'arm/assembler-arm.cc', ++ 'arm/assembler-arm.h', ++ 'arm/builtins-arm.cc', ++ 'arm/code-stubs-arm.cc', ++ 'arm/code-stubs-arm.h', ++ 'arm/codegen-arm.cc', ++ 'arm/codegen-arm.h', ++ 'arm/constants-arm.h', ++ 'arm/constants-arm.cc', ++ 'arm/cpu-arm.cc', ++ 'arm/deoptimizer-arm.cc', ++ 'arm/disasm-arm.cc', ++ 'arm/frames-arm.cc', ++ 'arm/frames-arm.h', ++ 'arm/interface-descriptors-arm.cc', ++ 'arm/interface-descriptors-arm.h', ++ 'arm/macro-assembler-arm.cc', ++ 'arm/macro-assembler-arm.h', ++ 'arm/simulator-arm.cc', ++ 'arm/simulator-arm.h', ++ 'compiler/arm/code-generator-arm.cc', ++ 'compiler/arm/instruction-codes-arm.h', ++ 'compiler/arm/instruction-scheduler-arm.cc', ++ 'compiler/arm/instruction-selector-arm.cc', ++ 'crankshaft/arm/lithium-arm.cc', ++ 'crankshaft/arm/lithium-arm.h', ++ 'crankshaft/arm/lithium-codegen-arm.cc', ++ 'crankshaft/arm/lithium-codegen-arm.h', ++ 'crankshaft/arm/lithium-gap-resolver-arm.cc', ++ 'crankshaft/arm/lithium-gap-resolver-arm.h', ++ 'debug/arm/debug-arm.cc', ++ 'full-codegen/arm/full-codegen-arm.cc', ++ 'ic/arm/access-compiler-arm.cc', ++ 'ic/arm/handler-compiler-arm.cc', ++ 'ic/arm/ic-arm.cc', ++ 'ic/arm/ic-compiler-arm.cc', ++ 'ic/arm/stub-cache-arm.cc', ++ 'regexp/arm/regexp-macro-assembler-arm.cc', ++ 'regexp/arm/regexp-macro-assembler-arm.h', + ], + }], + ['v8_target_arch=="arm64"', { + 'sources': [ ### gcmole(arch:arm64) ### -+ '../../src/arm64/assembler-arm64.cc', -+ '../../src/arm64/assembler-arm64.h', -+ '../../src/arm64/assembler-arm64-inl.h', -+ '../../src/arm64/builtins-arm64.cc', -+ '../../src/arm64/codegen-arm64.cc', -+ '../../src/arm64/codegen-arm64.h', -+ '../../src/arm64/code-stubs-arm64.cc', -+ '../../src/arm64/code-stubs-arm64.h', -+ '../../src/arm64/constants-arm64.h', -+ '../../src/arm64/cpu-arm64.cc', -+ '../../src/arm64/decoder-arm64.cc', -+ '../../src/arm64/decoder-arm64.h', -+ '../../src/arm64/decoder-arm64-inl.h', -+ '../../src/arm64/deoptimizer-arm64.cc', -+ '../../src/arm64/disasm-arm64.cc', -+ '../../src/arm64/disasm-arm64.h', -+ '../../src/arm64/frames-arm64.cc', -+ '../../src/arm64/frames-arm64.h', -+ '../../src/arm64/instructions-arm64.cc', -+ '../../src/arm64/instructions-arm64.h', -+ '../../src/arm64/instrument-arm64.cc', -+ '../../src/arm64/instrument-arm64.h', -+ '../../src/arm64/interface-descriptors-arm64.cc', -+ '../../src/arm64/interface-descriptors-arm64.h', -+ '../../src/arm64/macro-assembler-arm64.cc', -+ '../../src/arm64/macro-assembler-arm64.h', -+ '../../src/arm64/macro-assembler-arm64-inl.h', -+ '../../src/arm64/simulator-arm64.cc', -+ '../../src/arm64/simulator-arm64.h', -+ '../../src/arm64/utils-arm64.cc', -+ '../../src/arm64/utils-arm64.h', -+ '../../src/compiler/arm64/code-generator-arm64.cc', -+ '../../src/compiler/arm64/instruction-codes-arm64.h', -+ '../../src/compiler/arm64/instruction-scheduler-arm64.cc', -+ '../../src/compiler/arm64/instruction-selector-arm64.cc', -+ '../../src/crankshaft/arm64/delayed-masm-arm64.cc', -+ '../../src/crankshaft/arm64/delayed-masm-arm64.h', -+ '../../src/crankshaft/arm64/delayed-masm-arm64-inl.h', -+ '../../src/crankshaft/arm64/lithium-arm64.cc', -+ '../../src/crankshaft/arm64/lithium-arm64.h', -+ '../../src/crankshaft/arm64/lithium-codegen-arm64.cc', -+ '../../src/crankshaft/arm64/lithium-codegen-arm64.h', -+ '../../src/crankshaft/arm64/lithium-gap-resolver-arm64.cc', -+ '../../src/crankshaft/arm64/lithium-gap-resolver-arm64.h', -+ '../../src/debug/arm64/debug-arm64.cc', -+ '../../src/full-codegen/arm64/full-codegen-arm64.cc', -+ '../../src/ic/arm64/access-compiler-arm64.cc', -+ '../../src/ic/arm64/handler-compiler-arm64.cc', -+ '../../src/ic/arm64/ic-arm64.cc', -+ '../../src/ic/arm64/ic-compiler-arm64.cc', -+ '../../src/ic/arm64/stub-cache-arm64.cc', -+ '../../src/regexp/arm64/regexp-macro-assembler-arm64.cc', -+ '../../src/regexp/arm64/regexp-macro-assembler-arm64.h', ++ 'arm64/assembler-arm64.cc', ++ 'arm64/assembler-arm64.h', ++ 'arm64/assembler-arm64-inl.h', ++ 'arm64/builtins-arm64.cc', ++ 'arm64/codegen-arm64.cc', ++ 'arm64/codegen-arm64.h', ++ 'arm64/code-stubs-arm64.cc', ++ 'arm64/code-stubs-arm64.h', ++ 'arm64/constants-arm64.h', ++ 'arm64/cpu-arm64.cc', ++ 'arm64/decoder-arm64.cc', ++ 'arm64/decoder-arm64.h', ++ 'arm64/decoder-arm64-inl.h', ++ 'arm64/deoptimizer-arm64.cc', ++ 'arm64/disasm-arm64.cc', ++ 'arm64/disasm-arm64.h', ++ 'arm64/frames-arm64.cc', ++ 'arm64/frames-arm64.h', ++ 'arm64/instructions-arm64.cc', ++ 'arm64/instructions-arm64.h', ++ 'arm64/instrument-arm64.cc', ++ 'arm64/instrument-arm64.h', ++ 'arm64/interface-descriptors-arm64.cc', ++ 'arm64/interface-descriptors-arm64.h', ++ 'arm64/macro-assembler-arm64.cc', ++ 'arm64/macro-assembler-arm64.h', ++ 'arm64/macro-assembler-arm64-inl.h', ++ 'arm64/simulator-arm64.cc', ++ 'arm64/simulator-arm64.h', ++ 'arm64/utils-arm64.cc', ++ 'arm64/utils-arm64.h', ++ 'compiler/arm64/code-generator-arm64.cc', ++ 'compiler/arm64/instruction-codes-arm64.h', ++ 'compiler/arm64/instruction-scheduler-arm64.cc', ++ 'compiler/arm64/instruction-selector-arm64.cc', ++ 'crankshaft/arm64/delayed-masm-arm64.cc', ++ 'crankshaft/arm64/delayed-masm-arm64.h', ++ 'crankshaft/arm64/delayed-masm-arm64-inl.h', ++ 'crankshaft/arm64/lithium-arm64.cc', ++ 'crankshaft/arm64/lithium-arm64.h', ++ 'crankshaft/arm64/lithium-codegen-arm64.cc', ++ 'crankshaft/arm64/lithium-codegen-arm64.h', ++ 'crankshaft/arm64/lithium-gap-resolver-arm64.cc', ++ 'crankshaft/arm64/lithium-gap-resolver-arm64.h', ++ 'debug/arm64/debug-arm64.cc', ++ 'full-codegen/arm64/full-codegen-arm64.cc', ++ 'ic/arm64/access-compiler-arm64.cc', ++ 'ic/arm64/handler-compiler-arm64.cc', ++ 'ic/arm64/ic-arm64.cc', ++ 'ic/arm64/ic-compiler-arm64.cc', ++ 'ic/arm64/stub-cache-arm64.cc', ++ 'regexp/arm64/regexp-macro-assembler-arm64.cc', ++ 'regexp/arm64/regexp-macro-assembler-arm64.h', + ], + }], + ['v8_target_arch=="ia32"', { + 'sources': [ ### gcmole(arch:ia32) ### -+ '../../src/ia32/assembler-ia32-inl.h', -+ '../../src/ia32/assembler-ia32.cc', -+ '../../src/ia32/assembler-ia32.h', -+ '../../src/ia32/builtins-ia32.cc', -+ '../../src/ia32/code-stubs-ia32.cc', -+ '../../src/ia32/code-stubs-ia32.h', -+ '../../src/ia32/codegen-ia32.cc', -+ '../../src/ia32/codegen-ia32.h', -+ '../../src/ia32/cpu-ia32.cc', -+ '../../src/ia32/deoptimizer-ia32.cc', -+ '../../src/ia32/disasm-ia32.cc', -+ '../../src/ia32/frames-ia32.cc', -+ '../../src/ia32/frames-ia32.h', -+ '../../src/ia32/interface-descriptors-ia32.cc', -+ '../../src/ia32/macro-assembler-ia32.cc', -+ '../../src/ia32/macro-assembler-ia32.h', -+ '../../src/compiler/ia32/code-generator-ia32.cc', -+ '../../src/compiler/ia32/instruction-codes-ia32.h', -+ '../../src/compiler/ia32/instruction-scheduler-ia32.cc', -+ '../../src/compiler/ia32/instruction-selector-ia32.cc', -+ '../../src/crankshaft/ia32/lithium-codegen-ia32.cc', -+ '../../src/crankshaft/ia32/lithium-codegen-ia32.h', -+ '../../src/crankshaft/ia32/lithium-gap-resolver-ia32.cc', -+ '../../src/crankshaft/ia32/lithium-gap-resolver-ia32.h', -+ '../../src/crankshaft/ia32/lithium-ia32.cc', -+ '../../src/crankshaft/ia32/lithium-ia32.h', -+ '../../src/debug/ia32/debug-ia32.cc', -+ '../../src/full-codegen/ia32/full-codegen-ia32.cc', -+ '../../src/ic/ia32/access-compiler-ia32.cc', -+ '../../src/ic/ia32/handler-compiler-ia32.cc', -+ '../../src/ic/ia32/ic-ia32.cc', -+ '../../src/ic/ia32/ic-compiler-ia32.cc', -+ '../../src/ic/ia32/stub-cache-ia32.cc', -+ '../../src/regexp/ia32/regexp-macro-assembler-ia32.cc', -+ '../../src/regexp/ia32/regexp-macro-assembler-ia32.h', ++ 'ia32/assembler-ia32-inl.h', ++ 'ia32/assembler-ia32.cc', ++ 'ia32/assembler-ia32.h', ++ 'ia32/builtins-ia32.cc', ++ 'ia32/code-stubs-ia32.cc', ++ 'ia32/code-stubs-ia32.h', ++ 'ia32/codegen-ia32.cc', ++ 'ia32/codegen-ia32.h', ++ 'ia32/cpu-ia32.cc', ++ 'ia32/deoptimizer-ia32.cc', ++ 'ia32/disasm-ia32.cc', ++ 'ia32/frames-ia32.cc', ++ 'ia32/frames-ia32.h', ++ 'ia32/interface-descriptors-ia32.cc', ++ 'ia32/macro-assembler-ia32.cc', ++ 'ia32/macro-assembler-ia32.h', ++ 'compiler/ia32/code-generator-ia32.cc', ++ 'compiler/ia32/instruction-codes-ia32.h', ++ 'compiler/ia32/instruction-scheduler-ia32.cc', ++ 'compiler/ia32/instruction-selector-ia32.cc', ++ 'crankshaft/ia32/lithium-codegen-ia32.cc', ++ 'crankshaft/ia32/lithium-codegen-ia32.h', ++ 'crankshaft/ia32/lithium-gap-resolver-ia32.cc', ++ 'crankshaft/ia32/lithium-gap-resolver-ia32.h', ++ 'crankshaft/ia32/lithium-ia32.cc', ++ 'crankshaft/ia32/lithium-ia32.h', ++ 'debug/ia32/debug-ia32.cc', ++ 'full-codegen/ia32/full-codegen-ia32.cc', ++ 'ic/ia32/access-compiler-ia32.cc', ++ 'ic/ia32/handler-compiler-ia32.cc', ++ 'ic/ia32/ic-ia32.cc', ++ 'ic/ia32/ic-compiler-ia32.cc', ++ 'ic/ia32/stub-cache-ia32.cc', ++ 'regexp/ia32/regexp-macro-assembler-ia32.cc', ++ 'regexp/ia32/regexp-macro-assembler-ia32.h', + ], + }], + ['v8_target_arch=="x87"', { + 'sources': [ ### gcmole(arch:x87) ### -+ '../../src/x87/assembler-x87-inl.h', -+ '../../src/x87/assembler-x87.cc', -+ '../../src/x87/assembler-x87.h', -+ '../../src/x87/builtins-x87.cc', -+ '../../src/x87/code-stubs-x87.cc', -+ '../../src/x87/code-stubs-x87.h', -+ '../../src/x87/codegen-x87.cc', -+ '../../src/x87/codegen-x87.h', -+ '../../src/x87/cpu-x87.cc', -+ '../../src/x87/deoptimizer-x87.cc', -+ '../../src/x87/disasm-x87.cc', -+ '../../src/x87/frames-x87.cc', -+ '../../src/x87/frames-x87.h', -+ '../../src/x87/interface-descriptors-x87.cc', -+ '../../src/x87/macro-assembler-x87.cc', -+ '../../src/x87/macro-assembler-x87.h', -+ '../../src/compiler/x87/code-generator-x87.cc', -+ '../../src/compiler/x87/instruction-codes-x87.h', -+ '../../src/compiler/x87/instruction-scheduler-x87.cc', -+ '../../src/compiler/x87/instruction-selector-x87.cc', -+ '../../src/crankshaft/x87/lithium-codegen-x87.cc', -+ '../../src/crankshaft/x87/lithium-codegen-x87.h', -+ '../../src/crankshaft/x87/lithium-gap-resolver-x87.cc', -+ '../../src/crankshaft/x87/lithium-gap-resolver-x87.h', -+ '../../src/crankshaft/x87/lithium-x87.cc', -+ '../../src/crankshaft/x87/lithium-x87.h', -+ '../../src/debug/x87/debug-x87.cc', -+ '../../src/full-codegen/x87/full-codegen-x87.cc', -+ '../../src/ic/x87/access-compiler-x87.cc', -+ '../../src/ic/x87/handler-compiler-x87.cc', -+ '../../src/ic/x87/ic-x87.cc', -+ '../../src/ic/x87/ic-compiler-x87.cc', -+ '../../src/ic/x87/stub-cache-x87.cc', -+ '../../src/regexp/x87/regexp-macro-assembler-x87.cc', -+ '../../src/regexp/x87/regexp-macro-assembler-x87.h', ++ 'x87/assembler-x87-inl.h', ++ 'x87/assembler-x87.cc', ++ 'x87/assembler-x87.h', ++ 'x87/builtins-x87.cc', ++ 'x87/code-stubs-x87.cc', ++ 'x87/code-stubs-x87.h', ++ 'x87/codegen-x87.cc', ++ 'x87/codegen-x87.h', ++ 'x87/cpu-x87.cc', ++ 'x87/deoptimizer-x87.cc', ++ 'x87/disasm-x87.cc', ++ 'x87/frames-x87.cc', ++ 'x87/frames-x87.h', ++ 'x87/interface-descriptors-x87.cc', ++ 'x87/macro-assembler-x87.cc', ++ 'x87/macro-assembler-x87.h', ++ 'compiler/x87/code-generator-x87.cc', ++ 'compiler/x87/instruction-codes-x87.h', ++ 'compiler/x87/instruction-scheduler-x87.cc', ++ 'compiler/x87/instruction-selector-x87.cc', ++ 'crankshaft/x87/lithium-codegen-x87.cc', ++ 'crankshaft/x87/lithium-codegen-x87.h', ++ 'crankshaft/x87/lithium-gap-resolver-x87.cc', ++ 'crankshaft/x87/lithium-gap-resolver-x87.h', ++ 'crankshaft/x87/lithium-x87.cc', ++ 'crankshaft/x87/lithium-x87.h', ++ 'debug/x87/debug-x87.cc', ++ 'full-codegen/x87/full-codegen-x87.cc', ++ 'ic/x87/access-compiler-x87.cc', ++ 'ic/x87/handler-compiler-x87.cc', ++ 'ic/x87/ic-x87.cc', ++ 'ic/x87/ic-compiler-x87.cc', ++ 'ic/x87/stub-cache-x87.cc', ++ 'regexp/x87/regexp-macro-assembler-x87.cc', ++ 'regexp/x87/regexp-macro-assembler-x87.h', + ], + }], + ['v8_target_arch=="mips" or v8_target_arch=="mipsel"', { + 'sources': [ ### gcmole(arch:mipsel) ### -+ '../../src/mips/assembler-mips.cc', -+ '../../src/mips/assembler-mips.h', -+ '../../src/mips/assembler-mips-inl.h', -+ '../../src/mips/builtins-mips.cc', -+ '../../src/mips/codegen-mips.cc', -+ '../../src/mips/codegen-mips.h', -+ '../../src/mips/code-stubs-mips.cc', -+ '../../src/mips/code-stubs-mips.h', -+ '../../src/mips/constants-mips.cc', -+ '../../src/mips/constants-mips.h', -+ '../../src/mips/cpu-mips.cc', -+ '../../src/mips/deoptimizer-mips.cc', -+ '../../src/mips/disasm-mips.cc', -+ '../../src/mips/frames-mips.cc', -+ '../../src/mips/frames-mips.h', -+ '../../src/mips/interface-descriptors-mips.cc', -+ '../../src/mips/macro-assembler-mips.cc', -+ '../../src/mips/macro-assembler-mips.h', -+ '../../src/mips/simulator-mips.cc', -+ '../../src/mips/simulator-mips.h', -+ '../../src/compiler/mips/code-generator-mips.cc', -+ '../../src/compiler/mips/instruction-codes-mips.h', -+ '../../src/compiler/mips/instruction-scheduler-mips.cc', -+ '../../src/compiler/mips/instruction-selector-mips.cc', -+ '../../src/crankshaft/mips/lithium-codegen-mips.cc', -+ '../../src/crankshaft/mips/lithium-codegen-mips.h', -+ '../../src/crankshaft/mips/lithium-gap-resolver-mips.cc', -+ '../../src/crankshaft/mips/lithium-gap-resolver-mips.h', -+ '../../src/crankshaft/mips/lithium-mips.cc', -+ '../../src/crankshaft/mips/lithium-mips.h', -+ '../../src/full-codegen/mips/full-codegen-mips.cc', -+ '../../src/debug/mips/debug-mips.cc', -+ '../../src/ic/mips/access-compiler-mips.cc', -+ '../../src/ic/mips/handler-compiler-mips.cc', -+ '../../src/ic/mips/ic-mips.cc', -+ '../../src/ic/mips/ic-compiler-mips.cc', -+ '../../src/ic/mips/stub-cache-mips.cc', -+ '../../src/regexp/mips/regexp-macro-assembler-mips.cc', -+ '../../src/regexp/mips/regexp-macro-assembler-mips.h', ++ 'mips/assembler-mips.cc', ++ 'mips/assembler-mips.h', ++ 'mips/assembler-mips-inl.h', ++ 'mips/builtins-mips.cc', ++ 'mips/codegen-mips.cc', ++ 'mips/codegen-mips.h', ++ 'mips/code-stubs-mips.cc', ++ 'mips/code-stubs-mips.h', ++ 'mips/constants-mips.cc', ++ 'mips/constants-mips.h', ++ 'mips/cpu-mips.cc', ++ 'mips/deoptimizer-mips.cc', ++ 'mips/disasm-mips.cc', ++ 'mips/frames-mips.cc', ++ 'mips/frames-mips.h', ++ 'mips/interface-descriptors-mips.cc', ++ 'mips/macro-assembler-mips.cc', ++ 'mips/macro-assembler-mips.h', ++ 'mips/simulator-mips.cc', ++ 'mips/simulator-mips.h', ++ 'compiler/mips/code-generator-mips.cc', ++ 'compiler/mips/instruction-codes-mips.h', ++ 'compiler/mips/instruction-scheduler-mips.cc', ++ 'compiler/mips/instruction-selector-mips.cc', ++ 'crankshaft/mips/lithium-codegen-mips.cc', ++ 'crankshaft/mips/lithium-codegen-mips.h', ++ 'crankshaft/mips/lithium-gap-resolver-mips.cc', ++ 'crankshaft/mips/lithium-gap-resolver-mips.h', ++ 'crankshaft/mips/lithium-mips.cc', ++ 'crankshaft/mips/lithium-mips.h', ++ 'full-codegen/mips/full-codegen-mips.cc', ++ 'debug/mips/debug-mips.cc', ++ 'ic/mips/access-compiler-mips.cc', ++ 'ic/mips/handler-compiler-mips.cc', ++ 'ic/mips/ic-mips.cc', ++ 'ic/mips/ic-compiler-mips.cc', ++ 'ic/mips/stub-cache-mips.cc', ++ 'regexp/mips/regexp-macro-assembler-mips.cc', ++ 'regexp/mips/regexp-macro-assembler-mips.h', + ], + }], + ['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', { + 'sources': [ ### gcmole(arch:mips64el) ### -+ '../../src/mips64/assembler-mips64.cc', -+ '../../src/mips64/assembler-mips64.h', -+ '../../src/mips64/assembler-mips64-inl.h', -+ '../../src/mips64/builtins-mips64.cc', -+ '../../src/mips64/codegen-mips64.cc', -+ '../../src/mips64/codegen-mips64.h', -+ '../../src/mips64/code-stubs-mips64.cc', -+ '../../src/mips64/code-stubs-mips64.h', -+ '../../src/mips64/constants-mips64.cc', -+ '../../src/mips64/constants-mips64.h', -+ '../../src/mips64/cpu-mips64.cc', -+ '../../src/mips64/deoptimizer-mips64.cc', -+ '../../src/mips64/disasm-mips64.cc', -+ '../../src/mips64/frames-mips64.cc', -+ '../../src/mips64/frames-mips64.h', -+ '../../src/mips64/interface-descriptors-mips64.cc', -+ '../../src/mips64/macro-assembler-mips64.cc', -+ '../../src/mips64/macro-assembler-mips64.h', -+ '../../src/mips64/simulator-mips64.cc', -+ '../../src/mips64/simulator-mips64.h', -+ '../../src/compiler/mips64/code-generator-mips64.cc', -+ '../../src/compiler/mips64/instruction-codes-mips64.h', -+ '../../src/compiler/mips64/instruction-scheduler-mips64.cc', -+ '../../src/compiler/mips64/instruction-selector-mips64.cc', -+ '../../src/crankshaft/mips64/lithium-codegen-mips64.cc', -+ '../../src/crankshaft/mips64/lithium-codegen-mips64.h', -+ '../../src/crankshaft/mips64/lithium-gap-resolver-mips64.cc', -+ '../../src/crankshaft/mips64/lithium-gap-resolver-mips64.h', -+ '../../src/crankshaft/mips64/lithium-mips64.cc', -+ '../../src/crankshaft/mips64/lithium-mips64.h', -+ '../../src/debug/mips64/debug-mips64.cc', -+ '../../src/full-codegen/mips64/full-codegen-mips64.cc', -+ '../../src/ic/mips64/access-compiler-mips64.cc', -+ '../../src/ic/mips64/handler-compiler-mips64.cc', -+ '../../src/ic/mips64/ic-mips64.cc', -+ '../../src/ic/mips64/ic-compiler-mips64.cc', -+ '../../src/ic/mips64/stub-cache-mips64.cc', -+ '../../src/regexp/mips64/regexp-macro-assembler-mips64.cc', -+ '../../src/regexp/mips64/regexp-macro-assembler-mips64.h', ++ 'mips64/assembler-mips64.cc', ++ 'mips64/assembler-mips64.h', ++ 'mips64/assembler-mips64-inl.h', ++ 'mips64/builtins-mips64.cc', ++ 'mips64/codegen-mips64.cc', ++ 'mips64/codegen-mips64.h', ++ 'mips64/code-stubs-mips64.cc', ++ 'mips64/code-stubs-mips64.h', ++ 'mips64/constants-mips64.cc', ++ 'mips64/constants-mips64.h', ++ 'mips64/cpu-mips64.cc', ++ 'mips64/deoptimizer-mips64.cc', ++ 'mips64/disasm-mips64.cc', ++ 'mips64/frames-mips64.cc', ++ 'mips64/frames-mips64.h', ++ 'mips64/interface-descriptors-mips64.cc', ++ 'mips64/macro-assembler-mips64.cc', ++ 'mips64/macro-assembler-mips64.h', ++ 'mips64/simulator-mips64.cc', ++ 'mips64/simulator-mips64.h', ++ 'compiler/mips64/code-generator-mips64.cc', ++ 'compiler/mips64/instruction-codes-mips64.h', ++ 'compiler/mips64/instruction-scheduler-mips64.cc', ++ 'compiler/mips64/instruction-selector-mips64.cc', ++ 'crankshaft/mips64/lithium-codegen-mips64.cc', ++ 'crankshaft/mips64/lithium-codegen-mips64.h', ++ 'crankshaft/mips64/lithium-gap-resolver-mips64.cc', ++ 'crankshaft/mips64/lithium-gap-resolver-mips64.h', ++ 'crankshaft/mips64/lithium-mips64.cc', ++ 'crankshaft/mips64/lithium-mips64.h', ++ 'debug/mips64/debug-mips64.cc', ++ 'full-codegen/mips64/full-codegen-mips64.cc', ++ 'ic/mips64/access-compiler-mips64.cc', ++ 'ic/mips64/handler-compiler-mips64.cc', ++ 'ic/mips64/ic-mips64.cc', ++ 'ic/mips64/ic-compiler-mips64.cc', ++ 'ic/mips64/stub-cache-mips64.cc', ++ 'regexp/mips64/regexp-macro-assembler-mips64.cc', ++ 'regexp/mips64/regexp-macro-assembler-mips64.h', + ], + }], + ['v8_target_arch=="x64" or v8_target_arch=="x32"', { + 'sources': [ ### gcmole(arch:x64) ### -+ '../../src/crankshaft/x64/lithium-codegen-x64.cc', -+ '../../src/crankshaft/x64/lithium-codegen-x64.h', -+ '../../src/crankshaft/x64/lithium-gap-resolver-x64.cc', -+ '../../src/crankshaft/x64/lithium-gap-resolver-x64.h', -+ '../../src/crankshaft/x64/lithium-x64.cc', -+ '../../src/crankshaft/x64/lithium-x64.h', -+ '../../src/x64/assembler-x64-inl.h', -+ '../../src/x64/assembler-x64.cc', -+ '../../src/x64/assembler-x64.h', -+ '../../src/x64/builtins-x64.cc', -+ '../../src/x64/code-stubs-x64.cc', -+ '../../src/x64/code-stubs-x64.h', -+ '../../src/x64/codegen-x64.cc', -+ '../../src/x64/codegen-x64.h', -+ '../../src/x64/cpu-x64.cc', -+ '../../src/x64/deoptimizer-x64.cc', -+ '../../src/x64/disasm-x64.cc', -+ '../../src/x64/frames-x64.cc', -+ '../../src/x64/frames-x64.h', -+ '../../src/x64/interface-descriptors-x64.cc', -+ '../../src/x64/macro-assembler-x64.cc', -+ '../../src/x64/macro-assembler-x64.h', -+ '../../src/debug/x64/debug-x64.cc', -+ '../../src/full-codegen/x64/full-codegen-x64.cc', -+ '../../src/ic/x64/access-compiler-x64.cc', -+ '../../src/ic/x64/handler-compiler-x64.cc', -+ '../../src/ic/x64/ic-x64.cc', -+ '../../src/ic/x64/ic-compiler-x64.cc', -+ '../../src/ic/x64/stub-cache-x64.cc', -+ '../../src/regexp/x64/regexp-macro-assembler-x64.cc', -+ '../../src/regexp/x64/regexp-macro-assembler-x64.h', ++ 'crankshaft/x64/lithium-codegen-x64.cc', ++ 'crankshaft/x64/lithium-codegen-x64.h', ++ 'crankshaft/x64/lithium-gap-resolver-x64.cc', ++ 'crankshaft/x64/lithium-gap-resolver-x64.h', ++ 'crankshaft/x64/lithium-x64.cc', ++ 'crankshaft/x64/lithium-x64.h', ++ 'x64/assembler-x64-inl.h', ++ 'x64/assembler-x64.cc', ++ 'x64/assembler-x64.h', ++ 'x64/builtins-x64.cc', ++ 'x64/code-stubs-x64.cc', ++ 'x64/code-stubs-x64.h', ++ 'x64/codegen-x64.cc', ++ 'x64/codegen-x64.h', ++ 'x64/cpu-x64.cc', ++ 'x64/deoptimizer-x64.cc', ++ 'x64/disasm-x64.cc', ++ 'x64/frames-x64.cc', ++ 'x64/frames-x64.h', ++ 'x64/interface-descriptors-x64.cc', ++ 'x64/macro-assembler-x64.cc', ++ 'x64/macro-assembler-x64.h', ++ 'debug/x64/debug-x64.cc', ++ 'full-codegen/x64/full-codegen-x64.cc', ++ 'ic/x64/access-compiler-x64.cc', ++ 'ic/x64/handler-compiler-x64.cc', ++ 'ic/x64/ic-x64.cc', ++ 'ic/x64/ic-compiler-x64.cc', ++ 'ic/x64/stub-cache-x64.cc', ++ 'regexp/x64/regexp-macro-assembler-x64.cc', ++ 'regexp/x64/regexp-macro-assembler-x64.h', + ], + }], + ['v8_target_arch=="x64"', { + 'sources': [ -+ '../../src/compiler/x64/code-generator-x64.cc', -+ '../../src/compiler/x64/instruction-codes-x64.h', -+ '../../src/compiler/x64/instruction-scheduler-x64.cc', -+ '../../src/compiler/x64/instruction-selector-x64.cc', ++ 'compiler/x64/code-generator-x64.cc', ++ 'compiler/x64/instruction-codes-x64.h', ++ 'compiler/x64/instruction-scheduler-x64.cc', ++ 'compiler/x64/instruction-selector-x64.cc', + ], + }], + ['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', { + 'sources': [ ### gcmole(arch:ppc) ### -+ '../../src/compiler/ppc/code-generator-ppc.cc', -+ '../../src/compiler/ppc/instruction-codes-ppc.h', -+ '../../src/compiler/ppc/instruction-scheduler-ppc.cc', -+ '../../src/compiler/ppc/instruction-selector-ppc.cc', -+ '../../src/crankshaft/ppc/lithium-ppc.cc', -+ '../../src/crankshaft/ppc/lithium-ppc.h', -+ '../../src/crankshaft/ppc/lithium-codegen-ppc.cc', -+ '../../src/crankshaft/ppc/lithium-codegen-ppc.h', -+ '../../src/crankshaft/ppc/lithium-gap-resolver-ppc.cc', -+ '../../src/crankshaft/ppc/lithium-gap-resolver-ppc.h', -+ '../../src/debug/ppc/debug-ppc.cc', -+ '../../src/full-codegen/ppc/full-codegen-ppc.cc', -+ '../../src/ic/ppc/access-compiler-ppc.cc', -+ '../../src/ic/ppc/handler-compiler-ppc.cc', -+ '../../src/ic/ppc/ic-ppc.cc', -+ '../../src/ic/ppc/ic-compiler-ppc.cc', -+ '../../src/ic/ppc/stub-cache-ppc.cc', -+ '../../src/ppc/assembler-ppc-inl.h', -+ '../../src/ppc/assembler-ppc.cc', -+ '../../src/ppc/assembler-ppc.h', -+ '../../src/ppc/builtins-ppc.cc', -+ '../../src/ppc/code-stubs-ppc.cc', -+ '../../src/ppc/code-stubs-ppc.h', -+ '../../src/ppc/codegen-ppc.cc', -+ '../../src/ppc/codegen-ppc.h', -+ '../../src/ppc/constants-ppc.h', -+ '../../src/ppc/constants-ppc.cc', -+ '../../src/ppc/cpu-ppc.cc', -+ '../../src/ppc/deoptimizer-ppc.cc', -+ '../../src/ppc/disasm-ppc.cc', -+ '../../src/ppc/frames-ppc.cc', -+ '../../src/ppc/frames-ppc.h', -+ '../../src/ppc/interface-descriptors-ppc.cc', -+ '../../src/ppc/interface-descriptors-ppc.h', -+ '../../src/ppc/macro-assembler-ppc.cc', -+ '../../src/ppc/macro-assembler-ppc.h', -+ '../../src/ppc/simulator-ppc.cc', -+ '../../src/ppc/simulator-ppc.h', -+ '../../src/regexp/ppc/regexp-macro-assembler-ppc.cc', -+ '../../src/regexp/ppc/regexp-macro-assembler-ppc.h', ++ 'compiler/ppc/code-generator-ppc.cc', ++ 'compiler/ppc/instruction-codes-ppc.h', ++ 'compiler/ppc/instruction-scheduler-ppc.cc', ++ 'compiler/ppc/instruction-selector-ppc.cc', ++ 'crankshaft/ppc/lithium-ppc.cc', ++ 'crankshaft/ppc/lithium-ppc.h', ++ 'crankshaft/ppc/lithium-codegen-ppc.cc', ++ 'crankshaft/ppc/lithium-codegen-ppc.h', ++ 'crankshaft/ppc/lithium-gap-resolver-ppc.cc', ++ 'crankshaft/ppc/lithium-gap-resolver-ppc.h', ++ 'debug/ppc/debug-ppc.cc', ++ 'full-codegen/ppc/full-codegen-ppc.cc', ++ 'ic/ppc/access-compiler-ppc.cc', ++ 'ic/ppc/handler-compiler-ppc.cc', ++ 'ic/ppc/ic-ppc.cc', ++ 'ic/ppc/ic-compiler-ppc.cc', ++ 'ic/ppc/stub-cache-ppc.cc', ++ 'ppc/assembler-ppc-inl.h', ++ 'ppc/assembler-ppc.cc', ++ 'ppc/assembler-ppc.h', ++ 'ppc/builtins-ppc.cc', ++ 'ppc/code-stubs-ppc.cc', ++ 'ppc/code-stubs-ppc.h', ++ 'ppc/codegen-ppc.cc', ++ 'ppc/codegen-ppc.h', ++ 'ppc/constants-ppc.h', ++ 'ppc/constants-ppc.cc', ++ 'ppc/cpu-ppc.cc', ++ 'ppc/deoptimizer-ppc.cc', ++ 'ppc/disasm-ppc.cc', ++ 'ppc/frames-ppc.cc', ++ 'ppc/frames-ppc.h', ++ 'ppc/interface-descriptors-ppc.cc', ++ 'ppc/macro-assembler-ppc.cc', ++ 'ppc/macro-assembler-ppc.h', ++ 'ppc/simulator-ppc.cc', ++ 'ppc/simulator-ppc.h', ++ 'regexp/ppc/regexp-macro-assembler-ppc.cc', ++ 'regexp/ppc/regexp-macro-assembler-ppc.h', ++ ], ++ }], ++ ['v8_target_arch=="s390" or v8_target_arch=="s390x"', { ++ 'sources': [ ### gcmole(arch:s390) ### ++ 'compiler/s390/code-generator-s390.cc', ++ 'compiler/s390/instruction-codes-s390.h', ++ 'compiler/s390/instruction-scheduler-s390.cc', ++ 'compiler/s390/instruction-selector-s390.cc', ++ 'crankshaft/s390/lithium-codegen-s390.cc', ++ 'crankshaft/s390/lithium-codegen-s390.h', ++ 'crankshaft/s390/lithium-gap-resolver-s390.cc', ++ 'crankshaft/s390/lithium-gap-resolver-s390.h', ++ 'crankshaft/s390/lithium-s390.cc', ++ 'crankshaft/s390/lithium-s390.h', ++ 'debug/s390/debug-s390.cc', ++ 'full-codegen/s390/full-codegen-s390.cc', ++ 'ic/s390/access-compiler-s390.cc', ++ 'ic/s390/handler-compiler-s390.cc', ++ 'ic/s390/ic-compiler-s390.cc', ++ 'ic/s390/ic-s390.cc', ++ 'ic/s390/stub-cache-s390.cc', ++ 'regexp/s390/regexp-macro-assembler-s390.cc', ++ 'regexp/s390/regexp-macro-assembler-s390.h', ++ 's390/assembler-s390.cc', ++ 's390/assembler-s390.h', ++ 's390/assembler-s390-inl.h', ++ 's390/builtins-s390.cc', ++ 's390/codegen-s390.cc', ++ 's390/codegen-s390.h', ++ 's390/code-stubs-s390.cc', ++ 's390/code-stubs-s390.h', ++ 's390/constants-s390.cc', ++ 's390/constants-s390.h', ++ 's390/cpu-s390.cc', ++ 's390/deoptimizer-s390.cc', ++ 's390/disasm-s390.cc', ++ 's390/frames-s390.cc', ++ 's390/frames-s390.h', ++ 's390/interface-descriptors-s390.cc', ++ 's390/macro-assembler-s390.cc', ++ 's390/macro-assembler-s390.h', ++ 's390/simulator-s390.cc', ++ 's390/simulator-s390.h', + ], + }], + ['OS=="win"', { @@ -4449,11 +4571,24 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'dependencies': [ + '<(icu_gyp_path):icui18n', + '<(icu_gyp_path):icuuc', -+ ] ++ ], ++ 'conditions': [ ++ ['icu_use_data_file_flag==1', { ++ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], ++ }, { # else icu_use_data_file_flag !=1 ++ 'conditions': [ ++ ['OS=="win"', { ++ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], ++ }, { ++ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], ++ }], ++ ], ++ }], ++ ], + }, { # v8_enable_i18n_support==0 + 'sources!': [ -+ '../../src/i18n.cc', -+ '../../src/i18n.h', ++ 'i18n.cc', ++ 'i18n.h', + ], + }], + ['OS=="win" and v8_enable_i18n_support==1', { @@ -4461,17 +4596,6 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '<(icu_gyp_path):icudata', + ], + }], -+ ['icu_use_data_file_flag==1', { -+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE'], -+ }, { # else icu_use_data_file_flag !=1 -+ 'conditions': [ -+ ['OS=="win"', { -+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_SHARED'], -+ }, { -+ 'defines': ['ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC'], -+ }], -+ ], -+ }], + ], + }, + { @@ -4481,60 +4605,70 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'optimize': 'max', + }, + 'include_dirs+': [ -+ '../..', ++ '..', + ], + 'sources': [ -+ '../../src/base/adapters.h', -+ '../../src/base/atomicops.h', -+ '../../src/base/atomicops_internals_arm64_gcc.h', -+ '../../src/base/atomicops_internals_arm_gcc.h', -+ '../../src/base/atomicops_internals_atomicword_compat.h', -+ '../../src/base/atomicops_internals_mac.h', -+ '../../src/base/atomicops_internals_mips_gcc.h', -+ '../../src/base/atomicops_internals_mips64_gcc.h', -+ '../../src/base/atomicops_internals_portable.h', -+ '../../src/base/atomicops_internals_ppc_gcc.h', -+ '../../src/base/atomicops_internals_tsan.h', -+ '../../src/base/atomicops_internals_x86_gcc.cc', -+ '../../src/base/atomicops_internals_x86_gcc.h', -+ '../../src/base/atomicops_internals_x86_msvc.h', -+ '../../src/base/bits.cc', -+ '../../src/base/bits.h', -+ '../../src/base/build_config.h', -+ '../../src/base/compiler-specific.h', -+ '../../src/base/cpu.cc', -+ '../../src/base/cpu.h', -+ '../../src/base/division-by-constant.cc', -+ '../../src/base/division-by-constant.h', -+ '../../src/base/flags.h', -+ '../../src/base/functional.cc', -+ '../../src/base/functional.h', -+ '../../src/base/iterator.h', -+ '../../src/base/lazy-instance.h', -+ '../../src/base/logging.cc', -+ '../../src/base/logging.h', -+ '../../src/base/macros.h', -+ '../../src/base/once.cc', -+ '../../src/base/once.h', -+ '../../src/base/platform/elapsed-timer.h', -+ '../../src/base/platform/time.cc', -+ '../../src/base/platform/time.h', -+ '../../src/base/platform/condition-variable.cc', -+ '../../src/base/platform/condition-variable.h', -+ '../../src/base/platform/mutex.cc', -+ '../../src/base/platform/mutex.h', -+ '../../src/base/platform/platform.h', -+ '../../src/base/platform/semaphore.cc', -+ '../../src/base/platform/semaphore.h', -+ '../../src/base/safe_conversions.h', -+ '../../src/base/safe_conversions_impl.h', -+ '../../src/base/safe_math.h', -+ '../../src/base/safe_math_impl.h', -+ '../../src/base/smart-pointers.h', -+ '../../src/base/sys-info.cc', -+ '../../src/base/sys-info.h', -+ '../../src/base/utils/random-number-generator.cc', -+ '../../src/base/utils/random-number-generator.h', ++ 'base/accounting-allocator.cc', ++ 'base/accounting-allocator.h', ++ 'base/adapters.h', ++ 'base/atomic-utils.h', ++ 'base/atomicops.h', ++ 'base/atomicops_internals_arm64_gcc.h', ++ 'base/atomicops_internals_arm_gcc.h', ++ 'base/atomicops_internals_atomicword_compat.h', ++ 'base/atomicops_internals_mac.h', ++ 'base/atomicops_internals_mips_gcc.h', ++ 'base/atomicops_internals_mips64_gcc.h', ++ 'base/atomicops_internals_portable.h', ++ 'base/atomicops_internals_ppc_gcc.h', ++ 'base/atomicops_internals_s390_gcc.h', ++ 'base/atomicops_internals_tsan.h', ++ 'base/atomicops_internals_x86_gcc.cc', ++ 'base/atomicops_internals_x86_gcc.h', ++ 'base/atomicops_internals_x86_msvc.h', ++ 'base/bits.cc', ++ 'base/bits.h', ++ 'base/build_config.h', ++ 'base/compiler-specific.h', ++ 'base/cpu.cc', ++ 'base/cpu.h', ++ 'base/division-by-constant.cc', ++ 'base/division-by-constant.h', ++ 'base/file-utils.cc', ++ 'base/file-utils.h', ++ 'base/flags.h', ++ 'base/format-macros.h', ++ 'base/functional.cc', ++ 'base/functional.h', ++ 'base/hashmap.h', ++ 'base/ieee754.cc', ++ 'base/ieee754.h', ++ 'base/iterator.h', ++ 'base/lazy-instance.h', ++ 'base/logging.cc', ++ 'base/logging.h', ++ 'base/macros.h', ++ 'base/once.cc', ++ 'base/once.h', ++ 'base/platform/elapsed-timer.h', ++ 'base/platform/time.cc', ++ 'base/platform/time.h', ++ 'base/platform/condition-variable.cc', ++ 'base/platform/condition-variable.h', ++ 'base/platform/mutex.cc', ++ 'base/platform/mutex.h', ++ 'base/platform/platform.h', ++ 'base/platform/semaphore.cc', ++ 'base/platform/semaphore.h', ++ 'base/safe_conversions.h', ++ 'base/safe_conversions_impl.h', ++ 'base/safe_math.h', ++ 'base/safe_math_impl.h', ++ 'base/smart-pointers.h', ++ 'base/sys-info.cc', ++ 'base/sys-info.h', ++ 'base/utils/random-number-generator.cc', ++ 'base/utils/random-number-generator.h', + ], + 'conditions': [ + ['want_separate_host_toolset==1', { @@ -4558,22 +4692,23 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }], + ], + 'sources': [ -+ '../../src/base/platform/platform-linux.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-linux.cc', ++ 'base/platform/platform-posix.cc' + ], + } + ], + ['OS=="android"', { + 'sources': [ -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-posix.cc' + ], + 'link_settings': { + 'target_conditions': [ -+ ['_toolset=="host"', { ++ ['_toolset=="host" and host_os!="mac"', { + # Only include libdl and librt on host builds because they + # are included by default on Android target builds, and we + # don't want to re-include them here since this will change + # library order and break (see crbug.com/469973). ++ # These libraries do not exist on Mac hosted builds. + 'libraries': [ + '-ldl', + '-lrt' @@ -4586,17 +4721,17 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'target_conditions': [ + ['_toolset=="host"', { + 'sources': [ -+ '../../src/base/platform/platform-macos.cc' ++ 'base/platform/platform-macos.cc' + ] + }, { + 'sources': [ -+ '../../src/base/platform/platform-linux.cc' ++ 'base/platform/platform-linux.cc' + ] + }], + ], + }, { + 'sources': [ -+ '../../src/base/platform/platform-linux.cc' ++ 'base/platform/platform-linux.cc' + ] + }], + ], @@ -4618,23 +4753,23 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + ], + }, + 'sources': [ -+ '../../src/base/platform/platform-posix.cc', -+ '../../src/base/qnx-math.h', ++ 'base/platform/platform-posix.cc', ++ 'base/qnx-math.h', + ], + 'target_conditions': [ + ['_toolset=="host" and host_os=="linux"', { + 'sources': [ -+ '../../src/base/platform/platform-linux.cc' ++ 'base/platform/platform-linux.cc' + ], + }], + ['_toolset=="host" and host_os=="mac"', { + 'sources': [ -+ '../../src/base/platform/platform-macos.cc' ++ 'base/platform/platform-macos.cc' + ], + }], + ['_toolset=="target"', { + 'sources': [ -+ '../../src/base/platform/platform-qnx.cc' ++ 'base/platform/platform-qnx.cc' + ], + }], + ], @@ -4646,8 +4781,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '-L/usr/local/lib -lexecinfo', + ]}, + 'sources': [ -+ '../../src/base/platform/platform-freebsd.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-freebsd.cc', ++ 'base/platform/platform-posix.cc' + ], + } + ], @@ -4657,8 +4792,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '-L/usr/local/lib -lexecinfo', + ]}, + 'sources': [ -+ '../../src/base/platform/platform-openbsd.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-openbsd.cc', ++ 'base/platform/platform-posix.cc' + ], + } + ], @@ -4668,15 +4803,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lexecinfo', + ]}, + 'sources': [ -+ '../../src/base/platform/platform-openbsd.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-openbsd.cc', ++ 'base/platform/platform-posix.cc' + ], + } + ], + ['OS=="aix"', { + 'sources': [ -+ '../../src/base/platform/platform-aix.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-aix.cc', ++ 'base/platform/platform-posix.cc' + ]}, + ], + ['OS=="solaris"', { @@ -4685,15 +4820,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + '-lnsl -lrt', + ]}, + 'sources': [ -+ '../../src/base/platform/platform-solaris.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-solaris.cc', ++ 'base/platform/platform-posix.cc' + ], + } + ], + ['OS=="mac"', { + 'sources': [ -+ '../../src/base/platform/platform-macos.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-macos.cc', ++ 'base/platform/platform-posix.cc' + ]}, + ], + ['OS=="win"', { @@ -4711,13 +4846,13 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'conditions': [ + ['build_env=="Cygwin"', { + 'sources': [ -+ '../../src/base/platform/platform-cygwin.cc', -+ '../../src/base/platform/platform-posix.cc' ++ 'base/platform/platform-cygwin.cc', ++ 'base/platform/platform-posix.cc' + ], + }, { + 'sources': [ -+ '../../src/base/platform/platform-win32.cc', -+ '../../src/base/win32-headers.h', ++ 'base/platform/platform-win32.cc', ++ 'base/win32-headers.h', + ], + }], + ], @@ -4726,8 +4861,8 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }, + }, { + 'sources': [ -+ '../../src/base/platform/platform-win32.cc', -+ '../../src/base/win32-headers.h', ++ 'base/platform/platform-win32.cc', ++ 'base/win32-headers.h', + ], + 'msvs_disabled_warnings': [4351, 4355, 4800], + 'link_settings': { @@ -4748,16 +4883,17 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'v8_libbase_sse2', + ], + 'include_dirs+': [ -+ '../..', ++ '..', ++ '../include', + ], + 'sources': [ -+ '../../include/libplatform/libplatform.h', -+ '../../src/libplatform/default-platform.cc', -+ '../../src/libplatform/default-platform.h', -+ '../../src/libplatform/task-queue.cc', -+ '../../src/libplatform/task-queue.h', -+ '../../src/libplatform/worker-thread.cc', -+ '../../src/libplatform/worker-thread.h', ++ '../include/libplatform/libplatform.h', ++ 'libplatform/default-platform.cc', ++ 'libplatform/default-platform.h', ++ 'libplatform/task-queue.cc', ++ 'libplatform/task-queue.h', ++ 'libplatform/worker-thread.cc', ++ 'libplatform/worker-thread.h', + ], + 'conditions': [ + ['want_separate_host_toolset==1', { @@ -4766,6 +4902,41 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'toolsets': ['target'], + }], + ], ++ 'direct_dependent_settings': { ++ 'include_dirs': [ ++ '../include', ++ ], ++ }, ++ }, ++ { ++ 'target_name': 'v8_libsampler_sse2', ++ 'type': 'static_library', ++ 'variables': { ++ 'optimize': 'max', ++ }, ++ 'dependencies': [ ++ 'v8_libbase_sse2', ++ ], ++ 'include_dirs+': [ ++ '..', ++ '../include', ++ ], ++ 'sources': [ ++ 'libsampler/v8-sampler.cc', ++ 'libsampler/v8-sampler.h' ++ ], ++ 'conditions': [ ++ ['want_separate_host_toolset==1', { ++ 'toolsets': ['host', 'target'], ++ }, { ++ 'toolsets': ['target'], ++ }], ++ ], ++ 'direct_dependent_settings': { ++ 'include_dirs': [ ++ '../include', ++ ], ++ }, + }, + { + 'target_name': 'natives_blob_sse2', @@ -4782,7 +4953,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'actions': [{ + 'action_name': 'v8_sse2_concatenate_natives_blob', + 'inputs': [ -+ '../../tools/concatenate-files.py', ++ '../tools/concatenate-files.py', + '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.bin', + '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental_sse2.bin', + '<(SHARED_INTERMEDIATE_DIR)/libraries-extras_sse2.bin', @@ -4834,104 +5005,90 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }, { + 'toolsets': ['target'], + }], -+ ['v8_enable_i18n_support==1', { -+ 'variables': { -+ 'i18n_library_files': [ -+ '../../src/js/i18n.js', -+ ], -+ }, -+ }, { -+ 'variables': { -+ 'i18n_library_files': [], -+ }, -+ }], + ], + 'variables': { + 'library_files': [ -+ '../../src/js/macros.py', -+ '../../src/messages.h', -+ '../../src/js/prologue.js', -+ '../../src/js/runtime.js', -+ '../../src/js/v8natives.js', -+ '../../src/js/symbol.js', -+ '../../src/js/array.js', -+ '../../src/js/string.js', -+ '../../src/js/uri.js', -+ '../../src/js/math.js', -+ '../../src/third_party/fdlibm/fdlibm.js', -+ '../../src/js/regexp.js', -+ '../../src/js/arraybuffer.js', -+ '../../src/js/typedarray.js', -+ '../../src/js/iterator-prototype.js', -+ '../../src/js/generator.js', -+ '../../src/js/object-observe.js', -+ '../../src/js/collection.js', -+ '../../src/js/weak-collection.js', -+ '../../src/js/collection-iterator.js', -+ '../../src/js/promise.js', -+ '../../src/js/messages.js', -+ '../../src/js/json.js', -+ '../../src/js/array-iterator.js', -+ '../../src/js/string-iterator.js', -+ '../../src/js/templates.js', -+ '../../src/js/spread.js', -+ '../../src/debug/mirrors.js', -+ '../../src/debug/debug.js', -+ '../../src/debug/liveedit.js', ++ 'js/macros.py', ++ 'messages.h', ++ 'js/prologue.js', ++ 'js/runtime.js', ++ 'js/v8natives.js', ++ 'js/symbol.js', ++ 'js/array.js', ++ 'js/string.js', ++ 'js/math.js', ++ 'third_party/fdlibm/fdlibm.js', ++ 'js/regexp.js', ++ 'js/arraybuffer.js', ++ 'js/typedarray.js', ++ 'js/iterator-prototype.js', ++ 'js/collection.js', ++ 'js/weak-collection.js', ++ 'js/collection-iterator.js', ++ 'js/promise.js', ++ 'js/messages.js', ++ 'js/array-iterator.js', ++ 'js/string-iterator.js', ++ 'js/templates.js', ++ 'js/spread.js', ++ 'js/proxy.js', ++ 'debug/mirrors.js', ++ 'debug/debug.js', ++ 'debug/liveedit.js', + ], + 'experimental_library_files': [ -+ '../../src/js/macros.py', -+ '../../src/messages.h', -+ '../../src/js/proxy.js', -+ '../../src/js/generator.js', -+ '../../src/js/harmony-atomics.js', -+ '../../src/js/harmony-regexp.js', -+ '../../src/js/harmony-reflect.js', -+ '../../src/js/harmony-object-observe.js', -+ '../../src/js/harmony-sharedarraybuffer.js', -+ '../../src/js/harmony-simd.js', -+ '../../src/js/harmony-species.js', -+ '../../src/js/harmony-unicode-regexps.js', -+ '../../src/js/promise-extra.js', ++ 'js/macros.py', ++ 'messages.h', ++ 'js/harmony-atomics.js', ++ 'js/harmony-sharedarraybuffer.js', ++ 'js/harmony-simd.js', ++ 'js/harmony-string-padding.js', ++ 'js/promise-extra.js', ++ 'js/harmony-async-await.js' + ], + 'libraries_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.bin', + 'libraries_experimental_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental_sse2.bin', + 'libraries_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-extras_sse2.bin', + 'libraries_experimental_extras_bin_file': '<(SHARED_INTERMEDIATE_DIR)/libraries-experimental-extras_sse2.bin', ++ 'conditions': [ ++ ['v8_enable_i18n_support==1', { ++ 'library_files': ['js/i18n.js'], ++ 'experimental_library_files': [ ++ 'js/icu-case-mapping.js', ++ 'js/intl-extra.js', ++ ], ++ }], ++ ], + }, + 'actions': [ + { + 'action_name': 'v8_sse2_js2c', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(library_files)', -+ '<@(i18n_library_files)' + ], + 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.cc'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.cc', + 'CORE', + '<@(library_files)', -+ '<@(i18n_library_files)' + ], + }, + { + 'action_name': 'v8_sse2_js2c_bin', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(library_files)', -+ '<@(i18n_library_files)' + ], + 'outputs': ['<@(libraries_bin_file)'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/libraries_sse2.cc', + 'CORE', + '<@(library_files)', -+ '<@(i18n_library_files)', + '--startup_blob', '<@(libraries_bin_file)', + '--nojs', + ], @@ -4939,28 +5096,28 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + { + 'action_name': 'v8_sse2_js2c_experimental', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(experimental_library_files)', + ], + 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/experimental-libraries_sse2.cc'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries_sse2.cc', + 'EXPERIMENTAL', -+ '<@(experimental_library_files)' ++ '<@(experimental_library_files)', + ], + }, + { + 'action_name': 'v8_sse2_js2c_experimental_bin', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(experimental_library_files)', + ], + 'outputs': ['<@(libraries_experimental_bin_file)'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/experimental-libraries_sse2.cc', + 'EXPERIMENTAL', + '<@(experimental_library_files)', @@ -4971,13 +5128,13 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + { + 'action_name': 'v8_sse2_js2c_extras', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(v8_extra_library_files)', + ], + 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/extras-libraries_sse2.cc'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/extras-libraries_sse2.cc', + 'EXTRAS', + '<@(v8_extra_library_files)', @@ -4986,13 +5143,13 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + { + 'action_name': 'v8_sse2_js2c_extras_bin', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(v8_extra_library_files)', + ], + 'outputs': ['<@(libraries_extras_bin_file)'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/extras-libraries_sse2.cc', + 'EXTRAS', + '<@(v8_extra_library_files)', @@ -5003,7 +5160,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + { + 'action_name': 'v8_sse2_js2c_experimental_extras', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(v8_experimental_extra_library_files)', + ], + 'outputs': [ @@ -5011,7 +5168,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + ], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries_sse2.cc', + 'EXPERIMENTAL_EXTRAS', + '<@(v8_experimental_extra_library_files)', @@ -5020,13 +5177,13 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + { + 'action_name': 'v8_sse2_js2c_experimental_extras_bin', + 'inputs': [ -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<@(v8_experimental_extra_library_files)', + ], + 'outputs': ['<@(libraries_experimental_extras_bin_file)'], + 'action': [ + 'python', -+ '../../tools/js2c.py', ++ '../tools/js2c.py', + '<(SHARED_INTERMEDIATE_DIR)/experimental-extras-libraries_sse2.cc', + 'EXPERIMENTAL_EXTRAS', + '<@(v8_experimental_extra_library_files)', @@ -5041,15 +5198,15 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'type': 'none', + 'variables': { + 'heapobject_files': [ -+ '../../src/objects.h', -+ '../../src/objects-inl.h', ++ 'objects.h', ++ 'objects-inl.h', + ], + }, + 'actions': [ + { + 'action_name': 'v8_sse2_gen-postmortem-metadata', + 'inputs': [ -+ '../../tools/gen-postmortem-metadata.py', ++ '../tools/gen-postmortem-metadata.py', + '<@(heapobject_files)', + ], + 'outputs': [ @@ -5057,7 +5214,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + ], + 'action': [ + 'python', -+ '../../tools/gen-postmortem-metadata.py', ++ '../tools/gen-postmortem-metadata.py', + '<@(_outputs)', + '<@(heapobject_files)' + ] @@ -5069,10 +5226,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + 'type': 'executable', + 'dependencies': ['v8_base_sse2', 'v8_nosnapshot_sse2', 'v8_libplatform_sse2'], + 'include_dirs+': [ -+ '../..', ++ '..', + ], + 'sources': [ -+ '../../src/snapshot/mksnapshot.cc', ++ 'snapshot/mksnapshot.cc', + ], + 'conditions': [ + ['v8_enable_i18n_support==1', { @@ -5090,9 +5247,9 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/3rdparty/chromium/v8/tools/gyp/v8 + }, + ], +} -diff -Nur qtwebengine-opensource-src-5.7.0/src/core/core_module.pro qtwebengine-opensource-src-5.7.0-no-sse2/src/core/core_module.pro ---- qtwebengine-opensource-src-5.7.0/src/core/core_module.pro 2016-06-07 06:20:06.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/core/core_module.pro 2016-07-17 18:06:40.383813518 +0200 +diff -Nur qtwebengine-opensource-src-5.8.0/src/core/core_module.pro qtwebengine-opensource-src-5.8.0-no-sse2/src/core/core_module.pro +--- qtwebengine-opensource-src-5.8.0/src/core/core_module.pro 2017-01-03 11:35:11.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/core/core_module.pro 2017-03-05 17:30:17.502552632 +0100 @@ -9,6 +9,29 @@ error("Could not find the linking information that gyp should have generated.") } @@ -5123,7 +5280,7 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/core/core_module.pro qtwebengine- load(qt_module) api_library_name = qtwebenginecoreapi$$qtPlatformTargetSuffix() -@@ -72,7 +95,12 @@ +@@ -74,7 +97,12 @@ locales.path = $$[QT_INSTALL_TRANSLATIONS]/qtwebengine_locales resources.CONFIG += no_check_exist resources.path = $$[QT_INSTALL_DATA]/resources @@ -5137,10 +5294,10 @@ diff -Nur qtwebengine-opensource-src-5.7.0/src/core/core_module.pro qtwebengine- !use?(system_icu) { icu.CONFIG += no_check_exist -diff -Nur qtwebengine-opensource-src-5.7.0/src/core/qtwebengine.gypi qtwebengine-opensource-src-5.7.0-no-sse2/src/core/qtwebengine.gypi ---- qtwebengine-opensource-src-5.7.0/src/core/qtwebengine.gypi 2016-06-07 06:20:06.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-no-sse2/src/core/qtwebengine.gypi 2016-07-17 18:06:40.391813562 +0200 -@@ -60,6 +60,11 @@ +diff -Nur qtwebengine-opensource-src-5.8.0/src/core/qtwebengine.gypi qtwebengine-opensource-src-5.8.0-no-sse2/src/core/qtwebengine.gypi +--- qtwebengine-opensource-src-5.8.0/src/core/qtwebengine.gypi 2017-01-03 11:35:11.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-no-sse2/src/core/qtwebengine.gypi 2017-03-05 17:30:17.503552617 +0100 +@@ -63,6 +63,11 @@ }, }, 'conditions': [ diff --git a/qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch b/qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch new file mode 100644 index 0000000..ce2c180 --- /dev/null +++ b/qtwebengine-opensource-src-5.8.0-pdfium-gcc7.patch @@ -0,0 +1,600 @@ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/app.cpp qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/app.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/app.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/app.cpp 2017-03-06 13:04:01.784297561 +0100 +@@ -454,7 +454,7 @@ + } + + void app::ClearTimerCommon(const CJS_Value& param) { +- if (param.GetType() != CJS_Value::VT_fxobject) ++ if (param.GetType() != CJS_Value::VT_object) + return; + + v8::Local pObj = param.ToV8Object(); +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/Document.cpp qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/Document.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/Document.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/Document.cpp 2017-03-06 13:04:01.783297575 +0100 +@@ -411,22 +411,20 @@ + + int nlength = params.size(); + if (nlength == 9) { +- if (params[8].GetType() == CJS_Value::VT_fxobject) { ++ if (params[8].GetType() == CJS_Value::VT_object) { + v8::Local pObj = params[8].ToV8Object(); +- { +- if (FXJS_GetObjDefnID(pObj) == CJS_PrintParamsObj::g_nObjDefnID) { +- if (CJS_Object* pJSObj = params[8].ToCJSObject()) { +- if (PrintParamsObj* pprintparamsObj = +- (PrintParamsObj*)pJSObj->GetEmbedObject()) { +- bUI = pprintparamsObj->bUI; +- nStart = pprintparamsObj->nStart; +- nEnd = pprintparamsObj->nEnd; +- bSilent = pprintparamsObj->bSilent; +- bShrinkToFit = pprintparamsObj->bShrinkToFit; +- bPrintAsImage = pprintparamsObj->bPrintAsImage; +- bReverse = pprintparamsObj->bReverse; +- bAnnotations = pprintparamsObj->bAnnotations; +- } ++ if (FXJS_GetObjDefnID(pObj) == CJS_PrintParamsObj::g_nObjDefnID) { ++ if (CJS_Object* pJSObj = params[8].ToCJSObject()) { ++ if (PrintParamsObj* pprintparamsObj = ++ static_cast(pJSObj->GetEmbedObject())) { ++ bUI = pprintparamsObj->bUI; ++ nStart = pprintparamsObj->nStart; ++ nEnd = pprintparamsObj->nEnd; ++ bSilent = pprintparamsObj->bSilent; ++ bShrinkToFit = pprintparamsObj->bShrinkToFit; ++ bPrintAsImage = pprintparamsObj->bPrintAsImage; ++ bReverse = pprintparamsObj->bReverse; ++ bAnnotations = pprintparamsObj->bAnnotations; + } + } + } +@@ -597,18 +595,16 @@ + v8::Local pObj = params[0].ToV8Object(); + v8::Local pValue = FXJS_GetObjectElement(isolate, pObj, L"cURL"); + if (!pValue.IsEmpty()) +- strURL = +- CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ strURL = CJS_Value(pRuntime, pValue).ToCFXWideString(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"bFDF"); +- bFDF = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToBool(); ++ bFDF = CJS_Value(pRuntime, pValue).ToBool(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"bEmpty"); +- bEmpty = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToBool(); ++ bEmpty = CJS_Value(pRuntime, pValue).ToBool(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"aFields"); +- aFields.Attach( +- CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToV8Array()); ++ aFields.Attach(CJS_Value(pRuntime, pValue).ToV8Array()); + } + + CPDFSDK_InterForm* pInterForm = m_pDocument->GetInterForm(); +@@ -691,25 +687,22 @@ + v8::Local pObj = params[0].ToV8Object(); + + v8::Local pValue = FXJS_GetObjectElement(isolate, pObj, L"bUI"); +- bUI = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToInt(); ++ bUI = CJS_Value(pRuntime, pValue).ToInt(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"cTo"); +- cTo = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ cTo = CJS_Value(pRuntime, pValue).ToCFXWideString(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"cCc"); +- cCc = CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ cCc = CJS_Value(pRuntime, pValue).ToCFXWideString(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"cBcc"); +- cBcc = +- CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ cBcc = CJS_Value(pRuntime, pValue).ToCFXWideString(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"cSubject"); +- cSubject = +- CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ cSubject = CJS_Value(pRuntime, pValue).ToCFXWideString(); + + pValue = FXJS_GetObjectElement(isolate, pObj, L"cMsg"); +- cMsg = +- CJS_Value(pRuntime, pValue, GET_VALUE_TYPE(pValue)).ToCFXWideString(); ++ cMsg = CJS_Value(pRuntime, pValue).ToCFXWideString(); + } + + pRuntime->BeginBlock(); +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/global.cpp 2017-03-06 13:04:01.785297546 +0100 +@@ -17,63 +17,6 @@ + #include "fpdfsdk/javascript/cjs_context.h" + #include "fpdfsdk/javascript/resource.h" + +-// Helper class for compile-time calculation of hash values in order to +-// avoid having global object initializers. +-template +-struct CHash; +- +-// Only needed to hash single-character strings. +-template +-struct CHash { +- static const unsigned value = N; +-}; +- +-template +-struct CHash { +- static const unsigned value = (ACC * 1313LLU + N) & 0xFFFFFFFF; +-}; +- +-template +-struct CHash { +- static const unsigned value = CHash::value, Ns...>::value; +-}; +- +-const unsigned int JSCONST_nStringHash = +- CHash<'s', 't', 'r', 'i', 'n', 'g'>::value; +-const unsigned int JSCONST_nNumberHash = +- CHash<'n', 'u', 'm', 'b', 'e', 'r'>::value; +-const unsigned int JSCONST_nBoolHash = +- CHash<'b', 'o', 'o', 'l', 'e', 'a', 'n'>::value; +-const unsigned int JSCONST_nDateHash = CHash<'d', 'a', 't', 'e'>::value; +-const unsigned int JSCONST_nObjectHash = +- CHash<'o', 'b', 'j', 'e', 'c', 't'>::value; +-const unsigned int JSCONST_nFXobjHash = CHash<'f', 'x', 'o', 'b', 'j'>::value; +-const unsigned int JSCONST_nNullHash = CHash<'n', 'u', 'l', 'l'>::value; +-const unsigned int JSCONST_nUndefHash = +- CHash<'u', 'n', 'd', 'e', 'f', 'i', 'n', 'e', 'd'>::value; +- +-static unsigned JS_CalcHash(const wchar_t* main) { +- return (unsigned)FX_HashCode_GetW(CFX_WideStringC(main), false); +-} +- +-#ifndef NDEBUG +-class HashVerify { +- public: +- HashVerify(); +-} g_hashVerify; +- +-HashVerify::HashVerify() { +- ASSERT(JSCONST_nStringHash == JS_CalcHash(kFXJSValueNameString)); +- ASSERT(JSCONST_nNumberHash == JS_CalcHash(kFXJSValueNameNumber)); +- ASSERT(JSCONST_nBoolHash == JS_CalcHash(kFXJSValueNameBoolean)); +- ASSERT(JSCONST_nDateHash == JS_CalcHash(kFXJSValueNameDate)); +- ASSERT(JSCONST_nObjectHash == JS_CalcHash(kFXJSValueNameObject)); +- ASSERT(JSCONST_nFXobjHash == JS_CalcHash(kFXJSValueNameFxobj)); +- ASSERT(JSCONST_nNullHash == JS_CalcHash(kFXJSValueNameNull)); +- ASSERT(JSCONST_nUndefHash == JS_CalcHash(kFXJSValueNameUndefined)); +-} +-#endif +- + BEGIN_JS_STATIC_CONST(CJS_Global) + END_JS_STATIC_CONST() + +@@ -335,9 +278,8 @@ + CFX_WideString ws = + FXJS_ToString(isolate, FXJS_GetArrayElement(isolate, pKeyList, i)); + CFX_ByteString sKey = ws.UTF8Encode(); +- + v8::Local v = FXJS_GetObjectElement(isolate, pObj, ws); +- switch (GET_VALUE_TYPE(v)) { ++ switch (CJS_Value::GetValueType(v)) { + case CJS_Value::VT_number: { + CJS_KeyValue* pObjElement = new CJS_KeyValue; + pObjElement->nType = JS_GLOBALDATA_TYPE_NUMBER; +@@ -353,8 +295,7 @@ + array.Add(pObjElement); + } break; + case CJS_Value::VT_string: { +- CFX_ByteString sValue = +- CJS_Value(pRuntime, v, CJS_Value::VT_string).ToCFXByteString(); ++ CFX_ByteString sValue = CJS_Value(pRuntime, v).ToCFXByteString(); + CJS_KeyValue* pObjElement = new CJS_KeyValue; + pObjElement->nType = JS_GLOBALDATA_TYPE_STRING; + pObjElement->sKey = sKey; +@@ -500,26 +441,3 @@ + m_mapGlobal[propname] = pNewData; + return TRUE; + } +- +-CJS_Value::Type GET_VALUE_TYPE(v8::Local p) { +- const unsigned int nHash = JS_CalcHash(FXJS_GetTypeof(p)); +- +- if (nHash == JSCONST_nUndefHash) +- return CJS_Value::VT_undefined; +- if (nHash == JSCONST_nNullHash) +- return CJS_Value::VT_null; +- if (nHash == JSCONST_nStringHash) +- return CJS_Value::VT_string; +- if (nHash == JSCONST_nNumberHash) +- return CJS_Value::VT_number; +- if (nHash == JSCONST_nBoolHash) +- return CJS_Value::VT_boolean; +- if (nHash == JSCONST_nDateHash) +- return CJS_Value::VT_date; +- if (nHash == JSCONST_nObjectHash) +- return CJS_Value::VT_object; +- if (nHash == JSCONST_nFXobjHash) +- return CJS_Value::VT_fxobject; +- +- return CJS_Value::VT_unknown; +-} +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Define.h qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Define.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Define.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Define.h 2017-03-06 13:04:01.783297575 +0100 +@@ -111,7 +111,7 @@ + CJS_Object* pJSObj = (CJS_Object*)FXJS_GetPrivate(isolate, info.Holder()); + C* pObj = reinterpret_cast(pJSObj->GetEmbedObject()); + CFX_WideString sError; +- CJS_PropValue propValue(CJS_Value(pRuntime, value, CJS_Value::VT_unknown)); ++ CJS_PropValue propValue(CJS_Value(pRuntime, value)); + propValue.StartSetting(); + if (!(pObj->*M)(pContext, propValue, sError)) { + FXJS_Error(isolate, JSFormatErrorString(class_name_string, prop_name_string, +@@ -149,7 +149,7 @@ + IJS_Context* pContext = pRuntime->GetCurrentContext(); + std::vector parameters; + for (unsigned int i = 0; i < (unsigned int)info.Length(); i++) { +- parameters.push_back(CJS_Value(pRuntime, info[i], CJS_Value::VT_unknown)); ++ parameters.push_back(CJS_Value(pRuntime, info[i])); + } + CJS_Value valueRes(pRuntime); + CJS_Object* pJSObj = (CJS_Object*)FXJS_GetPrivate(isolate, info.Holder()); +@@ -404,7 +404,7 @@ + CFX_WideString propname = CFX_WideString::FromUTF8( + CFX_ByteStringC(*utf8_value, utf8_value.length())); + CFX_WideString sError; +- CJS_PropValue PropValue(CJS_Value(pRuntime, value, CJS_Value::VT_unknown)); ++ CJS_PropValue PropValue(CJS_Value(pRuntime, value)); + PropValue.StartSetting(); + if (!pObj->DoProperty(pContext, propname.c_str(), PropValue, sError)) { + FXJS_Error(isolate, JSFormatErrorString(class_name, "PutProperty", sError)); +@@ -447,7 +447,7 @@ + IJS_Context* pContext = pRuntime->GetCurrentContext(); + std::vector parameters; + for (unsigned int i = 0; i < (unsigned int)info.Length(); i++) { +- parameters.push_back(CJS_Value(pRuntime, info[i], CJS_Value::VT_unknown)); ++ parameters.push_back(CJS_Value(pRuntime, info[i])); + } + CJS_Value valueRes(pRuntime); + CFX_WideString sError; +@@ -485,6 +485,4 @@ + } \ + } + +-CJS_Value::Type GET_VALUE_TYPE(v8::Local p); +- + #endif // FPDFSDK_JAVASCRIPT_JS_DEFINE_H_ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.cpp 2017-03-06 13:10:30.896809956 +0100 +@@ -22,11 +22,10 @@ + return *(double*)g_nan; + } + +-CJS_Value::CJS_Value(CJS_Runtime* pRuntime) +- : m_eType(VT_unknown), m_pJSRuntime(pRuntime) {} ++CJS_Value::CJS_Value(CJS_Runtime* pRuntime) : m_pJSRuntime(pRuntime) {} + +-CJS_Value::CJS_Value(CJS_Runtime* pRuntime, v8::Local pValue, Type t) +- : m_eType(t), m_pValue(pValue), m_pJSRuntime(pRuntime) {} ++CJS_Value::CJS_Value(CJS_Runtime* pRuntime, v8::Local pValue) ++ : m_pValue(pValue), m_pJSRuntime(pRuntime) {} + + CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const int& iValue) + : m_pJSRuntime(pRuntime) { +@@ -48,23 +47,11 @@ + operator=(dValue); + } + +-CJS_Value::CJS_Value(CJS_Runtime* pRuntime, v8::Local pJsObj) +- : m_pJSRuntime(pRuntime) { +- operator=(pJsObj); +-} +- + CJS_Value::CJS_Value(CJS_Runtime* pRuntime, CJS_Object* pJsObj) + : m_pJSRuntime(pRuntime) { + operator=(pJsObj); + } + +-CJS_Value::CJS_Value(CJS_Runtime* pRuntime, CJS_Document* pJsDoc) +- : m_pJSRuntime(pRuntime) { +- m_eType = VT_object; +- if (pJsDoc) +- m_pValue = pJsDoc->ToV8Object(); +-} +- + CJS_Value::CJS_Value(CJS_Runtime* pRuntime, const FX_WCHAR* pWstr) + : m_pJSRuntime(pRuntime) { + operator=(pWstr); +@@ -84,19 +71,17 @@ + + CJS_Value::CJS_Value(const CJS_Value& other) = default; + +-void CJS_Value::Attach(v8::Local pValue, Type t) { ++void CJS_Value::Attach(v8::Local pValue) { + m_pValue = pValue; +- m_eType = t; + } + + void CJS_Value::Attach(CJS_Value* pValue) { + if (pValue) +- Attach(pValue->ToV8Value(), pValue->GetType()); ++ Attach(pValue->ToV8Value()); + } + + void CJS_Value::Detach() { + m_pValue = v8::Local(); +- m_eType = VT_unknown; + } + + int CJS_Value::ToInt() const { +@@ -146,7 +131,7 @@ + + void CJS_Value::MaybeCoerceToNumber() { + bool bAllowNaN = false; +- if (m_eType == VT_string) { ++ if (GetType() == VT_string) { + CFX_ByteString bstr = ToCFXByteString(); + if (bstr.GetLength() == 0) + return; +@@ -162,32 +147,26 @@ + if (std::isnan(num->Value()) && !bAllowNaN) + return; + m_pValue = num; +- m_eType = VT_number; + } + + void CJS_Value::operator=(int iValue) { + m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), iValue); +- m_eType = VT_number; + } + + void CJS_Value::operator=(bool bValue) { + m_pValue = FXJS_NewBoolean(m_pJSRuntime->GetIsolate(), bValue); +- m_eType = VT_boolean; + } + + void CJS_Value::operator=(double dValue) { + m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), dValue); +- m_eType = VT_number; + } + + void CJS_Value::operator=(float fValue) { + m_pValue = FXJS_NewNumber(m_pJSRuntime->GetIsolate(), fValue); +- m_eType = VT_number; + } + + void CJS_Value::operator=(v8::Local pObj) { + m_pValue = FXJS_NewObject(m_pJSRuntime->GetIsolate(), pObj); +- m_eType = VT_fxobject; + } + + void CJS_Value::operator=(CJS_Object* pObj) { +@@ -195,21 +174,12 @@ + operator=(pObj->ToV8Object()); + } + +-void CJS_Value::operator=(CJS_Document* pJsDoc) { +- m_eType = VT_object; +- if (pJsDoc) { +- m_pValue = pJsDoc->ToV8Object(); +- } +-} +- + void CJS_Value::operator=(const FX_WCHAR* pWstr) { + m_pValue = FXJS_NewString(m_pJSRuntime->GetIsolate(), (wchar_t*)pWstr); +- m_eType = VT_string; + } + + void CJS_Value::SetNull() { + m_pValue = FXJS_NewNull(); +- m_eType = VT_null; + } + + void CJS_Value::operator=(const FX_CHAR* pStr) { +@@ -219,36 +189,34 @@ + void CJS_Value::operator=(CJS_Array& array) { + m_pValue = + FXJS_NewObject2(m_pJSRuntime->GetIsolate(), (v8::Local)array); +- m_eType = VT_object; + } + + void CJS_Value::operator=(CJS_Date& date) { + m_pValue = FXJS_NewDate(m_pJSRuntime->GetIsolate(), (double)date); +- m_eType = VT_date; + } + + void CJS_Value::operator=(CJS_Value value) { + m_pValue = value.ToV8Value(); +- m_eType = value.m_eType; + m_pJSRuntime = value.m_pJSRuntime; + } + +-CJS_Value::Type CJS_Value::GetType() const { +- if (m_pValue.IsEmpty()) ++// static ++CJS_Value::Type CJS_Value::GetValueType(v8::Local value) { ++ if (value.IsEmpty()) + return VT_unknown; +- if (m_pValue->IsString()) ++ if (value->IsString()) + return VT_string; +- if (m_pValue->IsNumber()) ++ if (value->IsNumber()) + return VT_number; +- if (m_pValue->IsBoolean()) ++ if (value->IsBoolean()) + return VT_boolean; +- if (m_pValue->IsDate()) ++ if (value->IsDate()) + return VT_date; +- if (m_pValue->IsObject()) ++ if (value->IsObject()) + return VT_object; +- if (m_pValue->IsNull()) ++ if (value->IsNull()) + return VT_null; +- if (m_pValue->IsUndefined()) ++ if (value->IsUndefined()) + return VT_undefined; + return VT_unknown; + } +@@ -427,7 +395,7 @@ + return; + v8::Local p = + FXJS_GetArrayElement(m_pJSRuntime->GetIsolate(), m_pArray, index); +- value.Attach(p, CJS_Value::VT_object); ++ value.Attach(p); + } + + void CJS_Array::SetElement(unsigned index, CJS_Value value) { +@@ -899,7 +867,7 @@ + v8::Local v8Value = + FXJS_GetObjectElement(pRuntime->GetIsolate(), pObj, property); + if (!v8Value->IsUndefined()) +- result[i] = CJS_Value(pRuntime, v8Value, CJS_Value::VT_unknown); ++ result[i] = CJS_Value(pRuntime, v8Value); + } + va_end(ap); + return result; +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.h qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/javascript/JS_Value.h 2017-03-06 13:04:01.784297561 +0100 +@@ -27,20 +27,17 @@ + VT_boolean, + VT_date, + VT_object, +- VT_fxobject, + VT_null, + VT_undefined + }; + + CJS_Value(CJS_Runtime* pRuntime); +- CJS_Value(CJS_Runtime* pRuntime, v8::Local pValue, Type t); ++ CJS_Value(CJS_Runtime* pRuntime, v8::Local pValue); + CJS_Value(CJS_Runtime* pRuntime, const int& iValue); + CJS_Value(CJS_Runtime* pRuntime, const double& dValue); + CJS_Value(CJS_Runtime* pRuntime, const float& fValue); + CJS_Value(CJS_Runtime* pRuntime, const bool& bValue); +- CJS_Value(CJS_Runtime* pRuntime, v8::Local); +- CJS_Value(CJS_Runtime* pRuntime, CJS_Object*); +- CJS_Value(CJS_Runtime* pRuntime, CJS_Document*); ++ CJS_Value(CJS_Runtime* pRuntime, CJS_Object* pObj); + CJS_Value(CJS_Runtime* pRuntime, const FX_CHAR* pStr); + CJS_Value(CJS_Runtime* pRuntime, const FX_WCHAR* pWstr); + CJS_Value(CJS_Runtime* pRuntime, CJS_Array& array); +@@ -49,11 +46,12 @@ + CJS_Value(const CJS_Value& other); + + void SetNull(); +- void Attach(v8::Local pValue, Type t); ++ void Attach(v8::Local pValue); + void Attach(CJS_Value* pValue); + void Detach(); + +- Type GetType() const; ++ static Type GetValueType(v8::Local value); ++ Type GetType() const { return GetValueType(m_pValue); } + int ToInt() const; + bool ToBool() const; + double ToDouble() const; +@@ -66,8 +64,7 @@ + v8::Local ToV8Value() const; + + // Replace the current |m_pValue| with a v8::Number if possible +- // to make one from the current |m_pValue|, updating |m_eType| +- // as appropriate to indicate the result. ++ // to make one from the current |m_pValue|. + void MaybeCoerceToNumber(); + + void operator=(int iValue); +@@ -75,7 +72,6 @@ + void operator=(double val); + void operator=(float val); + void operator=(CJS_Object* val); +- void operator=(CJS_Document* val); + void operator=(v8::Local val); + void operator=(CJS_Array& val); + void operator=(CJS_Date& val); +@@ -91,7 +87,6 @@ + CJS_Runtime* GetJSRuntime() const { return m_pJSRuntime; } + + protected: +- Type m_eType; + v8::Local m_pValue; + CJS_Runtime* m_pJSRuntime; + }; +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/fxjs_v8.cpp qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/fxjs_v8.cpp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/fxjs_v8.cpp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/fxjs_v8.cpp 2017-03-06 13:06:10.884476877 +0100 +@@ -10,15 +10,6 @@ + + #include "core/fxcrt/include/fx_basic.h" + +-const wchar_t kFXJSValueNameString[] = L"string"; +-const wchar_t kFXJSValueNameNumber[] = L"number"; +-const wchar_t kFXJSValueNameBoolean[] = L"boolean"; +-const wchar_t kFXJSValueNameDate[] = L"date"; +-const wchar_t kFXJSValueNameObject[] = L"object"; +-const wchar_t kFXJSValueNameFxobj[] = L"fxobj"; +-const wchar_t kFXJSValueNameNull[] = L"null"; +-const wchar_t kFXJSValueNameUndefined[] = L"undefined"; +- + // Keep this consistent with the values defined in gin/public/context_holder.h + // (without actually requiring a dependency on gin itself for the standalone + // embedders of PDFIum). The value we want to use is: +@@ -540,26 +531,6 @@ + .ToLocalChecked()); + } + +-const wchar_t* FXJS_GetTypeof(v8::Local pObj) { +- if (pObj.IsEmpty()) +- return nullptr; +- if (pObj->IsString()) +- return kFXJSValueNameString; +- if (pObj->IsNumber()) +- return kFXJSValueNameNumber; +- if (pObj->IsBoolean()) +- return kFXJSValueNameBoolean; +- if (pObj->IsDate()) +- return kFXJSValueNameDate; +- if (pObj->IsObject()) +- return kFXJSValueNameObject; +- if (pObj->IsNull()) +- return kFXJSValueNameNull; +- if (pObj->IsUndefined()) +- return kFXJSValueNameUndefined; +- return nullptr; +-} +- + void FXJS_SetPrivate(v8::Isolate* pIsolate, + v8::Local pObj, + void* p) { +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/include/fxjs_v8.h qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/include/fxjs_v8.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/include/fxjs_v8.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-pdfium-gcc7/src/3rdparty/chromium/third_party/pdfium/fpdfsdk/jsapi/include/fxjs_v8.h 2017-03-06 13:06:40.283062272 +0100 +@@ -118,15 +118,6 @@ + FXJS_PerIsolateData(); + }; + +-extern const wchar_t kFXJSValueNameString[]; +-extern const wchar_t kFXJSValueNameNumber[]; +-extern const wchar_t kFXJSValueNameBoolean[]; +-extern const wchar_t kFXJSValueNameDate[]; +-extern const wchar_t kFXJSValueNameObject[]; +-extern const wchar_t kFXJSValueNameFxobj[]; +-extern const wchar_t kFXJSValueNameNull[]; +-extern const wchar_t kFXJSValueNameUndefined[]; +- + class FXJS_ArrayBufferAllocator : public v8::ArrayBuffer::Allocator { + void* Allocate(size_t length) override; + void* AllocateUninitialized(size_t length) override; +@@ -209,7 +200,6 @@ + bool bStatic = false); + v8::Local FXJS_GetThisObj(v8::Isolate* pIsolate); + int FXJS_GetObjDefnID(v8::Local pObj); +-const wchar_t* FXJS_GetTypeof(v8::Local pObj); + + void FXJS_SetPrivate(v8::Isolate* pIsolate, + v8::Local pObj, diff --git a/qtwebengine-opensource-src-5.7.0-system-icu-utf.patch b/qtwebengine-opensource-src-5.8.0-system-icu-utf.patch similarity index 72% rename from qtwebengine-opensource-src-5.7.0-system-icu-utf.patch rename to qtwebengine-opensource-src-5.8.0-system-icu-utf.patch index 80b53a4..dff88b5 100644 --- a/qtwebengine-opensource-src-5.7.0-system-icu-utf.patch +++ b/qtwebengine-opensource-src-5.8.0-system-icu-utf.patch @@ -1,7 +1,7 @@ -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/base.gypi ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi 2016-07-17 16:52:03.641799106 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/base.gypi 2016-07-17 17:20:50.666600419 +0200 -@@ -632,8 +632,6 @@ +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/base.gypi +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi 2017-03-05 16:48:14.206027229 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/base.gypi 2017-03-05 16:50:49.266714740 +0100 +@@ -674,8 +674,6 @@ 'third_party/dmg_fp/dmg_fp.h', 'third_party/dmg_fp/dtoa_wrapper.cc', 'third_party/dmg_fp/g_fmt.cc', @@ -9,22 +9,22 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi - 'third_party/icu/icu_utf.h', 'third_party/superfasthash/superfasthash.c', 'third_party/xdg_mime/xdgmime.h', - 'thread_task_runner_handle.cc', -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/BUILD.gn ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn 2016-07-17 16:52:03.642799111 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/BUILD.gn 2016-07-17 17:20:50.667600425 +0200 -@@ -741,8 +741,6 @@ + 'threading/non_thread_safe.h', +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/BUILD.gn +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn 2017-03-05 16:48:14.207027214 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/BUILD.gn 2017-03-05 16:50:49.267714725 +0100 +@@ -801,8 +801,6 @@ "third_party/dmg_fp/dmg_fp.h", "third_party/dmg_fp/dtoa_wrapper.cc", "third_party/dmg_fp/g_fmt.cc", - "third_party/icu/icu_utf.cc", - "third_party/icu/icu_utf.h", "third_party/superfasthash/superfasthash.c", - "thread_task_runner_handle.cc", - "thread_task_runner_handle.h", -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/files/file_path.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/files/file_path.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/files/file_path.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/files/file_path.cc 2016-07-17 17:20:50.668600430 +0200 + "threading/non_thread_safe.h", + "threading/non_thread_safe_impl.cc", +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/files/file_path.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/files/file_path.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/files/file_path.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/files/file_path.cc 2017-03-05 16:50:49.267714725 +0100 @@ -18,7 +18,7 @@ #if defined(OS_MACOSX) @@ -34,7 +34,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi #endif #if defined(OS_WIN) -@@ -1138,9 +1138,9 @@ +@@ -1150,9 +1150,9 @@ int* index) { int codepoint = 0; while (*index < length && codepoint == 0) { @@ -46,10 +46,10 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi DCHECK_GT(codepoint, 0); if (codepoint > 0) { // Check if there is a subtable for this upper byte. -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/json/json_parser.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/json/json_parser.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/json/json_parser.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/json/json_parser.cc 2016-07-17 17:25:23.443128277 +0200 -@@ -15,7 +15,7 @@ +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/json/json_parser.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/json/json_parser.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/json/json_parser.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/json/json_parser.cc 2017-03-05 16:50:49.268714710 +0100 +@@ -16,7 +16,7 @@ #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversion_utils.h" #include "base/strings/utf_string_conversions.h" @@ -58,7 +58,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi #include "base/values.h" namespace base { -@@ -625,8 +625,8 @@ +@@ -631,8 +631,8 @@ int32_t next_char = 0; while (CanConsume(1)) { @@ -69,7 +69,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi if (next_char < 0 || !IsValidCharacter(next_char)) { ReportError(JSONReader::JSON_UNSUPPORTED_ENCODING, 1); return false; -@@ -719,7 +719,7 @@ +@@ -725,7 +725,7 @@ return false; } } else if (next_char == '"') { @@ -78,7 +78,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi out->Swap(&string); return true; } else { -@@ -759,10 +759,10 @@ +@@ -765,10 +765,10 @@ // If this is a high surrogate, consume the next code unit to get the // low surrogate. @@ -91,7 +91,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi return false; // Make sure that the token has more characters to consume the -@@ -779,24 +779,24 @@ +@@ -785,24 +785,24 @@ NextNChars(3); @@ -121,7 +121,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi } dest_string->append(code_unit8); -@@ -813,9 +813,9 @@ +@@ -819,9 +819,9 @@ } else { char utf8_units[4] = { 0 }; int offset = 0; @@ -133,9 +133,9 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi // zero terminated at this point. |offset| contains the correct length. dest->AppendString(std::string(utf8_units, offset)); } -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/json/string_escape.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/json/string_escape.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/json/string_escape.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/json/string_escape.cc 2016-07-17 17:20:50.668600430 +0200 +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/json/string_escape.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/json/string_escape.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/json/string_escape.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/json/string_escape.cc 2017-03-05 16:50:49.268714710 +0100 @@ -14,7 +14,7 @@ #include "base/strings/stringprintf.h" #include "base/strings/utf_string_conversion_utils.h" @@ -145,9 +145,9 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi namespace base { -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/pattern.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/pattern.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/pattern.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/pattern.cc 2016-07-17 17:20:50.669600436 +0200 +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/pattern.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/pattern.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/pattern.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/pattern.cc 2017-03-05 16:50:49.404712681 +0100 @@ -4,13 +4,13 @@ #include "base/strings/pattern.h" @@ -203,9 +203,9 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi *p += offset; return c; } -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_split.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_split.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_split.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_split.cc 2016-07-17 17:20:50.669600436 +0200 +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_split.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_split.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_split.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_split.cc 2017-03-05 16:50:49.404712681 +0100 @@ -8,7 +8,7 @@ #include "base/logging.h" @@ -215,11 +215,11 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi namespace base { -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_util.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_util.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_util.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_util.cc 2016-07-17 17:29:39.032552674 +0200 -@@ -26,7 +26,7 @@ - #include "base/strings/string_split.h" +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_util.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_util.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/string_util.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/string_util.cc 2017-03-05 16:50:49.404712681 +0100 +@@ -25,7 +25,7 @@ + #include "base/memory/singleton.h" #include "base/strings/utf_string_conversion_utils.h" #include "base/strings/utf_string_conversions.h" -#include "base/third_party/icu/icu_utf.h" @@ -227,7 +227,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi #include "build/build_config.h" namespace base { -@@ -358,19 +358,19 @@ +@@ -357,19 +357,19 @@ } DCHECK_LE(byte_size, static_cast(std::numeric_limits::max())); @@ -251,7 +251,7 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi if (!IsValidCharacter(code_point) || !IsValidCodepoint(code_point)) { char_index = prev - 1; -@@ -523,7 +523,7 @@ +@@ -522,7 +522,7 @@ while (char_index < src_len) { int32_t code_point; @@ -260,9 +260,9 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi if (!IsValidCharacter(code_point)) return false; } -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc 2016-07-17 17:31:29.363164013 +0200 +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/base/strings/utf_string_conversion_utils.cc 2017-03-05 16:50:49.404712681 +0100 @@ -4,7 +4,7 @@ #include "base/strings/utf_string_conversion_utils.h" @@ -341,9 +341,9 @@ diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromi } // Generalized Unicode converter ----------------------------------------------- -diff -ur qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc ---- qtwebengine-opensource-src-5.7.0-system-nspr-prtime/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc 2016-05-26 15:53:47.000000000 +0200 -+++ qtwebengine-opensource-src-5.7.0-system-icu-utf/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc 2016-07-17 17:20:50.687600537 +0200 +diff -ur qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc +--- qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-icu-utf/src/3rdparty/chromium/ui/gfx/utf16_indexing.cc 2017-03-05 16:50:49.405712666 +0100 @@ -5,13 +5,13 @@ #include "ui/gfx/utf16_indexing.h" diff --git a/qtwebengine-opensource-src-5.8.0-system-nspr-prtime.patch b/qtwebengine-opensource-src-5.8.0-system-nspr-prtime.patch new file mode 100644 index 0000000..4f17325 --- /dev/null +++ b/qtwebengine-opensource-src-5.8.0-system-nspr-prtime.patch @@ -0,0 +1,48 @@ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/base.gypi qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/base.gypi 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/base.gypi 2017-03-05 16:48:14.206027229 +0100 +@@ -676,8 +676,6 @@ + 'third_party/dmg_fp/g_fmt.cc', + 'third_party/icu/icu_utf.cc', + 'third_party/icu/icu_utf.h', +- 'third_party/nspr/prtime.cc', +- 'third_party/nspr/prtime.h', + 'third_party/superfasthash/superfasthash.c', + 'third_party/xdg_mime/xdgmime.h', + 'threading/non_thread_safe.h', +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/BUILD.gn qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/BUILD.gn 2017-03-05 16:48:14.207027214 +0100 +@@ -803,8 +803,6 @@ + "third_party/dmg_fp/g_fmt.cc", + "third_party/icu/icu_utf.cc", + "third_party/icu/icu_utf.h", +- "third_party/nspr/prtime.cc", +- "third_party/nspr/prtime.h", + "third_party/superfasthash/superfasthash.c", + "threading/non_thread_safe.h", + "threading/non_thread_safe_impl.cc", +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/time/pr_time_unittest.cc qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/time/pr_time_unittest.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/time/pr_time_unittest.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/time/pr_time_unittest.cc 2017-03-05 16:48:14.208027199 +0100 +@@ -7,7 +7,7 @@ + + #include "base/compiler_specific.h" + #include "base/macros.h" +-#include "base/third_party/nspr/prtime.h" ++#include + #include "base/time/time.h" + #include "build/build_config.h" + #include "testing/gtest/include/gtest/gtest.h" +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/time/time.cc qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/time/time.cc +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/base/time/time.cc 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-system-nspr-prtime/src/3rdparty/chromium/base/time/time.cc 2017-03-05 16:48:14.298025856 +0100 +@@ -14,7 +14,7 @@ + #include "base/logging.h" + #include "base/macros.h" + #include "base/strings/stringprintf.h" +-#include "base/third_party/nspr/prtime.h" ++#include + #include "build/build_config.h" + + namespace base { diff --git a/qtwebengine-opensource-src-5.8.0-v8-gcc7.patch b/qtwebengine-opensource-src-5.8.0-v8-gcc7.patch new file mode 100644 index 0000000..8a87503 --- /dev/null +++ b/qtwebengine-opensource-src-5.8.0-v8-gcc7.patch @@ -0,0 +1,71 @@ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects-body-descriptors.h qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects-body-descriptors.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects-body-descriptors.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects-body-descriptors.h 2017-03-06 02:05:57.848394582 +0100 +@@ -99,7 +99,7 @@ + + template + static inline void IterateBody(HeapObject* obj, int object_size) { +- IterateBody(obj); ++ IterateBody(obj); + } + }; + +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects.h qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects.h 2017-03-06 02:05:57.990392454 +0100 +@@ -3193,22 +3193,10 @@ + public: + typedef Shape ShapeT; + +- // Wrapper methods +- inline uint32_t Hash(Key key) { +- if (Shape::UsesSeed) { +- return Shape::SeededHash(key, GetHeap()->HashSeed()); +- } else { +- return Shape::Hash(key); +- } +- } +- +- inline uint32_t HashForObject(Key key, Object* object) { +- if (Shape::UsesSeed) { +- return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object); +- } else { +- return Shape::HashForObject(key, object); +- } +- } ++ // Wrapper methods. Defined in src/objects-inl.h ++ // to break a cycle with src/heap/heap.h. ++ inline uint32_t Hash(Key key); ++ inline uint32_t HashForObject(Key key, Object* object); + + // Returns a new HashTable object. + MUST_USE_RESULT static Handle New( +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects-inl.h qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects-inl.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/v8/src/objects-inl.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-gcc7/src/3rdparty/chromium/v8/src/objects-inl.h 2017-03-06 02:05:57.992392424 +0100 +@@ -38,6 +38,25 @@ + namespace v8 { + namespace internal { + ++template ++uint32_t HashTable::Hash(Key key) { ++ if (Shape::UsesSeed) { ++ return Shape::SeededHash(key, GetHeap()->HashSeed()); ++ } else { ++ return Shape::Hash(key); ++ } ++} ++ ++template ++uint32_t HashTable::HashForObject(Key key, ++ Object* object) { ++ if (Shape::UsesSeed) { ++ return Shape::SeededHashForObject(key, GetHeap()->HashSeed(), object); ++ } else { ++ return Shape::HashForObject(key, object); ++ } ++} ++ + PropertyDetails::PropertyDetails(Smi* smi) { + value_ = smi->value(); + } diff --git a/qtwebengine-opensource-src-5.8.0-webrtc-neon-detect.patch b/qtwebengine-opensource-src-5.8.0-webrtc-neon-detect.patch new file mode 100644 index 0000000..8e26dbe --- /dev/null +++ b/qtwebengine-opensource-src-5.8.0-webrtc-neon-detect.patch @@ -0,0 +1,32 @@ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn qtwebengine-opensource-src-5.8.0-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/BUILD.gn 2017-03-05 17:08:43.547748044 +0100 +@@ -108,9 +108,7 @@ + if (is_linux) { + defines += [ "WEBRTC_THREAD_RR" ] + +- if (!build_with_chromium) { +- deps += [ ":cpu_features_linux" ] +- } ++ deps += [ ":cpu_features_linux" ] + + libs += [ "rt" ] + } +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp qtwebengine-opensource-src-5.8.0-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-webrtc-neon-detect/src/3rdparty/chromium/third_party/webrtc/system_wrappers/system_wrappers.gyp 2017-03-05 17:07:01.869254856 +0100 +@@ -112,12 +112,8 @@ + 'defines': [ + 'WEBRTC_THREAD_RR', + ], +- 'conditions': [ +- ['build_with_chromium==0', { +- 'dependencies': [ +- 'cpu_features_webrtc.gyp:cpu_features_linux', +- ], +- }], ++ 'dependencies': [ ++ 'cpu_features_webrtc.gyp:cpu_features_linux', + ], + 'link_settings': { + 'libraries': [ '-lrt', ], diff --git a/qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch b/qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch new file mode 100644 index 0000000..f679530 --- /dev/null +++ b/qtwebengine-opensource-src-5.8.0-wtf-gcc7.patch @@ -0,0 +1,12 @@ +diff -ur qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/wtf/LinkedHashSet.h qtwebengine-opensource-src-5.8.0-wtf-gcc7/src/3rdparty/chromium/third_party/WebKit/Source/wtf/LinkedHashSet.h +--- qtwebengine-opensource-src-5.8.0/src/3rdparty/chromium/third_party/WebKit/Source/wtf/LinkedHashSet.h 2017-01-03 10:28:53.000000000 +0100 ++++ qtwebengine-opensource-src-5.8.0-wtf-gcc7/src/3rdparty/chromium/third_party/WebKit/Source/wtf/LinkedHashSet.h 2017-03-07 03:00:44.783316233 +0100 +@@ -542,6 +542,8 @@ + return *this; + } + ++inline void swapAnchor(LinkedHashSetNodeBase& a, LinkedHashSetNodeBase& b); ++ + template + inline void LinkedHashSet::swap(LinkedHashSet& other) + { diff --git a/sources b/sources index 7782518..805aa50 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -323e546bcefd533a973bc07c94793bb8 qtwebengine-opensource-src-5.7.1-clean.tar.xz +SHA512 (qtwebengine-opensource-src-5.8.0-clean.tar.xz) = 18a49156da8d2e21fb0fe4781646c753c82d616964dd14b0651a1097b2a79a5ddb852dbdcc838d1e9e9a4ec460dd77fbab78a03672f5e827ab061fdf97db4a25