1cc_library( 2 name = "libnos_transport", 3 srcs = [ 4 "crc16.c", 5 "transport.c", 6 ], 7 hdrs = [ 8 "crc16.h", 9 "include/nos/transport.h", 10 ], 11 includes = [ 12 "include", 13 ], 14 visibility = ["//visibility:public"], 15 deps = [ 16 "//host/generic:nos_headers", 17 "//host/generic/libnos_datagram", 18 ], 19) 20 21cc_test( 22 name = "libnos_transport_test", 23 srcs = [ 24 "test/test.cpp", 25 ], 26 copts = [ 27 "-fsanitize=address", 28 "-Ihost/generic/libnos_transport", 29 ], 30 linkopts = ["-fsanitize=address"], 31 deps = [ 32 ":libnos_transport", 33 "//host/generic:nos_headers", 34 "@gtest", 35 ], 36) 37