blob: 06d3815c898882e8461bd6fbaf665a3006c84b4e [file] [log] [blame]
Bertrand SIMONNET1c6c90f2014-07-18 17:07:34 -07001# Copyright 2014 The Chromium OS Authors. All rights reserved.
2# Distributed under the terms of the GNU General Public License v2
3
4# @ECLASS: libchrome.eclass
5# @MAINTAINER:
6# ChromiumOS Build Team
7# @BUGREPORTS:
8# Please report bugs via http://crbug.com/new (with label Build)
9# @VCSURL: https://chromium.googlesource.com/chromiumos/overlays/chromiumos-overlay/+/master/eclass/@ECLASS@
10# @BLURB: helper eclass for managing dependencies on libchrome
11# @DESCRIPTION:
12# Our base library libchrome is slotted and is used by a lot of packages. All
13# the version numbers need to be updated whenever we uprev libchrome. This
14# eclass centralizes the logic used to depend on libchrome and sets up the
15# environment variables to reduce the amount of change needed.
16
Ben Chanc1ac4cf2014-09-05 07:58:36 -070017[[ -z ${LIBCHROME_VERS} ]] && LIBCHROME_VERS=( 293518 )
Bertrand SIMONNET1c6c90f2014-07-18 17:07:34 -070018export BASE_VER="${LIBCHROME_VERS[0]}"
19
20RDEPEND=$(
21 printf \
22 'chromeos-base/libchrome:%s[cros-debug=] ' \
23 "${LIBCHROME_VERS[@]}"
24)
25
26DEPEND="${RDEPEND}"