-
Notifications
You must be signed in to change notification settings - Fork 285
/
BUILD
78 lines (73 loc) · 2.25 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
73
74
75
76
77
78
# Bazel(http://bazel.io) BUILD file
load("@rules_cc//cc:defs.bzl", "cc_library", "cc_test")
licenses(["notice"])
exports_files(["LICENSE"])
cc_library(
name = "double-conversion",
srcs = [
"double-conversion/bignum.cc",
"double-conversion/bignum-dtoa.cc",
"double-conversion/cached-powers.cc",
"double-conversion/double-to-string.cc",
"double-conversion/fast-dtoa.cc",
"double-conversion/fixed-dtoa.cc",
"double-conversion/string-to-double.cc",
"double-conversion/strtod.cc",
],
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/double-to-string.h",
"double-conversion/fast-dtoa.h",
"double-conversion/fixed-dtoa.h",
"double-conversion/ieee.h",
"double-conversion/string-to-double.h",
"double-conversion/strtod.h",
"double-conversion/utils.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"],
)