1*6777b538SAndroid Build Coastguard Worker# Copyright 2018 The Chromium Authors 2*6777b538SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*6777b538SAndroid Build Coastguard Worker# found in the LICENSE file. 4*6777b538SAndroid Build Coastguard Worker 5*6777b538SAndroid Build Coastguard Workerimport("//build/config/linux/pkg_config.gni") 6*6777b538SAndroid Build Coastguard Worker 7*6777b538SAndroid Build Coastguard Workerassert(is_linux || is_chromeos, "This file should only be referenced on Linux") 8*6777b538SAndroid Build Coastguard Worker 9*6777b538SAndroid Build Coastguard Workerpkg_config("libva") { 10*6777b538SAndroid Build Coastguard Worker packages = [ "libva" ] 11*6777b538SAndroid Build Coastguard Worker 12*6777b538SAndroid Build Coastguard Worker # Do not use exec_script to check the version here. It is done with a 13*6777b538SAndroid Build Coastguard Worker # static_assert instead. 14*6777b538SAndroid Build Coastguard Worker 15*6777b538SAndroid Build Coastguard Worker # vaapi decoders use dlopen pre-sandbox anyway to improve startup times. 16*6777b538SAndroid Build Coastguard Worker ignore_libs = true 17*6777b538SAndroid Build Coastguard Worker} 18