highway.gn (451B)
1 import("//chromium/build/config/linux/pkg_config.gni") 2 import("//chromium/build/shim_headers.gni") 3 import("src/hwy.gni") 4 5 pkg_config("libhwy_external_config") { 6 packages = [ "libhwy" ] 7 } 8 9 shim_headers("libhwy_shim") { 10 root_path = "src" 11 headers = [] 12 foreach(header, hwy_public) { 13 headers += [ rebase_path(header, "./src") ] 14 } 15 } 16 17 source_set("libhwy") { 18 public_configs = [ ":libhwy_external_config" ] 19 public_deps = [ ":libhwy_shim" ] 20 }