summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2017-12-10 18:17:49 -0500
committerMike Gilbert <floppym@gentoo.org>2017-12-10 18:18:11 -0500
commit1c5423aab094796b3da7a2905f02cbdcdd6a7742 (patch)
tree256c19e473bb2a2807ada3ff86eb78b2071e3dcc /www-client/chromium
parentwww-client/chromium: remove old (diff)
downloadgentoo-1c5423aab094796b3da7a2905f02cbdcdd6a7742.tar.gz
gentoo-1c5423aab094796b3da7a2905f02cbdcdd6a7742.tar.bz2
gentoo-1c5423aab094796b3da7a2905f02cbdcdd6a7742.zip
www-client/chromium: replace host_binary function with a loop
Package-Manager: Portage-2.3.17, Repoman-2.3.6_p24
Diffstat (limited to 'www-client/chromium')
-rw-r--r--www-client/chromium/chromium-63.0.3239.84.ebuild10
-rw-r--r--www-client/chromium/chromium-64.0.3282.14.ebuild16
2 files changed, 9 insertions, 17 deletions
diff --git a/www-client/chromium/chromium-63.0.3239.84.ebuild b/www-client/chromium/chromium-63.0.3239.84.ebuild
index a23443e9896f..be37d445c4f1 100644
--- a/www-client/chromium/chromium-63.0.3239.84.ebuild
+++ b/www-client/chromium/chromium-63.0.3239.84.ebuild
@@ -537,9 +537,10 @@ src_configure() {
"$@" || die
}
-host_binary() {
+src_compile() {
+ # Build mksnapshot and pax-mark it.
local x
- for x; do
+ 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}"
@@ -548,11 +549,6 @@ host_binary() {
pax-mark m "out/Release/${x}"
fi
done
-}
-
-src_compile() {
- # Build mksnapshot and pax-mark it.
- host_binary mksnapshot v8_context_snapshot_generator
# Work around circular dep issue
# https://chromium-review.googlesource.com/c/chromium/src/+/617768
diff --git a/www-client/chromium/chromium-64.0.3282.14.ebuild b/www-client/chromium/chromium-64.0.3282.14.ebuild
index e436cbd1b599..c0f32ba37a41 100644
--- a/www-client/chromium/chromium-64.0.3282.14.ebuild
+++ b/www-client/chromium/chromium-64.0.3282.14.ebuild
@@ -539,9 +539,13 @@ src_configure() {
"$@" || die
}
-host_binary() {
+src_compile() {
+ # Calling this here supports resumption via FEATURES=keepwork
+ python_setup
+
+ # Build mksnapshot and pax-mark it.
local x
- for x; do
+ 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}"
@@ -550,14 +554,6 @@ host_binary() {
pax-mark m "out/Release/${x}"
fi
done
-}
-
-src_compile() {
- # Calling this here supports resumption via FEATURES=keepwork
- python_setup
-
- # Build mksnapshot and pax-mark it.
- host_binary mksnapshot v8_context_snapshot_generator
# Work around circular dep issue
# https://chromium-review.googlesource.com/c/chromium/src/+/617768