summaryrefslogtreecommitdiff
path: root/chromium
Commit message (Collapse)AuthorAgeFilesLines
* <tools/grit> GRIT: Allow grd files outside of chromium source dir.Zeno Albisser2014-06-041-0/+6
| | | | | | | | | | | | | | | | | When replacing substrings with values from a dictionary, the replacements should not be truncated to the length of src_root_dir. If the basename does not exist as a key in the resource_ids file, then fall back to an absolute path. The precedence is like: file in chromium > file basename > absolute file name. THIS SHOULD BE UPSTREAMABLE. Change-Id: I7d1da8c04515807000742aac4a6fa4db7616fd13 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <tools/gyp> Allow letting qmake do the link stepJocelyn Turcotte2014-06-041-0/+43
| | | | | | | | | | | This adds a let_qmake_do_the_linking target variable to tell ninja not to link but rather dump the linking information from gyp in a file that we'll parse with qmake. Reviewed-by: Zoltan Arvai <zarvai@inf.u-szeged.hu> Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I753888776679e449d7a64b6bf5b47e7a60dfa827 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <tools/gyp> Add support for libc++ to xcode_emulation.pyZeno Albisser2014-06-041-0/+3
| | | | | | Change-Id: Ifbe063950d14d8388e3c8c1d6cebdfae5cbdb8ae Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <tools/gyp> Fix build with toplevel-dirPierre Rossi2014-06-041-1/+6
| | | | | Change-Id: I3fcbf166978cf20f7a07d7e6bda135864054e9c1 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/icu> Do not use icu-config on eLinuxAndras Becsi2014-06-041-0/+4
| | | | | | | We require that the icu libs are in the default library seach path. Change-Id: Ia4981781f4239617831909da1250a61191a8c7dd Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/openssl> Use chacha_vec.c to avoid hard/soft float mismatch.Zeno Albisser2014-06-041-1/+12
| | | | | | | | | | But fall back to chacha_vec_arm.S when arm_neon_optional is used. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I1ea1f03d687c4b39fe4a322abb8ddb91113a1828 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/libvpx> LIBVPX: Add path for QtWebEngine build in Windows ↵Zoltan Arvai2014-06-041-0/+2
| | | | | | | | specific actions Change-Id: I1bcc9cbb77b10e9e60d60900b9cfd8ce283947b0 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/WebKit> Use compositor for page popups.jbauman@chromium.org2014-06-042-0/+100
| | | | | | | | | | | | | This is essentially the last user of the legacy 2d path. BUG=271140 Review URL: https://codereview.chromium.org/171343003 git-svn-id: svn://svn.chromium.org/blink/trunk@167552 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I131a9b5ea7487d093c716b9d50933d1ff609c1a9 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Use compositor with select popups.jbauman@chromium.org2014-06-042-24/+104
| | | | | | | | | | | | BUG=271575 Review URL: https://codereview.chromium.org/132173005 git-svn-id: svn://svn.chromium.org/blink/trunk@165977 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: Ic26c7821ba5bb5c377c324423d63090ed2f31ffe Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Disable "rubber-banding" on MacAndras Becsi2014-06-041-1/+0
| | | | | | | | | Rubber-banding is the scrolling effect on Mac when overscrolling which does not work with Qt and also causes a crash with branch 1750. Disable the feature for now. Change-Id: I89f315c2dbb1ed4362b96201566acc784e4bdf96 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Add missing dependency to khronos_headersAndras Becsi2014-06-041-0/+2
| | | | | | | | | This is needed since https://codereview.chromium.org/106503003 and because of our chromium patch that fixes the build with a GL ES2 configured Qt. Change-Id: I2dfa1afe1bb58227656fee798a5d2549f88c3f9d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <third_party/WebKit> Overrideable path for perl, gperf and bison.Zoltan Arvai2014-06-041-3/+3
| | | | | | Change-Id: I9997c3dead0f7d37c2a3c45082d5114d0f1632cf Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* <third_party/WebKit> Remove leftovers from WebKitSystemInterfaceZeno Albisser2014-06-041-5/+0
| | | | | Change-Id: I4a494bcda0e963430ab997664728d2a96f72188f Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Fix Renderer and GPU threads on windowsPeter Varga2014-06-044-2/+10
| | | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I8b04ba9070912378cf1d13173ddff48e98f9a49b Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Adjust gyp defines for eLinux.Zeno Albisser2014-06-047-5/+21
| | | | | | | | | | | | | - Add Raspberry PI chipset to list of defined platforms. - Make sure to include sources for xdg support. - Do not use pkg-config-wrapper, as our sysroot pkg-config already returns absolute paths. - Use openssl for eLinux. - Use fontconfig and freetype2 for eLinux. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: Ic5266f818432b4432ed1d8a1ac07f434cb5b86e6 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Do not directly override libc symbols from the library.Zeno Albisser2014-06-042-35/+1
| | | | | | | | | Instead we export _override symbols and add the symbol renaming directly into the QtWebEngineProcess source. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I15049609dd77be6de2a2398f25a37fff1b6f5519 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> fixup select elements.Pierre Rossi2014-06-042-3/+3
| | | | | | | | | | | We use RenderWidgetHostViewQt, not RWHVMac, even on Mac. Since some platform decisions seem to have transpired all the way to the content layer, we should simply use the web ui for select elements on mac for the time being. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: Ib430f8686862cf0958ccdbfefb8bfa36af590e97 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Cherry-pick https://codereview.chromium.org/137433002 from upstreamAndras Becsi2014-06-041-1/+3
| | | | | | | | | | | | | | This fixes the build with a cross compiler toolchain. We do not require the functionality of this script but gyp tries to run it and fails if the specified file does not exist. As the upstream issue mentions, this script is "going away soonish", until then we can keep this patch around. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I5de88fcaf750bad4eec2d72a134a86f75a30453e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Get rid of the gtk/pango/cairo dependencyAndras Becsi2014-06-044-4/+7
| | | | | | | | This also removes the aura dependency to chrome resources since we repack the needed resources ourselves. Reviewed-by: Zeno Albisser <zeno.albisser@digia.com> Change-Id: I0368bb36948ba9612040ed869ef818d4b8471b9b
* <chromium> Update clipboard.h to allow building clipboard_qt.cpp on all ↵Jocelyn Turcotte2014-06-041-2/+9
| | | | | | | | platforms Reviewed-by: Simon Hausmann <simon.hausmann@digia.com> Change-Id: I5fecc09e245b75d0fec16756f8d6e6b8f71a143e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Remove the Running without renderer sandbox error messageJocelyn Turcotte2014-06-041-1/+0
| | | | | | | | | We are currently not planing to enable the sandbox and the error pollutes the auto tests output. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I2675aa2e03394f1c03e4df6bd1b21764ed19206a Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Blacklist the skypebuttons pluginJocelyn Turcotte2014-06-041-0/+1
| | | | | | | | | | | | | | | Even though plugins are disabled it happens that the libraries are loaded and cause a crash since skypebuttons pulls Qt4 with it on Linux and creates a dynamic linking error conflicting with Qt5 symbols. Add the plugin library name to the blacklist to avoid it being loaded altogether. We have a similar fix in QtWebKit doing the same thing. Reviewed-by: Andras Becsi <andras.becsi@digia.com> Change-Id: I45abf31c4e94a8b61aff85765a91436dabae1b2e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Declare a Qt IPC message classJocelyn Turcotte2014-06-041-0/+1
| | | | | | | | This allows Qt-specific IPC messages to be declared in QtWebEngine. Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com> Change-Id: I1b401c9c05efc8339c5cacf50f087890447b68a6 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add seams to setup GL contexts sharing with QtQuick.Jocelyn Turcotte2014-06-044-3/+20
| | | | | | | | | This will allow us to know right before the first GL context is instantiated by Chromium so that we can install those contexts to be shared with QtQuick GL contexts as well. Change-Id: Id55337a7b42d25ac084698a23dbfab06cb273505 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add accessors for the Qt delegated renderer integration.Jocelyn Turcotte2014-06-043-0/+14
| | | | | | | | This is needed to fetch the MessageLoop, the MailboxManager and the SyncPointManager of the GPU in-process host. Change-Id: I7f38e32b2df11da5b046f16643841d34260c11fb Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Hide the definition of MessagePumpX11::GetDefaultXDisplayAndras Becsi2014-06-041-0/+3
| | | | | | | | This should replace patch 0011 since we do not build GTK code any more. Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com> Change-Id: I08ba240fd24e2bd644229458a316fb5886dbd82b Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Fix the build with a GL ES2 configured Qt.Jocelyn Turcotte2014-06-046-1/+29
| | | | | | | | | | | | | | | | | | | | GLES/gl2.h is included through Qt public headers and the copy of Chromium is used since its include path comes before /usr/include. The problem is that this header is incompatible for some reasons, one of them being that it converts all GL function symbols from gl* to GLES2*. Qt layer code should always need to go through GL directly, so make sure that only GYP targets that depend directly on gpu.gyp, khronos.gyp or webkit_gpu.gyp will have an include path pointing to those headers. Replace all_dependent_settings with direct_dependent_settings and control which target inherits this include_dirs from its dependencies by using export_dependent_settings. Change-Id: I82ae8a5a62f7d968375b971757b2126670a02461 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Solve conflicts when including both QtOpenGL headers and ↵Jocelyn Turcotte2014-06-047-33/+41
| | | | | | | | | | resource_provider.h If resource_provider.h is going to be used to integrate delegated frame to external compositors, it should avoid conflicting with the system's gl.h. Change-Id: Ie37d6cde263157e6717cc006a0896f0b9ebdaa5d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Build files necessary for touch and gestures.Jocelyn Turcotte2014-06-043-4/+14
| | | | | | | | Also guard the use of MessagePumpAuraX11 in events_x.cc. We need to build it to get symbols depending on base::NativeEvent. Change-Id: Ib7bb4fb1fc8692df1b8151c3d159de3d0f73076f Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Do not modify the child path.Zeno Albisser2014-06-041-1/+1
| | | | | | | | | | We currently only have a single process binary for Qt. Therefore we should not choose a different binary based on required privileges. However, this patch can only be a preliminary solution. May be we should instead implement our own ChildProcessHost. Change-Id: I03af6257c7be04ab09c9828d707d30430961a17c Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Mac: Use libc++ instead of stdlibc++.Zeno Albisser2014-06-043-15/+44
| | | | | | | | | | | | | - Add a missing include file to process_iterator_mac.cc. - Disable Chromium clang plugins. - Add a use_libcpp variable to common.gypi that can be used to build with libc++ instead of libstdc++. In this case several warnings also must be disabled. - ext/hash_map and ext/hash_set are deprecated. Use unordered containers as a replacement. Change-Id: Ief9e8901d0463f2bb62a5960cde03543b3999be1 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* <chromium> Add WebEngineContext to RunLoop's friends.Jocelyn Turcotte2014-06-041-0/+3
| | | | | Change-Id: I2bb2600637ac5a3473273789cd61c257d682b702 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Update Chromium snapshot to stable version 33.0.1750.170Andras Becsi2014-06-04140-955/+835
| | | | | | | | | | | | | | | This is meant as a baseline commit hence it does not include the patches we need to apply for QtWebEngine. All patches should be rebased on top of this commit so we can get rid of the external patches directory. In future these baseline commits always have to include the exact Chromium version returned by version_resolver.py's currentVersion() in their first line, so that we can retrieve the patches on top to apply on the upstream repository. This also includes a ninja update. Change-Id: I60abeadb785a3b7d149c58b65ddb5a823fed3083 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* fix ARMv6 detection for v8.Zeno Albisser2014-05-191-1/+3
| | | | | | | | | | | | The linux kernel now reports the processor information in "model name" and not in "Processor" anymore. Both should be checked for backwards compatibility. As described by: https://code.google.com/p/v8/issues/detail?id=3112#c16 Change-Id: I8828c1a567281e0d7000106338a2033627e8e397 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix Renderer and GPU threads on windowsPeter Varga2014-05-163-1/+9
| | | | | | | | | | | | These threads are using the UI message loop on Windows per default. This won't work since the UI message loop is handled by Qt and the Renderer and GPU threads won't work with it properly. Force these threads for using the default message loop as they use it on Linux platform. Change-Id: Ie3582583e5d1644faa2875e015a0908ba148d91f Reviewed-by: Andras Becsi <andras.becsi@digia.com> Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Fix chrome_FileThread crash on windowsPeter Varga2014-05-141-1/+1
| | | | | | | | | The file thread won't do anyting if it uses the Qt event loop therefore it won't quit properly and this behavior leads to a crash. Thus the chromium's IO message loop should be used on Windows too. Change-Id: Ieea0ceb8bd732ed6c9ca172620511d78b0a5d95c Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix the QtWebEngine build with the new yocto toolchain.Andras Becsi2014-05-141-1/+1
| | | | | | | Gyp needs pkg-config-wrapper now also on eLinux. Change-Id: Ib4dc7661cde6cd28d156b9a23845aa36f772b55e Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Remove pkg-config libpci and icu-configAndras Becsi2014-05-062-0/+8
| | | | | | | | This should be squashed into the patch: "Adjust gyp defines for eLinux" Change-Id: If31516e8fe6f3c1bbd25a92d941d8627d5fb061d Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* Add files needed for WebRTC to the snapshot.Pierre Rossi2014-04-293-0/+199
| | | | | | | | | The desktop/screen capture in WebRTC is implemented in a self contained way in the chrome layer, and there is no point in copying it. We just need to ensure we ship it in our snapshot. Change-Id: Ia17b905317fb0c2b142c672a0c79d33e0ee01f68 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Include atomicops_internals_x86_gcc.cc when compiling for ia32Andras Becsi2014-04-281-0/+5
| | | | | | | | This is needed for the embedded emulators and should be squashed with the corresponding patch on the next update. Change-Id: I9ece131df6ba23045dad741278651399a67639e7 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* only use chacha_vec.c when arm_float_abi==hardZeno Albisser2014-04-281-3/+3
| | | | | Change-Id: Id0eb1d6f7f25944ca2ad37d735ba4f07bcfcc191 Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Fix openssl build for arm_neon_optional=1Andras Becsi2014-04-241-1/+12
| | | | | | | | This patch should be squashed with the chacha_vec.c patch when updating chromium the next time. Change-Id: Iddadeab6242be9d08dc985f487242f68cf05c9c8 Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>
* fix gyp expression for pkg-config.Zeno Albisser2014-04-231-1/+1
| | | | | | | | | | This patch should be squashed when updating chromium the next time. We do want to use the pkg-config-wrapper on eAndroid. Change-Id: Id2a56a82261c8e69fd3383e9029ff2dab1cefc8a Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Adjust gyp defines for eLinux.Zeno Albisser2014-04-238-7/+14
| | | | | | | | | | | | | - Add Raspberry PI chipset to list of defined platforms. - Make sure to include sources for xdg support. - Do not use pkg-config-wrapper, as our sysroot pkg-config already returns absolute paths. - Use openssl for eLinux. - Use fontconfig and freetype2 for eLinux. - Use chacha_vec.c to avoid hard/soft float mismatch. Change-Id: I8dd21c480922f32ac7111ea5582d82c249414caa Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
* Do not directly override libc symbols from the library.Zeno Albisser2014-04-232-35/+1
| | | | | | | | Instead we export _override symbols and add the symbol renaming directly into the QtWebEngineProcess source. Change-Id: I209a7dcf42772bb993e966f253dd2d1c7013dceb Reviewed-by: Andras Becsi <andras.becsi@digia.com>
* Prevent V8 from overridding the RuntimeLibrary cflagsJocelyn Turcotte2014-04-151-4/+4
| | | | | | | | | Since we're never going to statically link to the runtime library on Windows (unlink Chromium when built as a monolitic chrome.exe), make sure that our /M flag setting is also properly set for V8. Change-Id: Ia17073f6811f43aa264d08c270b1ab841a09408f Reviewed-by: Michael Bruning <michael.bruning@digia.com>
* [Backport] Use compositor for page popups.jbauman@chromium.org2014-04-092-0/+100
| | | | | | | | | | | | This is essentially the last user of the legacy 2d path. BUG=271140 Review URL: https://codereview.chromium.org/171343003 Change-Id: I64911d0d83b9d1d4782dff9b09db1bbcc439da24 git-svn-id: svn://svn.chromium.org/blink/trunk@167552 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* [Mac] fixup select elements.Pierre Rossi2014-04-092-3/+3
| | | | | | | | | | We use RenderWidgetHostViewQt, not RWHVMac, even on Mac. Since some platform decisions seem to have transpired all the way to the content layer, we should simply use the web ui for select elements on mac for the time being. Change-Id: Iefe1dd3b246fc210ac18ff9eb0e7ad498c061eac Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* [Backport] Use compositor with select popups.jbauman@chromium.org2014-03-312-24/+104
| | | | | | | | | | | BUG=271575 Review URL: https://codereview.chromium.org/132173005 git-svn-id: svn://svn.chromium.org/blink/trunk@165977 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Change-Id: I78b3354b1040b193c984b82db51c90b8183ebd24 Reviewed-by: Jocelyn Turcotte <jocelyn.turcotte@digia.com>
* Add perl to cygwinZoltan Arvai2014-03-282105-0/+899922
| | | | | | | On Windows third_party/WebKit build depends on cygwin's perl version. Change-Id: Icf6393906c0f977fca9ff652a8abca9dacb60765 Reviewed-by: Andras Becsi <andras.becsi@digia.com>