blob: 3b0ec99bdc1f565499e4d572a03ae112b330ef1d [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 Tolnay5bde59d2020-02-09 18:59:12 -080067 name = "syn",
David Tolnayd93afe72020-10-04 13:07:23 -070068 srcs = glob(["vendor/syn-1.0.42/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080069 visibility = ["PUBLIC"],
70 features = [
71 "clone-impls",
72 "derive",
73 "full",
74 "parsing",
75 "printing",
76 "proc-macro",
77 ],
78 deps = [
79 ":proc-macro2",
80 ":quote",
81 ":unicode-xid",
82 ],
83)
84
85rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080086 name = "termcolor",
87 srcs = glob(["vendor/termcolor-1.1.0/src/**"]),
88)
89
90rust_library(
91 name = "textwrap",
92 srcs = glob(["vendor/textwrap-0.11.0/src/**"]),
93 deps = [":unicode-width"],
94)
95
96rust_library(
David Tolnay5bde59d2020-02-09 18:59:12 -080097 name = "unicode-width",
David Tolnaya96213c2020-07-30 22:19:57 -070098 srcs = glob(["vendor/unicode-width-0.1.8/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -080099)
100
101rust_library(
102 name = "unicode-xid",
David Tolnaya96213c2020-07-30 22:19:57 -0700103 srcs = glob(["vendor/unicode-xid-0.2.1/src/**"]),
David Tolnay5bde59d2020-02-09 18:59:12 -0800104)