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

build / linux / unbundle / dav1d.gn [blame]

import("//build/config/linux/pkg_config.gni")
import("//build/shim_headers.gni")

pkg_config("system_dav1d") {
  packages = [ "dav1d" ]
}

shim_headers("dav1d_shim") {
  root_path = "libdav1d/include"
  headers = [
    "dav1d/common.h",
    "dav1d/data.h",
    "dav1d/dav1d.h",
    "dav1d/headers.h",
    "dav1d/picture.h",
    "dav1d/version.h",
  ]
}

source_set("dav1d") {
  deps = [ ":dav1d_shim" ]
  public_configs = [ ":system_dav1d" ]
}

group("dav1d_headers") {
  public_deps = [ ":dav1d_shim" ]
}

config("dav1d_config") {
  configs = [
    ":system_dav1d",
    ":dav1d_shim_config",
  ]
}