| 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" ] | |
| } | |
| source_set("highway_tests") { | |
| } |