-
Notifications
You must be signed in to change notification settings - Fork 2
/
BUILD.gn
52 lines (46 loc) · 1.11 KB
/
BUILD.gn
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
group("all") {
deps = [
":version-consistency.check",
"//test",
]
}
source_set("include") {
sources = [
"//include/jasl/jasl_internal/jasl_common.hpp",
"//include/jasl/jasl_internal/jasl_diagnostic.hpp",
"//include/jasl/jasl_internal/jasl_feature_test_macro.hpp",
"//include/jasl/jasl_internal/jasl_murmurhash3.hpp",
"//include/jasl/jasl_internal/jasl_string_view_bridge.hpp",
"//include/jasl/jasl_static_string.hpp",
"//include/jasl/jasl_string.hpp",
"//include/jasl/jasl_string_view.hpp",
]
public_configs = [ ":public_config" ]
}
config("public_config") {
include_dirs = [ "//include" ]
}
action("version-consistency.check") {
script = "//build/check.py"
args = [
"version-consistency",
"--changelog",
rebase_path("//CHANGELOG.md"),
"--jasl_common",
rebase_path("//include/jasl/jasl_internal/jasl_common.hpp"),
"--doxygen_config",
rebase_path("//doxygen.cfg"),
"--output",
target_name,
]
deps = [
":include",
]
sources = [
"//CHANGELOG.md",
"//doxygen.cfg",
]
outputs = [
"$root_out_dir/$target_name",
]
}