-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathBUILD
49 lines (43 loc) · 1.1 KB
/
BUILD
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
licenses(["notice"]) # Apache 2
package(default_visibility = ["//visibility:public"])
exports_files(["LICENSE"])
cc_library(
name = "bssl_wrapper",
srcs = [
"include/bssl_wrapper/bssl_wrapper.h",
"include/bssl_wrapper/openssl/digest.h",
"include/bssl_wrapper/openssl/bn.h",
"include/openssl/bytestring.h",
"include/openssl/span.h",
"src/internal.h",
"src/bn.c",
"src/digest.c",
"src/cbs.c",
"src/cbb.c",
"src/asn1_a_int.c",
],
copts = [
"-std=c11",
"-Wmissing-prototypes",
"-Wold-style-definition",
"-Wstrict-prototypes",
# Assembler option --noexecstack adds .note.GNU-stack to each object to
# ensure that binaries can be built with non-executable stack.
"-Wa,--noexecstack",
"-Wall",
"-Werror",
"-Wformat=2",
"-Wsign-compare",
"-Wmissing-field-initializers",
"-Wwrite-strings",
"-Wshadow",
"-fno-common",
],
includes = [
"include",
],
strip_include_prefix = "include",
deps = [
"@openssl//:openssl-lib",
],
)