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