blob: d07cda2431848420c14390cd85b6ff35abe9da55 [file] [log] [blame]
David Tolnay5bde59d2020-02-09 18:59:12 -08001# To be generated by Facebook's `reindeer` tool once that is open source.
2
3rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -08004 name = "bitflags",
5 srcs = glob(["vendor/bitflags-1.2.1/src/**"]),
6)
7
8rust_library(
9 name = "cc",
David Tolnayde0c14d2020-10-07 16:40:19 -070010 srcs = glob(["vendor/cc-1.0.61/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080011 visibility = ["PUBLIC"],
12)
13
14rust_library(
15 name = "clap",
David Tolnay041c9042020-08-25 22:16:15 -070016 srcs = glob(["vendor/clap-2.33.3/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080017 edition = "2015",
David Tolnayb316d0b2020-07-30 22:39:23 -070018 visibility = ["PUBLIC"],
David Tolnay5bde59d2020-02-09 18:59:12 -080019 deps = [
20 ":bitflags",
21 ":textwrap",
22 ":unicode-width",
23 ],
24)
25
26rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080027 name = "codespan-reporting",
David Tolnaya96213c2020-07-30 22:19:57 -070028 srcs = glob(["vendor/codespan-reporting-0.9.5/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080029 visibility = ["PUBLIC"],
30 deps = [
David Tolnay5bde59d2020-02-09 18:59:12 -080031 ":termcolor",
32 ":unicode-width",
33 ],
34)
35
36rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080037 name = "lazy_static",
38 srcs = glob(["vendor/lazy_static-1.4.0/src/**"]),
David Tolnay4563fb12020-10-08 16:43:19 -070039 visibility = ["PUBLIC"],
David Tolnay5bde59d2020-02-09 18:59:12 -080040)
41
42rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080043 name = "proc-macro2",
David Tolnayd93afe72020-10-04 13:07:23 -070044 srcs = glob(["vendor/proc-macro2-1.0.24/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080045 visibility = ["PUBLIC"],
46 features = [
47 "proc-macro",
48 "span-locations",
49 ],
50 rustc_flags = [
51 "--cfg=span_locations",
52 "--cfg=use_proc_macro",
53 "--cfg=wrap_proc_macro",
54 ],
55 deps = [":unicode-xid"],
56)
57
58rust_library(
59 name = "quote",
David Tolnaya96213c2020-07-30 22:19:57 -070060 srcs = glob(["vendor/quote-1.0.7/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080061 visibility = ["PUBLIC"],
62 features = ["proc-macro"],
63 deps = [":proc-macro2"],
64)
65
66rust_library(
David Tolnaya8beeef2020-10-07 17:29:37 -070067 name = "scratch",
68 srcs = glob(["vendor/scratch-1.0.0/src/**"]),
69 env = {"OUT_DIR": ""},
70 visibility = ["PUBLIC"],
71)
72
73rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080074 name = "syn",
David Tolnaya32ca302020-10-16 13:31:09 -070075 srcs = glob(["vendor/syn-1.0.44/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080076 visibility = ["PUBLIC"],
77 features = [
78 "clone-impls",
79 "derive",
80 "full",
81 "parsing",
82 "printing",
83 "proc-macro",
84 ],
85 deps = [
86 ":proc-macro2",
87 ":quote",
88 ":unicode-xid",
89 ],
90)
91
92rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080093 name = "termcolor",
94 srcs = glob(["vendor/termcolor-1.1.0/src/**"]),
95)
96
97rust_library(
98 name = "textwrap",
99 srcs = glob(["vendor/textwrap-0.11.0/src/**"]),
100 deps = [":unicode-width"],
101)
102
103rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -0800104 name = "unicode-width",
David Tolnaya96213c2020-07-30 22:19:57 -0700105 srcs = glob(["vendor/unicode-width-0.1.8/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -0800106)
107
108rust_library(
109 name = "unicode-xid",
David Tolnaya96213c2020-07-30 22:19:57 -0700110 srcs = glob(["vendor/unicode-xid-0.2.1/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -0800111)