blob: c1b84fb0ba0f46ab59fed617f7777ff42965940c [file] [log] [blame]
# Copyright 2018 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CROS_WORKON_COMMIT="7ea3335b717bc0dc2cd64926e4d5d0cb8717909b"
CROS_WORKON_TREE="f7318cffaaef1ba5e7597544cfbc555799553d61"
CROS_WORKON_PROJECT="chromiumos/third_party/toolchain-utils"
CROS_WORKON_LOCALNAME="toolchain-utils"
inherit cros-workon
DESCRIPTION="Compilation and runtime tests for toolchain"
HOMEPAGE="https://chromium.googlesource.com/chromiumos/third_party/toolchain-utils/"
LICENSE="BSD-Google"
SLOT="0/0"
KEYWORDS="*"
IUSE=""
RDEPEND="
app-misc/pax-utils
dev-lang/python
sys-devel/binutils
"
src_install() {
local tc_dir="/usr/$(get_libdir)/${PN}"
local dit_dir="${tc_dir}/debug_info_test"
insinto ${tc_dir}
doins -r debug_info_test
fperms a+x ${dit_dir}/debug_info_test.py
dosym ${dit_dir}/debug_info_test.py /usr/bin/debug_info_test
newbin afdo_redaction/redact_profile.py redact_textual_afdo_profile
newbin afdo_redaction/remove_indirect_calls.py remove_indirect_calls
newbin afdo_redaction/remove_cold_functions.py remove_cold_functions
}