1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19

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

import("//build/shim_headers.gni")

shim_headers("libXNVCtrl_shim") {
  root_path = "../../../../../third_party/libXNVCtrl"
  prefix = "NVCtrl/"
  headers = [
    "NVCtrl.h",
    "NVCtrlLib.h",
    "nv_control.h",
  ]
}

source_set("libXNVCtrl") {
  deps = [ ":libXNVCtrl_shim" ]
  libs = [
    "XNVCtrl",
    "xcb",
  ]
}