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
|
package {
default_applicable_licenses: ["external_libvterm_license"],
}
license {
name: "external_libvterm_license",
visibility: [":__subpackages__"],
license_kinds: [
// src/unicode.c:
"SPDX-license-identifier-0BSD",
// Everything else:
"SPDX-license-identifier-MIT",
],
license_text: [
"LICENSE",
],
}
cc_library_static {
name: "libvterm",
export_include_dirs: ["include"],
srcs: [
"src/encoding.c",
"src/input.c",
"src/keyboard.c",
"src/parser.c",
"src/pen.c",
"src/screen.c",
"src/state.c",
"src/unicode.c",
"src/vterm.c",
],
cflags: [
"-std=c99",
"-Wall",
"-Werror",
"-Wno-missing-field-initializers",
"-Wno-sign-compare",
"-Wno-unused-function",
"-Wno-unused-parameter",
],
}
|