forked from google/double-conversion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
72 lines (69 loc) · 2.07 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# Bazel(http://bazel.io) BUILD file
licenses(["notice"])
cc_library(
name = "double-conversion",
srcs = [
"double-conversion/bignum.cc",
"double-conversion/bignum-dtoa.cc",
"double-conversion/cached-powers.cc",
"double-conversion/diy-fp.cc",
"double-conversion/double-conversion.cc",
"double-conversion/fast-dtoa.cc",
"double-conversion/fixed-dtoa.cc",
"double-conversion/strtod.cc",
"double-conversion/utils.h",
],
hdrs = [
"double-conversion/bignum.h",
"double-conversion/bignum-dtoa.h",
"double-conversion/cached-powers.h",
"double-conversion/diy-fp.h",
"double-conversion/double-conversion.h",
"double-conversion/fast-dtoa.h",
"double-conversion/fixed-dtoa.h",
"double-conversion/ieee.h",
"double-conversion/strtod.h",
],
linkopts = [
"-lm",
],
visibility = ["//visibility:public"],
)
cc_test(
name = "cctest",
srcs = [
"test/cctest/cctest.cc",
"test/cctest/cctest.h",
"test/cctest/checks.h",
"test/cctest/gay-fixed.cc",
"test/cctest/gay-fixed.h",
"test/cctest/gay-precision.cc",
"test/cctest/gay-precision.h",
"test/cctest/gay-shortest.cc",
"test/cctest/gay-shortest.h",
"test/cctest/gay-shortest-single.cc",
"test/cctest/gay-shortest-single.h",
"test/cctest/test-bignum.cc",
"test/cctest/test-bignum-dtoa.cc",
"test/cctest/test-conversions.cc",
"test/cctest/test-diy-fp.cc",
"test/cctest/test-dtoa.cc",
"test/cctest/test-fast-dtoa.cc",
"test/cctest/test-fixed-dtoa.cc",
"test/cctest/test-ieee.cc",
"test/cctest/test-strtod.cc",
],
args = [
"test-bignum",
"test-bignum-dtoa",
"test-conversions",
"test-diy-fp",
"test-dtoa",
"test-fast-dtoa",
"test-fixed-dtoa",
"test-ieee",
"test-strtod",
],
visibility = ["//visibility:public"],
deps = [":double-conversion"],
)