summaryrefslogtreecommitdiff
path: root/www-client/chromium
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-23 07:00:28 +0100
commite23cdda4dbb0c83b9e682ab5e916085a35203da5 (patch)
tree5a4ac448a3b288b731c24d947e0ce52df3cab07b /www-client/chromium
parent8187a741807f3e9a9e26304973cf18087dcf2560 (diff)
gentoo resync : 23.06.2018
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/Manifest12
-rw-r--r--www-client/chromium/chromium-67.0.3396.87.ebuild2
-rw-r--r--www-client/chromium/chromium-69.0.3452.0.ebuild (renamed from www-client/chromium/chromium-67.0.3396.79.ebuild)31
-rw-r--r--www-client/chromium/chromium-69.0.3464.0.ebuild (renamed from www-client/chromium/chromium-67.0.3396.62.ebuild)36
-rw-r--r--www-client/chromium/files/chromium-compiler-r3.patch182
-rw-r--r--www-client/chromium/files/chromium-disable_xml_catalogs.patch23
6 files changed, 247 insertions, 39 deletions
diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
index 1bb99d091d0c..5628d20c7e33 100644
--- a/www-client/chromium/Manifest
+++ b/www-client/chromium/Manifest
@@ -1,7 +1,9 @@
AUX chromium-browser.xml 407 BLAKE2B 168d78b0855546ca559cfb51aff0bc85d5e6ae974c25eb76e4a02f6d11659489c6e40397a0b2f7bc1fda336fd2c6dd8c863fccc3340719210b41c7fef51927f4 SHA512 b767fb4fd1925029d95560fc14cb7ab12ae43b2fe923e92d75e733b9723cbe1dcdf6df041a2b62554e98b79b47ef3f6028c773e72e6fd53166a021d49657aeca
AUX chromium-compiler-r0.patch 5681 BLAKE2B d56abb6f816cfb530e583b5e59c7719f766ed0ce198f1caf3043cde38115fabb8f776f57946abf57f7430259ac0bb7c7c44602198d9a5e1f3ac942c4f1da366f SHA512 01a799b1ae1dd4042fffb0307207089c99d568289e20677ff7436767da9ee16cc6491f759d0b7447b59b53d44cbd235053078aa7dfdfcbc66eb9cd2d73ab8857
AUX chromium-compiler-r2.patch 5649 BLAKE2B 211945cbb207e956517470210d97b2dbbf6c496f71cacda7f2fa288e5ba631a791a0e60214e982d4f91c4db723dd5c4aaa2e9f51423d2e63fce8b334687170f8 SHA512 563017b56d410080ae3bee8053cb65f0308d841b96222cb6ea7e444cfd066dbd8c6161489240c778de63794ada76c90189fd794001d4fe50ab875251c0b7f41f
+AUX chromium-compiler-r3.patch 6170 BLAKE2B 51bb86d462a4da19adab669217529e09a227a53f7eb6c9adf2b98bc5426181fef869e23a8ffa240952c2d3dd5b0bde957909a946e0db51eb3dcb300a562b098c SHA512 a64743d003bfe90750d446b12be1a64f458ac35185d4cba222e98632bc097550a880cdf2d3f25474c932d7af02208a30be32fc3b05b7865394bfc109af5a55a3
AUX chromium-cors-string-r0.patch 1819 BLAKE2B 80f68395eebbc8425dd5d17c46364bc8d3f8cb657c4e4ffe94a221a22f006f15eb6aad68160e0da767a23276ebd6a4efb6fe2d468501c48571b32bf8c17486c9 SHA512 06314e759c7073d19bb18f41713e43ca34e608ebec4d269cecb7d592e84fe7f10e839e1c3824c574e938746b26a6f2f9d6361f7d21b5698b917c7b3e0fe87b94
+AUX chromium-disable_xml_catalogs.patch 738 BLAKE2B c756c9c6c97da3cb1ec771a25b91ecec2d4792b4d925bd5135cf36910e73dd19a2e8187101c474b756d52042a2f42b93248e0e7b2a8bb46eba4669f64d42dc3a SHA512 c2cef0ccb124d1417ee9cf02be2114c193b3f42887bbddee40dfde8531a35ee3c1891db58fb8b398a6dcc881740244166b63b520221c548d1f29accd7702014d
AUX chromium-ffmpeg-clang.patch 840 BLAKE2B cd0af6414462be4ee0cbb46e0c43b705f6883ed42a536747a5ab5a9a6c52727c521aca92bce61b55cf68be6dbac665a41846fd8907335e1dd34b452f973b624e SHA512 e02bc169ef60af8f48b67ed36a7f0e1232fcfc2c59fd48de5cc6c0a267fe29eccd7971a2692ce07c34cf07d5bf416389e10442bf2658822b3fbd27dd623ea91a
AUX chromium-ffmpeg-r1.patch 528 BLAKE2B c6cbbbb13093b10d0d8e95bd382dbc7f9afb6634802f6560a7b5886482c912cb493aed4c231b4c781b89de6dcf4200b17ba9315e337a3f73e8fdca12dceb80fb SHA512 1dc7dd844e8e0aec379ace3a163200735bbab0644f9d02fa0736f91a4156e9cede5b66eb6a015f8679ecd26dab2345b82ed181591bb78a1e88d3cc0174237ea0
AUX chromium-launcher-r3.sh 1199 BLAKE2B 85f57b380cdc25bd000cf57d3c129b67f6e55d96dd958190040b0680f8d4d358ac777e0c1ebd6a1b32dd3821a377bcf9f598e073584528d0480460978c4c1fb1 SHA512 f1909314ae74985c85740d26c9bfab694f3202de8ccc392a1c4ec5c8760db21b6cc46146c78a9abebd09e6d24f37e19466f0c4d2d61815400b48d859f8ce154d
@@ -13,14 +15,14 @@ AUX chromium-stdint.patch 623 BLAKE2B a4bc24a472bef266cc8e67fde8249b17dcd407fd86
AUX chromium-webrtc-r0.patch 972 BLAKE2B 1c49db0ba631c8e517a5b361e2882e7f00d9b018af2bbe7e701b878b78f1480317bfb6394b0184b49da3c4361acebf6f6eb164b12246a61a9b205e209d8e598b SHA512 325e269e6c24e9d3103ae360653e0bda764356655534be08cfe308d8c63ed8c93c80c09f58d023afbc6e141f7cbe5b86f7983c57b8f6c794b7675d332439b051
AUX chromium-widevine-r2.patch 1488 BLAKE2B fc4dc6ce40b2d2a152a0bbc5958d8050d9a7f4176cd0121d81ae1a9e76d361c064f54e034fb9213fc802e0a4b1b8d661788dbe9089daf8b197414724a057d4e4 SHA512 6fe8eb7b0e6c88e00d1b3dadf433b886c71cbf9b3dd4e712845a636a689cad6bc58fa8b20b412a1f7a8a1b649bccc8c961e762fa5f4d4ae092355e70db0a9cfe
AUX chromium.default 148 BLAKE2B 5ee5b582c59a6e4bef87bbb0e232e2470ad412b1fbbb3b9af6ef7153edb55c5b9080cc16a5a115b0c5b3c381aa87ce57a7b12bdd2070e67dac10a6c2995ddbaf SHA512 0d4849e03592fb58b05e62a43021eca7e61615616c8907c3b2e445402e03adaf9e8fa25b0a745d6c31eb037456215cc02b59e345a3a06d932e76cf990c92d739
-DIST chromium-67.0.3396.62.tar.xz 591452000 BLAKE2B 01d63d21548fcfc707e3ab1d293f24f34237784ec87949e2886a364d7e8f517f82e98803f45b690111a31304d269917442305d04fa13c34180f852007280a78c SHA512 c768701a04600f6dd981ea036a28973df104281dcdadda20d0ae515a0b80112b94840cee36823676c4b4cd71e0e6ef069af801f746fea29d65f978a3666f6cb0
-DIST chromium-67.0.3396.79.tar.xz 591459156 BLAKE2B c62a54ceaf240a06ce54ff2e13ea1c22bb89c7d88628ab005230ded307b44836c96f12fc85cef85fe088fbed66e203bc359d2b516347969d733e99b0e6d143b6 SHA512 4b7cd2cdc5a2b784e61498e945dbac0a086f2ff9224e0c050f85ab86183602860b34dc305c99730c31478820e48a1da4570284359f13275ab2b10592190cbca8
DIST chromium-67.0.3396.87.tar.xz 591491608 BLAKE2B 9069c4b2e000e180a9b21bbdbb67428817073cd662830f7e736073833f2e6ab2f94f3127d15ed521e34c82de727f137e0065fd3aa7fa7312c4940b1bd8959ccc SHA512 6f9c108b70b63cd45e8238c1962ec11d4f2d01e4f2a6b6483bfafc7986ed6001d5f09f9b0b893c864a08bade9d93346395bb2d045dcafb2ef94b0f4e00f2fe0d
DIST chromium-68.0.3440.17.tar.xz 624240248 BLAKE2B 9322f731efbc218dbefec351984f93bac5deedee3cc5ce426a619262d885097f28d8532a3d5b55e8daacd2c28dee2dd85dd4063687cbc7ed7d125d2a2a48f885 SHA512 1a6af7c5f3bfe87b37844c9d863f512aa464de75252487877d7796fa0dc246a533357086c64701f624809493eef97fced23d3eaa449819b38ce6038227015d35
DIST chromium-68.0.3440.25.tar.xz 624353904 BLAKE2B 8ed052e5ad831499367ef1e6d40d08bb585e49855f4c6b820d5532c96f240ad312e66484b75b5b8398e737e2400b7ff1f9edd944b5f6a16d81ace019f6dd0952 SHA512 c82436dc42dd9ee1b87881d617f6c791a9dc04d85bb1d4588a3cf31009edd8aeb9d89c357581f705e3602580be1d70ab5fd85f629abf7c7f647fa8a5f06f3add
-EBUILD chromium-67.0.3396.62.ebuild 20544 BLAKE2B 07e05f7ac23edef490bd16a7936e5ad91878b30a3b49fc88a600bfa8ca8948ad4775ed7568e90a35af7859146f14edb124c56b377e8cfa3ac99039c9e39782cf SHA512 47ab5e077a4690c538643efb7884815368ef074f358f99cb3021b50675a44487abb216d71bbbafc287005d064be3bf4f59dd0596e053bfacb63907f2feed3f11
-EBUILD chromium-67.0.3396.79.ebuild 20545 BLAKE2B 9869b9b00d88e4a1bd5a3d3eb29762e4dfa3100b18d78b6a427b2b5ccf6abc213a6a9dbb10b1a2ee44469f9123ad7592ee5be613a19db8a017bf635ebe00793d SHA512 987ad9083056cb7308d526d609f1d7323208bc096fa5205b946bb5e05a7e0778433d5ac0e6a7de0ceef532f017d2880c7dda49ea2ca7ced1f5c3eb09424f046e
-EBUILD chromium-67.0.3396.87.ebuild 20545 BLAKE2B 9869b9b00d88e4a1bd5a3d3eb29762e4dfa3100b18d78b6a427b2b5ccf6abc213a6a9dbb10b1a2ee44469f9123ad7592ee5be613a19db8a017bf635ebe00793d SHA512 987ad9083056cb7308d526d609f1d7323208bc096fa5205b946bb5e05a7e0778433d5ac0e6a7de0ceef532f017d2880c7dda49ea2ca7ced1f5c3eb09424f046e
+DIST chromium-69.0.3452.0.tar.xz 627961940 BLAKE2B d7e910c746f485595e180b2733ac6bd012ef2a58b72107ce7e8f0a2d30a3b1fa1274b93a607cd05e9a86d4f68520af1cbe5b97b828a9d9d5dd6fde0837995880 SHA512 3dc005c8c93eced4275e5baf01e17582c95e4278a4497d2e1f0c95ab0dc426753bb6a6440d1cc654847d58524f01e4edd2a24f90c54e4202e96bb68b2b127df8
+DIST chromium-69.0.3464.0.tar.xz 634891812 BLAKE2B 2cff114b4c6af03d3a6bc79df68876d38d9d8cc972faed2d3d0a3c565911fb2d32e467a4cff1ca8d5c234fece983ab1bb1b5be12bfdc1041d823fde645050f7e SHA512 d14414be553faa9d327dbb9348edcbc755f7f8346825c5144e65a25acb21eec07c34713180ed5701830ccadda99c171e279ae40a620c9babd187d0d093c8a87b
+EBUILD chromium-67.0.3396.87.ebuild 20544 BLAKE2B 07e05f7ac23edef490bd16a7936e5ad91878b30a3b49fc88a600bfa8ca8948ad4775ed7568e90a35af7859146f14edb124c56b377e8cfa3ac99039c9e39782cf SHA512 47ab5e077a4690c538643efb7884815368ef074f358f99cb3021b50675a44487abb216d71bbbafc287005d064be3bf4f59dd0596e053bfacb63907f2feed3f11
EBUILD chromium-68.0.3440.17.ebuild 20513 BLAKE2B e7e264516f43d6a6c71058c16986ad83142afde8c51951bbd9e40489bf2330c00dc69a02afaf27bd81e1efb7ba68ebe9dbc09baed79ff2699b57446136734d05 SHA512 a8e6d827d86c26a24df5f8d1962d5085bca931526089277b46b1faac269a460afcad02e34588205a39d84c4ab92cd05d2d2d79660490bd3785adc85d174a1a1a
EBUILD chromium-68.0.3440.25.ebuild 20513 BLAKE2B e7e264516f43d6a6c71058c16986ad83142afde8c51951bbd9e40489bf2330c00dc69a02afaf27bd81e1efb7ba68ebe9dbc09baed79ff2699b57446136734d05 SHA512 a8e6d827d86c26a24df5f8d1962d5085bca931526089277b46b1faac269a460afcad02e34588205a39d84c4ab92cd05d2d2d79660490bd3785adc85d174a1a1a
+EBUILD chromium-69.0.3452.0.ebuild 20532 BLAKE2B d1620c82f68614e7d86c3980e390a2d7bb457cef6224ac8b0d5820ffbe3d033beae3f5e67e3fcecfa7d2cad720d1c1dfba524704b4a648914335838c62fd9483 SHA512 dcf2cec652fdcc7aaed040a90d2071b897da5bc42d8ad9f707f52a253e17478f14834b69728f9fa834806c7f00ce4701ff0763cdc58251715ee5a62975f554d4
+EBUILD chromium-69.0.3464.0.ebuild 20649 BLAKE2B c7d1ec8bf7f7a0e26f180bd148f6262da3970c472129cee449a34cf665adf4363809952a77e92c7929f7337344e67648c2c6ec1f496de53649766f0f157e4a59 SHA512 efe48768b88b25b6695f106ebbecd894f02a20448fbaed0dc292a886916581153c6637e545df4e4c1a078879f4cd062b60bd2252987f78716189cb0f932d809e
MISC metadata.xml 1418 BLAKE2B 0fd718bd70dc0fa890bf7e0efa2f6a186df446617f36bb5e4689989c4766da4016b5325d8a81f8959e887fc182ff792bb10909b5724df8c4fcaade221b289d8b SHA512 1c68218f5cab5787a7524823975474065794aa18f8301e9efe066847b9a566b870a68a3768cee925a3ad6543fb182575043c1cb45e145db67382c502a535d039
diff --git a/www-client/chromium/chromium-67.0.3396.87.ebuild b/www-client/chromium/chromium-67.0.3396.87.ebuild
index 48fa2fe9d54d..4a5343767d8f 100644
--- a/www-client/chromium/chromium-67.0.3396.87.ebuild
+++ b/www-client/chromium/chromium-67.0.3396.87.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 ~x86"
IUSE="component-build cups gnome-keyring +hangouts jumbo-build kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine"
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )"
diff --git a/www-client/chromium/chromium-67.0.3396.79.ebuild b/www-client/chromium/chromium-69.0.3452.0.ebuild
index 48fa2fe9d54d..f6ce8e32881c 100644
--- a/www-client/chromium/chromium-67.0.3396.79.ebuild
+++ b/www-client/chromium/chromium-69.0.3452.0.ebuild
@@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
@@ -131,13 +131,14 @@ GTK+ icon theme.
PATCHES=(
"${FILESDIR}/chromium-widevine-r2.patch"
- "${FILESDIR}/chromium-compiler-r0.patch"
+ "${FILESDIR}/chromium-compiler-r2.patch"
"${FILESDIR}/chromium-webrtc-r0.patch"
"${FILESDIR}/chromium-memcpy-r0.patch"
"${FILESDIR}/chromium-math.h-r0.patch"
"${FILESDIR}/chromium-stdint.patch"
"${FILESDIR}/chromium-ffmpeg-r1.patch"
- "${FILESDIR}/chromium-ffmpeg-clang.patch"
+ "${FILESDIR}/chromium-libwebp-shim-r0.patch"
+ "${FILESDIR}/chromium-disable_xml_catalogs.patch"
)
pre_build_checks() {
@@ -200,8 +201,11 @@ src_prepare() {
buildtools/third_party/libc++abi
chrome/third_party/mozilla_security_manager
courgette/third_party
+ net/third_party/http2
net/third_party/mozilla_security_manager
net/third_party/nss
+ net/third_party/quic
+ net/third_party/spdy
third_party/WebKit
third_party/analytics
third_party/angle
@@ -267,6 +271,7 @@ src_prepare() {
third_party/libphonenumber
third_party/libsecret
third_party/libsrtp
+ third_party/libsync
third_party/libudev
third_party/libwebm
third_party/libxml/chromium
@@ -292,16 +297,20 @@ src_prepare() {
third_party/pdfium/third_party/libpng16
third_party/pdfium/third_party/libtiff
third_party/pdfium/third_party/skia_shared
+ third_party/perfetto
third_party/ply
third_party/polymer
third_party/protobuf
third_party/protobuf/third_party/six
+ third_party/pyjson5
third_party/qcms
+ third_party/rnnoise
third_party/s2cellid
third_party/sfntly
third_party/simplejson
third_party/skia
third_party/skia/third_party/gif
+ third_party/skia/third_party/skcms
third_party/skia/third_party/vulkan
third_party/smhasher
third_party/spirv-headers
@@ -323,6 +332,7 @@ src_prepare() {
url/third_party/mozilla
v8/src/third_party/valgrind
v8/src/third_party/utf8-decoder
+ v8/third_party/antlr4
v8/third_party/inspector_protocol
# gyp -> gn leftovers
@@ -542,7 +552,8 @@ src_configure() {
# https://bugs.gentoo.org/654216
addpredict /dev/dri/ #nowarn
- if ! use system-ffmpeg; then
+ #if ! use system-ffmpeg; then
+ if false; then
local build_ffmpeg_args=""
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then
build_ffmpeg_args+=" --disable-asm"
@@ -572,18 +583,6 @@ src_compile() {
#"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
- # Build mksnapshot and pax-mark it.
- local x
- for x in mksnapshot v8_context_snapshot_generator; do
- if tc-is-cross-compiler; then
- eninja -C out/Release "host/${x}"
- pax-mark m "out/Release/host/${x}"
- else
- eninja -C out/Release "${x}"
- pax-mark m "out/Release/${x}"
- fi
- done
-
# Even though ninja autodetects number of CPUs, we respect
# user's options, for debugging with -j 1 or any other reason.
eninja -C out/Release chrome chromedriver
diff --git a/www-client/chromium/chromium-67.0.3396.62.ebuild b/www-client/chromium/chromium-69.0.3464.0.ebuild
index 4a5343767d8f..51df6a8dbe61 100644
--- a/www-client/chromium/chromium-67.0.3396.62.ebuild
+++ b/www-client/chromium/chromium-69.0.3464.0.ebuild
@@ -8,7 +8,7 @@ CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
hi hr hu id it ja kn ko lt lv ml mr ms nb nl pl pt-BR pt-PT ro ru sk sl sr
sv sw ta te th tr uk vi zh-CN zh-TW"
-inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs versionator xdg-utils
+inherit check-reqs chromium-2 eutils gnome2-utils flag-o-matic multilib ninja-utils pax-utils portability python-any-r1 readme.gentoo-r1 toolchain-funcs xdg-utils
DESCRIPTION="Open-source version of Google Chrome web browser"
HOMEPAGE="http://chromium.org/"
@@ -16,7 +16,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="component-build cups gnome-keyring +hangouts jumbo-build kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine"
RESTRICT="!system-ffmpeg? ( proprietary-codecs? ( bindist ) )"
@@ -131,13 +131,13 @@ GTK+ icon theme.
PATCHES=(
"${FILESDIR}/chromium-widevine-r2.patch"
- "${FILESDIR}/chromium-compiler-r0.patch"
+ "${FILESDIR}/chromium-compiler-r3.patch"
"${FILESDIR}/chromium-webrtc-r0.patch"
"${FILESDIR}/chromium-memcpy-r0.patch"
"${FILESDIR}/chromium-math.h-r0.patch"
"${FILESDIR}/chromium-stdint.patch"
"${FILESDIR}/chromium-ffmpeg-r1.patch"
- "${FILESDIR}/chromium-ffmpeg-clang.patch"
+ "${FILESDIR}/chromium-disable_xml_catalogs.patch"
)
pre_build_checks() {
@@ -200,9 +200,13 @@ src_prepare() {
buildtools/third_party/libc++abi
chrome/third_party/mozilla_security_manager
courgette/third_party
+ net/third_party/http2
net/third_party/mozilla_security_manager
net/third_party/nss
+ net/third_party/quic
+ net/third_party/spdy
third_party/WebKit
+ third_party/abseil-cpp
third_party/analytics
third_party/angle
third_party/angle/src/common/third_party/base
@@ -213,6 +217,9 @@ src_prepare() {
third_party/angle/third_party/glslang
third_party/angle/third_party/spirv-headers
third_party/angle/third_party/spirv-tools
+ third_party/angle/third_party/vulkan-headers
+ third_party/angle/third_party/vulkan-loader
+ third_party/angle/third_party/vulkan-tools
third_party/angle/third_party/vulkan-validation-layers
third_party/apple_apsl
third_party/blink
@@ -267,6 +274,7 @@ src_prepare() {
third_party/libphonenumber
third_party/libsecret
third_party/libsrtp
+ third_party/libsync
third_party/libudev
third_party/libwebm
third_party/libxml/chromium
@@ -292,16 +300,20 @@ src_prepare() {
third_party/pdfium/third_party/libpng16
third_party/pdfium/third_party/libtiff
third_party/pdfium/third_party/skia_shared
+ third_party/perfetto
third_party/ply
third_party/polymer
third_party/protobuf
third_party/protobuf/third_party/six
+ third_party/pyjson5
third_party/qcms
+ third_party/rnnoise
third_party/s2cellid
third_party/sfntly
third_party/simplejson
third_party/skia
third_party/skia/third_party/gif
+ third_party/skia/third_party/skcms
third_party/skia/third_party/vulkan
third_party/smhasher
third_party/spirv-headers
@@ -323,6 +335,7 @@ src_prepare() {
url/third_party/mozilla
v8/src/third_party/valgrind
v8/src/third_party/utf8-decoder
+ v8/third_party/antlr4
v8/third_party/inspector_protocol
# gyp -> gn leftovers
@@ -542,7 +555,8 @@ src_configure() {
# https://bugs.gentoo.org/654216
addpredict /dev/dri/ #nowarn
- if ! use system-ffmpeg; then
+ #if ! use system-ffmpeg; then
+ if false; then
local build_ffmpeg_args=""
if use pic && [[ "${ffmpeg_target_arch}" == "ia32" ]]; then
build_ffmpeg_args+=" --disable-asm"
@@ -572,18 +586,6 @@ src_compile() {
#"${EPYTHON}" tools/clang/scripts/update.py --force-local-build --gcc-toolchain /usr --skip-checkout --use-system-cmake --without-android || die
- # Build mksnapshot and pax-mark it.
- local x
- for x in mksnapshot v8_context_snapshot_generator; do
- if tc-is-cross-compiler; then
- eninja -C out/Release "host/${x}"
- pax-mark m "out/Release/host/${x}"
- else
- eninja -C out/Release "${x}"
- pax-mark m "out/Release/${x}"
- fi
- done
-
# Even though ninja autodetects number of CPUs, we respect
# user's options, for debugging with -j 1 or any other reason.
eninja -C out/Release chrome chromedriver
diff --git a/www-client/chromium/files/chromium-compiler-r3.patch b/www-client/chromium/files/chromium-compiler-r3.patch
new file mode 100644
index 000000000000..ca41add408ee
--- /dev/null
+++ b/www-client/chromium/files/chromium-compiler-r3.patch
@@ -0,0 +1,182 @@
+From cba2fccce163bc549db529c5d6783478de908325 Mon Sep 17 00:00:00 2001
+From: Mike Gilbert <floppym@gentoo.org>
+Date: Wed, 25 Apr 2018 13:22:49 -0400
+Subject: [PATCH] Disable various compiler configs
+
+---
+ build/config/compiler/BUILD.gn | 68 +++++++++-------------------------
+ 1 file changed, 18 insertions(+), 50 deletions(-)
+
+diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
+index 2d82ed5b4e23..23632b156900 100644
+--- a/build/config/compiler/BUILD.gn
++++ b/build/config/compiler/BUILD.gn
+@@ -225,8 +225,6 @@ config("compiler") {
+
+ configs += [
+ # See the definitions below.
+- ":clang_revision",
+- ":compiler_cpu_abi",
+ ":compiler_codegen",
+ ]
+
+@@ -488,18 +486,6 @@ config("compiler") {
+ }
+ }
+
+- if (is_clang && !is_nacl && current_toolchain == host_toolchain &&
+- target_os != "chromeos") {
+- cflags += [
+- # TODO(hans): Remove this once Clang generates better optimized debug info
+- # by default. https://crbug.com/765793
+- "-Xclang",
+- "-mllvm",
+- "-Xclang",
+- "-instcombine-lower-dbg-declare=0",
+- ]
+- }
+-
+ # Print absolute paths in diagnostics. There is no precedent for doing this
+ # on Linux/Mac (GCC doesn't support it), but MSVC does this with /FC and
+ # Windows developers rely on it (crbug.com/636109) so only do this on Windows.
+@@ -672,13 +658,6 @@ config("compiler") {
+ ldflags += [ "-Wl,--no-rosegment" ]
+ }
+
+- # This flag enforces that member pointer base types are complete. It helps
+- # prevent us from running into problems in the Microsoft C++ ABI (see
+- # https://crbug.com/847724).
+- if (is_clang && !is_nacl && target_os != "chromeos" && !use_xcode_clang) {
+- cflags += [ "-fcomplete-member-pointers" ]
+- }
+-
+ # Pass the same C/C++ flags to the objective C/C++ compiler.
+ cflags_objc += cflags_c
+ cflags_objcc += cflags_cc
+@@ -1467,10 +1446,6 @@ config("default_warnings") {
+ cflags += [
+ # TODO(thakis): https://crbug.com/753973
+ "-Wno-enum-compare-switch",
+-
+- # Ignore warnings about MSVC optimization pragmas.
+- # TODO(thakis): Only for no_chromium_code? http://crbug.com/505314
+- "-Wno-ignored-pragma-optimize",
+ ]
+ }
+ }
+@@ -1512,22 +1487,6 @@ config("chromium_code") {
+ "__STDC_FORMAT_MACROS",
+ ]
+
+- if (!is_debug && !using_sanitizer &&
+- (!is_linux || !is_clang || is_official_build) &&
+- current_cpu != "s390x" && current_cpu != "s390" &&
+- current_cpu != "ppc64" && current_cpu != "ppc64" &&
+- current_cpu != "mips" && current_cpu != "mips64") {
+- # _FORTIFY_SOURCE isn't really supported by Clang now, see
+- # http://llvm.org/bugs/show_bug.cgi?id=16821.
+- # It seems to work fine with Ubuntu 12 headers though, so use it in
+- # official builds.
+- #
+- # Non-chromium code is not guaranteed to compile cleanly with
+- # _FORTIFY_SOURCE. Also, fortified build may fail when optimizations are
+- # disabled, so only do that for Release build.
+- defines += [ "_FORTIFY_SOURCE=2" ]
+- }
+-
+ if (is_mac || is_ios) {
+ cflags_objc = [ "-Wobjc-missing-property-synthesis" ]
+ cflags_objcc = [ "-Wobjc-missing-property-synthesis" ]
+@@ -1857,7 +1816,8 @@ config("default_stack_frames") {
+ }
+
+ # Default "optimization on" config.
+-config("optimize") {
++config("optimize") { }
++config("xoptimize") {
+ if (is_win) {
+ # TODO(thakis): Remove is_clang here, https://crbug.com/598772
+ if (is_official_build && full_wpo_on_official && !is_clang) {
+@@ -1891,7 +1851,8 @@ config("optimize") {
+ }
+
+ # Same config as 'optimize' but without the WPO flag.
+-config("optimize_no_wpo") {
++config("optimize_no_wpo") { }
++config("xoptimize_no_wpo") {
+ if (is_win) {
+ # Favor size over speed, /O1 must be before the common flags. The GYP
+ # build also specifies /Os and /GF but these are implied by /O1.
+@@ -1914,7 +1875,8 @@ config("optimize_no_wpo") {
+ }
+
+ # Turn off optimizations.
+-config("no_optimize") {
++config("no_optimize") { }
++config("xno_optimize") {
+ if (is_win) {
+ cflags = [
+ "/Od", # Disable optimization.
+@@ -1938,7 +1900,8 @@ config("no_optimize") {
+ # Turns up the optimization level. On Windows, this implies whole program
+ # optimization and link-time code generation which is very expensive and should
+ # be used sparingly.
+-config("optimize_max") {
++config("optimize_max") { }
++config("xoptimize_max") {
+ if (is_nacl && is_nacl_irt) {
+ # The NaCl IRT is a special case and always wants its own config.
+ # Various components do:
+@@ -1985,7 +1948,8 @@ config("optimize_max") {
+ #
+ # TODO(crbug.com/621335) - rework how all of these configs are related
+ # so that we don't need this disclaimer.
+-config("optimize_speed") {
++config("optimize_speed") { }
++config("xoptimize_speed") {
+ if (is_nacl && is_nacl_irt) {
+ # The NaCl IRT is a special case and always wants its own config.
+ # Various components do:
+@@ -2023,7 +1987,8 @@ config("optimize_speed") {
+ }
+ }
+
+-config("optimize_fuzzing") {
++config("optimize_fuzzing") { }
++config("xoptimize_fuzzing") {
+ cflags = [ "-O1" ] + common_optimize_on_cflags
+ ldflags = common_optimize_on_ldflags
+ visibility = [ ":default_optimization" ]
+@@ -2109,7 +2074,8 @@ config("afdo") {
+ # configs += [ "//build/config/compiler:symbols" ]
+
+ # Full symbols.
+-config("symbols") {
++config("symbols") { }
++config("xsymbols") {
+ if (is_win) {
+ if (use_goma || is_clang) {
+ # Note that with VC++ this requires is_win_fastlink, enforced elsewhere.
+@@ -2207,7 +2173,8 @@ config("symbols") {
+ # Minimal symbols.
+ # This config guarantees to hold symbol for stack trace which are shown to user
+ # when crash happens in unittests running on buildbot.
+-config("minimal_symbols") {
++config("minimal_symbols") { }
++config("xminimal_symbols") {
+ if (is_win) {
+ # Linker symbols for backtraces only.
+ cflags = []
+@@ -2238,7 +2205,8 @@ config("minimal_symbols") {
+ }
+
+ # No symbols.
+-config("no_symbols") {
++config("no_symbols") { }
++config("xno_symbols") {
+ if (!is_win) {
+ cflags = [ "-g0" ]
+ asmflags = cflags
+--
+2.18.0.rc2
+
diff --git a/www-client/chromium/files/chromium-disable_xml_catalogs.patch b/www-client/chromium/files/chromium-disable_xml_catalogs.patch
new file mode 100644
index 000000000000..9f57ed2261c7
--- /dev/null
+++ b/www-client/chromium/files/chromium-disable_xml_catalogs.patch
@@ -0,0 +1,23 @@
+--- a/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc
++++ b/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc
+@@ -28,6 +28,10 @@
+
+ #include <libxml/parser.h>
+ #include <libxml/parserInternals.h>
++#include <libxml/xmlversion.h>
++#if defined(LIBXML_CATALOG_ENABLED)
++#include <libxml/catalog.h>
++#endif
+ #include <libxslt/xslt.h>
+
+ #include <memory>
+@@ -648,6 +652,9 @@ static void InitializeLibXMLIfNecessary() {
+ if (did_init)
+ return;
+
++#if defined(LIBXML_CATALOG_ENABLED)
++ xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE);
++#endif
+ xmlInitParser();
+ xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc);
+ xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc);