1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
build / linux / unbundle / libaom.gn [blame]
import("//build/buildflag_header.gni")
import("//build/config/linux/pkg_config.gni")
import("//build/shim_headers.gni")
import("//third_party/libaom/options.gni")
buildflag_header("libaom_buildflags") {
header = "libaom_buildflags.h"
flags = [ "ENABLE_LIBAOM=$enable_libaom" ]
}
pkg_config("system_aom") {
packages = [ "aom" ]
}
shim_headers("aom_shim") {
root_path = "source/libaom"
headers = [
"aom/aom.h",
"aom/aom_codec.h",
"aom/aom_decoder.h",
"aom/aom_encoder.h",
"aom/aom_external_partition.h",
"aom/aom_frame_buffer.h",
"aom/aom_image.h",
"aom/aom_integer.h",
"aom/aomcx.h",
"aom/aomdx.h",
]
}
source_set("libaom") {
deps = [ ":aom_shim" ]
public_configs = [ ":system_aom" ]
}