commit:     121cd55193eda4a31bd6e95a6e61d60072fe4abe
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  6 22:50:38 2018 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Sat Jan  6 22:50:38 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=121cd551

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

 www-client/chromium/chromium-64.0.3282.71.ebuild | 5 ++++-
 www-client/chromium/chromium-65.0.3298.3.ebuild  | 5 ++++-
 www-client/chromium/metadata.xml                 | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/www-client/chromium/chromium-64.0.3282.71.ebuild 
b/www-client/chromium/chromium-64.0.3282.71.ebuild
index 176c6981bdd..8ea5262c2e6 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 331308682ad..8094adaa8b1 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 abb4eb26700..9cfaf6c4be5 100644
--- a/www-client/chromium/metadata.xml
+++ b/www-client/chromium/metadata.xml
@@ -9,6 +9,7 @@
        <use>
                <flag name="component-build">Split build into more shared 
libraries to speed up linking. Mostly intended for debugging and development, 
NOT RECOMMENDED for general use.</flag>
                <flag name="hangouts">Enable support for Google Hangouts 
features such as screen sharing</flag>
+               <flag name="jumbo-build">Combine source files to speed up build 
process.</flag>
                <flag name="pic">Disable optimized assembly code that is not 
PIC friendly</flag>
                <flag name="proprietary-codecs">Enable proprietary codecs like 
H.264, MP3</flag>
                <flag name="suid">Build the SUID sandbox, which is only needed 
on CONFIG_USER_NS=n kernels</flag>

Reply via email to