blob: 0ffc2e301601b08d0f73b941b91c7eb482b9fda4 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit cros-constants
DESCRIPTION="Install codec configuration for ARC++"
LICENSE="BSD-Google"
SLOT="0"
KEYWORDS="*"
IUSE="android-container-nyc"
RDEPEND="!chromeos-base/arc-codec-chipset-kbl"
S="${WORKDIR}"
src_install() {
insinto "${ARC_VENDOR_DIR}/etc/"
if use android-container-nyc; then
ARC_CODEC_DIR="${FILESDIR}/nyc"
else
# Adopt for pic and future desserts
ARC_CODEC_DIR="${FILESDIR}/pic"
fi
doins "${ARC_CODEC_DIR}"/*
}