aboutsummaryrefslogtreecommitdiff
path: root/build/config/external_libraries.gni
blob: aa2364e91400fa0add9cfa84409527960b03e72a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 2019 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.

# NOTE: Only add *_dirs declarations if the libraries have been installed at
# non-standard locations. See the related markdown for more information:
# [external_libraries.md](external_libraries.md).
declare_args() {
  have_ffmpeg = false
  ffmpeg_libs = [
    "avcodec",
    "avformat",
    "avutil",
    "swresample",
  ]
  ffmpeg_include_dirs = []
  ffmpeg_lib_dirs = []

  have_libopus = false
  libopus_libs = [ "opus" ]
  libopus_include_dirs = []
  libopus_lib_dirs = []

  have_libsdl2 = false
  libsdl2_libs = [ "SDL2" ]
  libsdl2_include_dirs = []
  libsdl2_lib_dirs = []

  have_libvpx = false
  libvpx_libs = [ "vpx" ]
  libvpx_include_dirs = []
  libvpx_lib_dirs = []

  have_libaom = false
  libaom_libs = [ "aom" ]
  libaom_include_dirs = []
  libaom_lib_dirs = []
}