From: Mike Gilbert Date: Sat, 6 Jan 2018 22:50:38 +0000 (-0500) Subject: www-client/chromium: add jumbo-build USE flag X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=121cd55193eda4a31bd6e95a6e61d60072fe4abe;p=gentoo.git www-client/chromium: add jumbo-build USE flag Closes: https://bugs.gentoo.org/641786 Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37 --- diff --git a/www-client/chromium/chromium-64.0.3282.71.ebuild b/www-client/chromium/chromium-64.0.3282.71.ebuild index 176c6981bdd0..8ea5262c2e60 100644 --- a/www-client/chromium/chromium-64.0.3282.71.ebuild +++ b/www-client/chromium/chromium-64.0.3282.71.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" +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 ) )" COMMON_DEPEND=" @@ -375,6 +375,9 @@ src_configure() { # for development and debugging. myconf_gn+=" is_component_build=$(usex component-build true false)" + # https://chromium.googlesource.com/chromium/src/+/lkcr/docs/jumbo.md + myconf_gn+=" use_jumbo_build=$(usex jumbo-build true false)" + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" # Disable nacl, we can't build without pnacl (http://crbug.com/269560). diff --git a/www-client/chromium/chromium-65.0.3298.3.ebuild b/www-client/chromium/chromium-65.0.3298.3.ebuild index 331308682ad9..8094adaa8b14 100644 --- a/www-client/chromium/chromium-65.0.3298.3.ebuild +++ b/www-client/chromium/chromium-65.0.3298.3.ebuild @@ -17,7 +17,7 @@ SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P} LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~x86" -IUSE="component-build cups gnome-keyring +hangouts kerberos neon pic +proprietary-codecs pulseaudio selinux +suid +system-ffmpeg +system-icu +system-libvpx +tcmalloc widevine" +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 ) )" COMMON_DEPEND=" @@ -378,6 +378,9 @@ src_configure() { # for development and debugging. myconf_gn+=" is_component_build=$(usex component-build true false)" + # https://chromium.googlesource.com/chromium/src/+/lkcr/docs/jumbo.md + myconf_gn+=" use_jumbo_build=$(usex jumbo-build true false)" + myconf_gn+=" use_allocator=$(usex tcmalloc \"tcmalloc\" \"none\")" # Disable nacl, we can't build without pnacl (http://crbug.com/269560). diff --git a/www-client/chromium/metadata.xml b/www-client/chromium/metadata.xml index abb4eb267003..9cfaf6c4be53 100644 --- a/www-client/chromium/metadata.xml +++ b/www-client/chromium/metadata.xml @@ -9,6 +9,7 @@ Split build into more shared libraries to speed up linking. Mostly intended for debugging and development, NOT RECOMMENDED for general use. Enable support for Google Hangouts features such as screen sharing + Combine source files to speed up build process. Disable optimized assembly code that is not PIC friendly Enable proprietary codecs like H.264, MP3 Build the SUID sandbox, which is only needed on CONFIG_USER_NS=n kernels