summaryrefslogtreecommitdiffstats
path: root/third_party/libwebrtc/build/config/linux/libva/BUILD.gn
blob: ada5d665fb82a17d0d552025ce5c4597c12644f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright 2018 The Chromium Authors. All rights reserved.
# 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
}