forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 2
/
avro.BUILD
35 lines (31 loc) · 790 Bytes
/
avro.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
package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0
prefix_dir = "avro-cpp-1.8.0"
cc_library(
name = "avrocpp",
srcs = glob(
[
prefix_dir + "/impl/**/*.cc",
prefix_dir + "/impl/**/*.hh",
],
exclude = [
prefix_dir + "/impl/avrogencpp.cc",
],
),
hdrs = glob([prefix_dir + "/api/**/*.hh"]),
includes = [prefix_dir + "/api"],
deps = [
"@boost_archive//:boost",
"@boost_archive//:filesystem",
"@boost_archive//:iostreams",
"@boost_archive//:system",
],
)
cc_binary(
name = "avrogencpp",
srcs = [prefix_dir + "/impl/avrogencpp.cc"],
deps = [
":avrocpp",
"@boost_archive//:program_options",
],
)