public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stephan Hartmann <sultan@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: chromium@gentoo.org, Stephan Hartmann <sultan@gentoo.org>
Subject: [gentoo-dev] [PATCH 1/3] chromium-2.eclass: remove GYP support
Date: Wed, 11 Aug 2021 17:28:02 +0200	[thread overview]
Message-ID: <20210811152804.28320-2-sultan@gentoo.org> (raw)
In-Reply-To: <20210811152804.28320-1-sultan@gentoo.org>

Chromium project replaced GYP with GN in 2016 and nothing in
::gentoo is using GYP.

Signed-off-by: Stephan Hartmann <sultan@gentoo.org>
---
 eclass/chromium-2.eclass | 36 ------------------------------------
 1 file changed, 36 deletions(-)

diff --git a/eclass/chromium-2.eclass b/eclass/chromium-2.eclass
index 54df3b1394c..2543078df79 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
-- 
2.31.1



  reply	other threads:[~2021-08-11 15:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-11 15:28 [gentoo-dev] [PATCH 0/3] Updates for chromium-2.eclass Stephan Hartmann
2021-08-11 15:28 ` Stephan Hartmann [this message]
2021-08-11 15:28 ` [gentoo-dev] [PATCH 2/3] chromium-2.eclass: update documentation Stephan Hartmann
2021-08-11 15:28 ` [gentoo-dev] [PATCH 3/3] chromium-2.eclass: enable EAPI 8 Stephan Hartmann
2021-08-12 11:16   ` Ulrich Mueller
2021-08-16 16:47     ` Stephan Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210811152804.28320-2-sultan@gentoo.org \
    --to=sultan@gentoo.org \
    --cc=chromium@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox