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