chromium: update to 66.0.3359.139.

This commit is contained in:
Duncaen 2018-05-07 14:42:59 +02:00
parent a8942069be
commit 66f7041349
6 changed files with 22 additions and 92 deletions

View File

@ -1,29 +0,0 @@
From 9f63f94a11abc34d40ede8b8712fa15b5844a8c0 Mon Sep 17 00:00:00 2001
From: Tom Anderson <thomasanderson@chromium.org>
Date: Sat, 27 Jan 2018 20:03:37 +0000
Subject: [PATCH] Fix build with glibc 2.27
BUG=806340
TBR=hamelphi@chromium.org
Change-Id: Ib4e5091212d874d9ad88f3e9a1fdfee3ed7e0d5e
Reviewed-on: https://chromium-review.googlesource.com/890059
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Reviewed-by: Philippe Hamel <hamelphi@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#532249}
---
diff --git a/components/assist_ranker/ranker_example_util.cc b/components/assist_ranker/ranker_example_util.cc
index 54d4dbd..ceedd8f 100644
--- components/assist_ranker/ranker_example_util.cc
+++ components/assist_ranker/ranker_example_util.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <math.h>
+
#include "components/assist_ranker/ranker_example_util.h"
#include "base/bit_cast.h"
#include "base/format_macros.h"

View File

@ -1,21 +0,0 @@
From 0235c2b657d936f3cdb09053776e5929fc84704b Mon Sep 17 00:00:00 2001
From: Tomas Popela <tomas.popela@gmail.com>
Date: Wed, 31 Jan 2018 18:57:07 +0000
Subject: [PATCH] Add missing stdint include
diff --git a/chrome/browser/vr/sample_queue.cc b/chrome/browser/vr/sample_queue.cc
index c2ca777ce90c..53cb3aab1576 100644
--- chrome/browser/vr/sample_queue.cc
+++ chrome/browser/vr/sample_queue.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "chrome/browser/vr/sample_queue.h"
namespace vr {
--
2.16.2

View File

@ -1,15 +1,15 @@
--- tools/gn/bootstrap/bootstrap.py.orig 2017-07-27 13:55:19.732276359 +0000 --- tools/gn/bootstrap/bootstrap.py.orig
+++ tools/gn/bootstrap/bootstrap.py 2017-07-27 13:59:19.903262044 +0000 +++ tools/gn/bootstrap/bootstrap.py
@@ -167,7 +167,7 @@ @@ -184,7 +184,7 @@
mkdir_p(root_gen_dir) {'ENABLE_MUTEX_PRIORITY_INHERITANCE': 'false'})
write_buildflag_header_manually(root_gen_dir, 'base/allocator/features.h', write_buildflag_header_manually(root_gen_dir, 'base/allocator/buildflags.h',
- {'USE_ALLOCATOR_SHIM': 'true' if is_linux else 'false'}) - {'USE_ALLOCATOR_SHIM': 'true' if is_linux else 'false'})
+ {'USE_ALLOCATOR_SHIM': 'false' }) + {'USE_ALLOCATOR_SHIM': 'false' })
write_buildflag_header_manually(root_gen_dir, 'base/debug/debugging_flags.h', write_buildflag_header_manually(root_gen_dir,
{ 'base/debug/debugging_buildflags.h',
@@ -396,8 +396,6 @@ @@ -438,8 +438,6 @@
'base/third_party/superfasthash/superfasthash.c', 'base/third_party/superfasthash/superfasthash.c',
]) ])
static_libraries['base']['sources'].extend([ static_libraries['base']['sources'].extend([
@ -18,8 +18,8 @@
'base/at_exit.cc', 'base/at_exit.cc',
'base/base_paths.cc', 'base/base_paths.cc',
'base/base_switches.cc', 'base/base_switches.cc',
@@ -607,26 +605,6 @@ @@ -641,26 +639,6 @@
'base/time/time_now_posix.cc', 'base/time/time_conversion_posix.cc',
'base/trace_event/heap_profiler_allocation_register_posix.cc', 'base/trace_event/heap_profiler_allocation_register_posix.cc',
]) ])
- static_libraries['libevent'] = { - static_libraries['libevent'] = {
@ -44,11 +44,11 @@
- } - }
if is_linux or is_aix: if is_linux or is_aix:
ldflags.extend(['-pthread']) static_libraries['xdg_user_dirs'] = {
@@ -654,17 +632,7 @@ @@ -767,17 +745,7 @@
'base/threading/platform_thread_linux.cc', '-D_LIBCXXABI_NO_EXCEPTIONS',
]) ]
if is_linux: }
- static_libraries['base']['sources'].extend([ - static_libraries['base']['sources'].extend([
- 'base/allocator/allocator_shim.cc', - 'base/allocator/allocator_shim.cc',
- 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', - 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc',
@ -62,10 +62,10 @@
- ]) - ])
+ libs.extend(['-lrt', '-levent']) + libs.extend(['-lrt', '-levent'])
else: else:
ldflags.extend(['-pthread'])
libs.extend(['-lrt']) libs.extend(['-lrt'])
static_libraries['base']['sources'].extend([ --- base/message_loop/message_pump_libevent.cc.orig
--- base/message_loop/message_pump_libevent.cc.orig 2016-11-17 01:07:57.633819544 +0100 +++ base/message_loop/message_pump_libevent.cc
+++ base/message_loop/message_pump_libevent.cc 2016-11-17 01:08:38.985851678 +0100
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
#include "base/files/file_util.h" #include "base/files/file_util.h"
#include "base/logging.h" #include "base/logging.h"

View File

@ -81,23 +81,3 @@
#include <cxxabi.h> #include <cxxabi.h>
#include <dlfcn.h> #include <dlfcn.h>
#include <execinfo.h> #include <execinfo.h>
--- third_party/webrtc/rtc_base/checks.cc.orig
+++ third_party/webrtc/rtc_base/checks.cc
@@ -16,7 +16,7 @@
#include <cstdio>
#include <cstdlib>
-#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
+#if defined(__GLIBC__) && defined(__GLIBCXX__) && !defined(__UCLIBC__)
#include <cxxabi.h>
#include <execinfo.h>
#endif
@@ -60,7 +60,7 @@
// to get usable symbols on Linux. This is copied from V8. Chromium has a more
// advanced stace trace system; also more difficult to copy.
void DumpBacktrace() {
-#if defined(__GLIBCXX__) && !defined(__UCLIBC__)
+#if defined(__GLIBC__) && defined(__GLIBCXX__) && !defined(__UCLIBC__)
void* trace[100];
int size = backtrace(trace, sizeof(trace) / sizeof(*trace));
char** symbols = backtrace_symbols(trace, size);

View File

@ -1,7 +1,7 @@
misdetected on musl... misdetected on musl...
--- third_party/vulkan-validation-layers/src/loader/loader.c.orig 2017-07-25 19:06:31.000000000 +0000 --- third_party/angle/third_party/vulkan-validation-layers/src/loader/loader.c.orig 2017-07-25 19:06:31.000000000 +0000
+++ third_party/vulkan-validation-layers/src/loader/loader.c 2017-07-27 16:20:54.721755713 +0000 +++ third_party/angle/third_party/vulkan-validation-layers/src/loader/loader.c 2017-07-27 16:20:54.721755713 +0000
@@ -214,9 +214,9 @@ @@ -214,9 +214,9 @@
// the inst pointer to get rid of compiler warnings. // the inst pointer to get rid of compiler warnings.
(void)inst; (void)inst;

View File

@ -1,14 +1,14 @@
# Template file for 'chromium' # Template file for 'chromium'
pkgname=chromium pkgname=chromium
# See http://www.chromium.org/developers/calendar for the latest version # See http://www.chromium.org/developers/calendar for the latest version
version=65.0.3325.181 version=66.0.3359.139
revision=1 revision=1
short_desc="Google's attempt at creating a safer, faster, and more stable browser" short_desc="Google's attempt at creating a safer, faster, and more stable browser"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.chromium.org/" homepage="http://www.chromium.org/"
license="BSD" license="BSD"
distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz"
checksum=93666448c6b96ec83e6a35a64cff40db4eb92a154fe1db4e7dab4761d0e38687 checksum=be75a5b5f8c5789d359238f374a43bf52ded49425f13ed68b8021c24e2e264b2
only_for_archs="i686 x86_64 x86_64-musl" only_for_archs="i686 x86_64 x86_64-musl"
lib32disabled=yes lib32disabled=yes