forked from driftregion/iso14229
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
60 lines (52 loc) · 1023 Bytes
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
package(default_visibility = ["//visibility:public"])
filegroup(
name = "srcs",
srcs = [
"iso14229.c",
"iso14229.h",
"iso14229serverbufferedwriter.h",
],
)
cc_test(
name="test",
srcs=[
":srcs",
"test_iso14229.c",
],
copts=[
"-Wall",
"-Wextra",
"-Wno-missing-field-initializers",
"-Werror",
"-Wno-unused-parameter",
],
defines=[
"UDS_TP=UDS_TP_CUSTOM",
"UDS_CUSTOM_MILLIS",
],
)
cc_test(
name = "test_server_bufferedwriter",
srcs = [
"udsserverbufferedwriter.h",
"test_udsserverbufferedwriter.c",
],
)
filegroup(
name="isotp_c_srcs",
srcs=[
"isotp-c/isotp.c",
"isotp-c/isotp.h",
"isotp-c/isotp_config.h",
"isotp-c/isotp_defines.h",
"isotp-c/isotp_user.h",
],
)
cc_library(
name="isotp_c",
srcs=[":isotp_c_srcs"],
copts=["-Wno-unused-parameter"],
)
cc_binary(
name="example_server",
)