blob: 829e0cc86cdf2c71ecb614fe739e594d5123c65a [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
CROS_WORKON_COMMIT="1e14c288a26fe9820581cac2c47f7e86580a3f2b"
CROS_WORKON_TREE="d022a447030b86b2a3aa36553d0915467e1abcfc"
CROS_WORKON_PROJECT="chromiumos/third_party/autotest"
CROS_WORKON_LOCALNAME="third_party/autotest/files"
inherit cros-workon autotest libchrome
DESCRIPTION="Security autotests"
HOMEPAGE="http://www.chromium.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
# Enable autotest by default.
IUSE="+autotest -chromeless_tests -chromeless_tty containers +seccomp selinux"
RDEPEND="
!<chromeos-base/autotest-tests-0.0.3
containers? (
tests_security_Libcontainer? (
chromeos-base/minijail
chromeos-base/libcontainer
)
)
"
DEPEND="${RDEPEND}"
IUSE_TESTS="
!chromeless_tty? (
!chromeless_tests? (
+tests_security_RendererSandbox
+tests_security_SessionManagerDbusEndpoints
)
)
seccomp? (
+tests_security_SeccompSyscallFilters
)
+tests_security_CpuVulnerabilities
containers? ( +tests_security_Libcontainer )
+tests_security_NosymfollowMountOption
+tests_security_ProcessManagementPolicy
+tests_security_RootfsOwners
+tests_security_SysVIPC
x86? ( +tests_security_x86Registers )
amd64? ( +tests_security_x86Registers )
"
IUSE="${IUSE} ${IUSE_TESTS}"
AUTOTEST_FILE_MASK="*.a *.tar.bz2 *.tbz2 *.tgz *.tar.gz"