chromium: 64.0.3282.119 -> 64.0.3282.140

This commit is contained in:
Danny Rawlins 2018-02-05 12:58:35 +11:00
parent 93b6fe2d9d
commit 94dfd1e558
4 changed files with 24 additions and 55 deletions

View File

@ -1,8 +1,7 @@
d144ace1ee63acdf7dd149b013c83088 chromium-64.0.3282.119-constexpr-1.patch
5b72bcaba2ad920c524cd92a7a6125fe chromium-64.0.3282.119.tar.xz
1d054126448cceabc922625e54835a53 chromium-64.0.3282.140.tar.xz
27dbd1479d469346d1ffe27c7e7c0011 chromium-clang-r2.patch
21f73763be6c44ce3df0f1cbbfbff440 chromium-cups-r0.patch
3e30a8e6629c931a640d65d4ab02b939 chromium-exclude_unwind_tables.patch
cb40c4153943f9eb5e38e90ba2f8b382 chromium-memcpy-r0.patch
e42a8b91ea55b4765b9b2b9e2437a9d0 chromium-omnibox-unescape-fragment.patch
254061cb349cff714230b7cca83b0a4c chromium-skia-harmony.patch

View File

@ -1,12 +1,11 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/eMT5dMXGD/Cjir9qaOlX5vQrQjKugSDAZj9lj9orWVCuFEq4PqVk+EpjkiBaPE/Jaf/7fON+UzzsKTplp3ZRgs=
SHA256 (Pkgfile) = 1344a0a071676087345b642c05f74dfbd35ec97280bd74939a8c06b0b15c9538
RWSE3ohX2g5d/bEWr/oZRxzPFR+b9F9rIpyo8+rffsdlcDOb0jHHAQD8mwbqC1LcLr3svwaFM8xsWV8ResFO5THfaJkKnLClFwY=
SHA256 (Pkgfile) = f863f53f84dedf29eff377d5efa68d92e9ff9e5d63cb3823d298d88d8949bb71
SHA256 (.footprint) = e1e6cdeeb1dc4e10e1b0f3e743f69fae1c35e4db1f455cd9e65e5bf0387d9d7e
SHA256 (chromium-64.0.3282.119.tar.xz) = 342ea80a925d85f5155b2b423a0d3cbcf2ee5729bf107c601d7d902315d03127
SHA256 (chromium-64.0.3282.140.tar.xz) = 146afbab37982c52251e5c71b6e19e6e7053b527217fe1da9966c794478c29ce
SHA256 (last-commit-position.patch) = d3dc397956a26ec045e76c25c57a1fac5fc0acff94306b2a670daee7ba15709e
SHA256 (chromium.sh) = 7b182d0ae1e9ef841f8cd0b403a304babd548bf60b5e3808b2144bebdbb7c154
SHA256 (chromium-64.0.3282.119-constexpr-1.patch) = 9982464badc03879c5f73ed18a719661f00aad51da078bae032293e656bfaf6d
SHA256 (chromium-exclude_unwind_tables.patch) = 9478f1ec1a3c53425306cf41c2d0555c215a4f106955d9d6adfff38044530ce8
SHA256 (chromium-use-fromUTF8-for-UnicodeString-construction.patch) = c82c830bac7ab328a76d85fb141e150a17d02d97138a6daa4720a8a8c371a402
SHA256 (chromium-omnibox-unescape-fragment.patch) = 814eb2cecb10cb697e24036b08aac41e88d0e38971741f9e946200764e2401ae
SHA256 (chromium-skia-harmony.patch) = feca54ab09ac0fc9d0626770a6b899a6ac5a12173c7d0c1005bc3964ec83e7b3

View File

@ -4,12 +4,11 @@
# Depends on: dbus-glib gperf gtk gtk3 libevent libexif libgcrypt ninja nodejs nss pciutils speech-dispatcher xorg-libxscrnsaver xorg-libxt yasm
name=chromium
version=64.0.3282.119
version=64.0.3282.140
release=1
source=(https://commondatastorage.googleapis.com/$name-browser-official/$name-$version.tar.xz
last-commit-position.patch $name.sh
chromium-64.0.3282.119-constexpr-1.patch
chromium-exclude_unwind_tables.patch
chromium-use-fromUTF8-for-UnicodeString-construction.patch
chromium-omnibox-unescape-fragment.patch
chromium-skia-harmony.patch
@ -45,7 +44,10 @@ build() {
echo "LASTCHANGE=$_chrome_build_hash-" >build/util/LASTCHANGE
# https://chromium-review.googlesource.com/c/chromium/src/+/712575
patch -p1 -i $SRC/chromium-exclude_unwind_tables.patch
# _flags+=('exclude_unwind_tables=true')
CFLAGS+=' -fno-unwind-tables -fno-asynchronous-unwind-tables'
CXXFLAGS+=' -fno-unwind-tables -fno-asynchronous-unwind-tables'
CPPFLAGS+=' -DNO_UNWIND_TABLES'
# https://crbug.com/772655
patch -p1 -i $SRC/chromium-use-fromUTF8-for-UnicodeString-construction.patch
@ -64,19 +66,22 @@ build() {
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/
# for LIB in ffmpeg flac harfbuzz-ng libjpeg libjpeg_turbo libpng libwebp libxslt yasm; do
# find -type f -path "*third_party/$LIB/*" \
# \! -path "*third_party/$LIB/chromium/*" \
# \! -path "*third_party/$LIB/google/*" \
# \! -path "*base/third_party/icu/*" \
# \! -regex '.*\.\(gn\|gni\|isolate\|py\)' \
# -delete
# done
local LIB
for LIB in libjpeg libjpeg_turbo yasm; do
find -type f -path "*third_party/$LIB/*" \
\! -path "*third_party/$LIB/chromium/*" \
\! -path "*third_party/$LIB/google/*" \
\! -path './base/third_party/icu/*' \
\! -path './third_party/yasm/run_yasm.py' \
\! -regex '.*\.\(gn\|gni\|isolate\)' \
\! -path './third_party/freetype/src/src/psnames/pstables.h' \
-delete
done
# /usr/bin/python2 build/linux/unbundle/replace_gn_files.py \
# --system-libraries ffmpeg flac harfbuzz-ng libjpeg libxml libevent \
# libpng libwebp libxslt opus yasm freetype
# /usr/bin/python2 third_party/libaddressinput/chromium/tools/update-strings.py
/usr/bin/python2 build/linux/unbundle/replace_gn_files.py \
--system-libraries libjpeg libxml libevent yasm
/usr/bin/python2 third_party/libaddressinput/chromium/tools/update-strings.py
_gn_args=(
'blink_gc_plugin=false'
@ -99,7 +104,6 @@ build() {
'use_gconf=false'
'use_gnome_keyring=false'
'use_gold=false'
'use_gtk3=true'
'use_kerberos=false'
'use_pulseaudio=false'
'use_sysroot=false'

View File

@ -1,33 +0,0 @@
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni
index ad40fd9..50e19a4 100644
--- a/build/config/compiler/compiler.gni
+++ b/build/config/compiler/compiler.gni
@@ -68,19 +68,19 @@
# Whether or not we should use position independent code.
use_pic = true
+
+ # Exclude unwind tables for official builds as unwinding can be done from
+ # stack dumps produced by Crashpad at a later time "offline" in the crash
+ # server. For unofficial (e.g. development) builds and non-Chrome branded
+ # (e.g. Cronet which doesn't use Crashpad, crbug.com/479283) builds it's
+ # useful to be able to unwind at runtime.
+ exclude_unwind_tables =
+ (is_chrome_branded && is_official_build) ||
+ (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
}
assert(!is_cfi || use_thin_lto, "CFI requires ThinLTO")
-# Exclude unwind tables for official builds as unwinding can be done from stack
-# dumps produced by Crashpad at a later time "offline" in the crash server.
-# For unofficial (e.g. development) builds and non-Chrome branded (e.g. Cronet
-# which doesn't use Crashpad, crbug.com/479283) builds it's useful to be able
-# to unwind at runtime.
-exclude_unwind_tables =
- (is_chrome_branded && is_official_build) ||
- (is_chromecast && !is_cast_desktop_build && !is_debug && !is_fuchsia)
-
# If true, optimize for size. Does not affect windows builds.
# Linux & Mac favor speed over size.
# TODO(brettw) it's weird that Mac and desktop Linux are different. We should