| # Copyright 2019 The Chromium OS Authors. All rights reserved. |
| # Distributed under the terms of the GNU General Public License v2 |
| |
| EAPI=7 |
| |
| CROS_WORKON_COMMIT="f35f2919309cf11b0ddd9deb24a6b145d40d9254" |
| CROS_WORKON_TREE=("a625767bb59509159091f2ab0b71f8b9b4b2e353" "68093a4cbee15674cd95edc8eef76f1342433dfd" "2acba33c99f07fa000bb44a4df3a65a8fe313bb1" "97266a4772907835fdab5d56b3ca24ed9c1c7a0e" "e7dba8c91c1f3257c34d4a7ffff0ea2537aeb6bb") |
| CROS_WORKON_INCREMENTAL_BUILD=1 |
| CROS_WORKON_LOCALNAME="platform2" |
| CROS_WORKON_PROJECT="chromiumos/platform2" |
| CROS_WORKON_OUTOFTREE_BUILD=1 |
| # TODO(crbug.com/809389): Avoid directly including headers from other packages. |
| CROS_WORKON_SUBTREE="common-mk sealed_storage tpm_manager trunks .gn" |
| |
| PLATFORM_SUBDIR="sealed_storage" |
| |
| inherit cros-workon platform |
| |
| DESCRIPTION="Library for sealing data to device identity and state" |
| HOMEPAGE="https://chromium.googlesource.com/chromiumos/platform2/+/master/sealed_storage" |
| |
| LICENSE="BSD-Google" |
| KEYWORDS="*" |
| |
| IUSE="test tpm2" |
| |
| REQUIRED_USE="tpm2" |
| COMMON_DEPEND=" |
| chromeos-base/tpm_manager:=[test?] |
| chromeos-base/trunks:=[test?] |
| " |
| RDEPEND="${COMMON_DEPEND}" |
| DEPEND="${COMMON_DEPEND} |
| chromeos-base/protofiles:= |
| chromeos-base/system_api:= |
| " |
| |
| src_install() { |
| platform_install |
| } |
| |
| platform_pkg_test() { |
| platform test_all |
| } |