# Copyright 2018 The Chromium Authors | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("//build/config/linux/pkg_config.gni") | |
assert(is_linux || is_chromeos, "This file should only be referenced on Linux") | |
pkg_config("libva") { | |
packages = [ "libva" ] | |
# Do not use exec_script to check the version here. It is done with a | |
# static_assert instead. | |
# vaapi decoders use dlopen pre-sandbox anyway to improve startup times. | |
ignore_libs = true | |
} |