diff options
Diffstat (limited to 'toxcore/BUILD.bazel')
-rw-r--r-- | toxcore/BUILD.bazel | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/toxcore/BUILD.bazel b/toxcore/BUILD.bazel index 381a1255..543bb59f 100644 --- a/toxcore/BUILD.bazel +++ b/toxcore/BUILD.bazel | |||
@@ -59,6 +59,22 @@ cc_library( | |||
59 | ) | 59 | ) |
60 | 60 | ||
61 | cc_library( | 61 | cc_library( |
62 | name = "mono_time", | ||
63 | srcs = ["mono_time.c"], | ||
64 | hdrs = ["mono_time.h"], | ||
65 | deps = [":ccompat"], | ||
66 | ) | ||
67 | |||
68 | cc_test( | ||
69 | name = "mono_time_test", | ||
70 | srcs = ["mono_time_test.cc"], | ||
71 | deps = [ | ||
72 | ":mono_time", | ||
73 | "@com_google_googletest//:gtest_main", | ||
74 | ], | ||
75 | ) | ||
76 | |||
77 | cc_library( | ||
62 | name = "network", | 78 | name = "network", |
63 | srcs = [ | 79 | srcs = [ |
64 | "network.c", | 80 | "network.c", |
@@ -77,6 +93,7 @@ cc_library( | |||
77 | ":ccompat", | 93 | ":ccompat", |
78 | ":crypto_core", | 94 | ":crypto_core", |
79 | ":logger", | 95 | ":logger", |
96 | ":mono_time", | ||
80 | ], | 97 | ], |
81 | ) | 98 | ) |
82 | 99 | ||