forked from google/ink
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD.bazel
38 lines (36 loc) · 871 Bytes
/
BUILD.bazel
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
# libtess2, a polygon tesselator library
package(
default_visibility = ["//visibility:public"],
)
cc_library(
name = "libtess2",
hdrs = ["Include/tesselator.h"],
include_prefix = "libtess2",
strip_include_prefix = "Include",
deps = [":impl"],
)
cc_library(
name = "impl",
srcs = [
"Source/bucketalloc.c",
"Source/bucketalloc.h",
"Source/dict.c",
"Source/dict.h",
"Source/geom.c",
"Source/geom.h",
"Source/mesh.c",
"Source/mesh.h",
"Source/priorityq.c",
"Source/priorityq.h",
"Source/sweep.c",
"Source/sweep.h",
"Source/tess.c",
"Source/tess.h",
],
hdrs = [
"Include/tesselator.h",
],
copts = ["-Wno-unused-variable"],
strip_include_prefix = "Include",
visibility = ["//visibility:private"],
)