forked from waymo-research/waymo-open-dataset
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
46 lines (40 loc) · 1.08 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
load("@wod_deps//:requirements.bzl", "requirement")
package(
default_applicable_licenses = ["//waymo_open_dataset:license"],
default_visibility = [
"//visibility:public",
],
)
licenses(["notice"])
# Libs
cc_library(
name = "camera_model",
srcs = ["camera_model.cc"],
hdrs = ["camera_model.h"],
deps = [
"//waymo_open_dataset:dataset_cc_proto",
"//waymo_open_dataset/math:vec2d",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/types:optional",
"@com_google_glog//:glog",
"@tensorflow_cc_deps//:cc_library",
],
)
filegroup(
name = "libcamera_model.so",
srcs = [":camera_model"],
output_group = "dynamic_library",
)
# Tests
cc_test(
name = "camera_model_test",
srcs = ["camera_model_test.cc"],
deps = [
":camera_model",
"//waymo_open_dataset:dataset_cc_proto",
"@com_google_absl//absl/memory",
"@com_google_googletest//:gtest",
"@com_google_googletest//:gtest_main",
"@tensorflow_cc_deps//:cc_library", # build_cleaner: keep
],
)