Kaido Kert | b108943 | 2024-03-18 19:46:49 -0700 | [diff] [blame] | 1 | import("//build/config/linux/pkg_config.gni") |
2 | import("//build/shim_headers.gni") | ||||
3 | |||||
4 | pkg_config("system_woff2") { | ||||
5 | packages = [ "libwoff2dec" ] | ||||
6 | } | ||||
7 | |||||
8 | shim_headers("woff2_shim") { | ||||
9 | root_path = "include" | ||||
10 | headers = [ | ||||
11 | "woff2/decode.h", | ||||
12 | "woff2/encode.h", | ||||
13 | "woff2/output.h", | ||||
14 | ] | ||||
15 | } | ||||
16 | |||||
17 | source_set("woff2_dec") { | ||||
18 | deps = [ ":woff2_shim" ] | ||||
19 | public_configs = [ ":system_woff2" ] | ||||
20 | } |