summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorStephan Hartmann <sultan@gentoo.org>2021-08-01 12:58:13 +0200
committerStephan Hartmann <sultan@gentoo.org>2021-08-16 19:00:05 +0200
commitde7971143be71bafa2514a2365633c8929f7936d (patch)
treed06fe490fcef514e3a259c03b5994fc7424931e1 /eclass
parentsys-apps/util-linux: drop no-op Python 3.7 in PYTHON_COMPAT (diff)
downloadgentoo-de7971143be71bafa2514a2365633c8929f7936d.tar.gz
gentoo-de7971143be71bafa2514a2365633c8929f7936d.tar.bz2
gentoo-de7971143be71bafa2514a2365633c8929f7936d.zip
chromium-2.eclass: remove GYP support
Chromium project replaced GYP with GN in 2016 and nothing in ::gentoo is using GYP. Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/chromium-2.eclass36
1 files changed, 0 insertions, 36 deletions
diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass
index 54df3b1394c7..2543078df79b 100644
--- a/eclass/chromium-2.eclass
+++ b/eclass/chromium-2.eclass
@@ -146,40 +146,4 @@ chromium_pkg_die() {
einfo
}
-# @VARIABLE: EGYP_CHROMIUM_COMMAND
-# @DESCRIPTION:
-# Path to the gyp_chromium script.
-: ${EGYP_CHROMIUM_COMMAND:=build/gyp_chromium}
-
-# @VARIABLE: EGYP_CHROMIUM_DEPTH
-# @DESCRIPTION:
-# Depth for egyp_chromium.
-: ${EGYP_CHROMIUM_DEPTH:=.}
-
-# @FUNCTION: egyp_chromium
-# @USAGE: [gyp arguments]
-# @DESCRIPTION:
-# Calls EGYP_CHROMIUM_COMMAND with depth EGYP_CHROMIUM_DEPTH and given
-# arguments. The full command line is echoed for logging.
-egyp_chromium() {
- set -- "${EGYP_CHROMIUM_COMMAND}" --depth="${EGYP_CHROMIUM_DEPTH}" "$@"
- echo "$@"
- "$@"
-}
-
-# @FUNCTION: gyp_use
-# @USAGE: <USE flag> [GYP flag] [true suffix] [false suffix]
-# @DESCRIPTION:
-# If USE flag is set, echo -D[GYP flag]=[true suffix].
-#
-# If USE flag is not set, echo -D[GYP flag]=[false suffix].
-#
-# [GYP flag] defaults to use_[USE flag] with hyphens converted to underscores.
-#
-# [true suffix] defaults to 1. [false suffix] defaults to 0.
-gyp_use() {
- local gypflag="-D${2:-use_${1//-/_}}="
- usex "$1" "${gypflag}" "${gypflag}" "${3-1}" "${4-0}"
-}
-
fi