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

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

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

pkg_config("libhwy_external_config") {
  packages = [ "libhwy" ]
}

shim_headers("libhwy_shim") {
  root_path = "src"
  headers = []
  foreach(header, hwy_public) {
    headers += [ rebase_path(header, "./src") ]
  }
}

source_set("libhwy") {
  public_configs = [ ":libhwy_external_config" ]
  public_deps = [ ":libhwy_shim" ]
}