1# To be generated by Facebook's `reindeer` tool once that is open source. 2 3rust_library( 4 name = "bitflags", 5 srcs = glob(["vendor/bitflags-1.2.1/src/**"]), 6) 7 8rust_library( 9 name = "cc", 10 srcs = glob(["vendor/cc-1.0.67/src/**"]), 11 visibility = ["PUBLIC"], 12) 13 14rust_library( 15 name = "clap", 16 srcs = glob(["vendor/clap-2.33.3/src/**"]), 17 edition = "2015", 18 visibility = ["PUBLIC"], 19 deps = [ 20 ":bitflags", 21 ":textwrap", 22 ":unicode-width", 23 ], 24) 25 26rust_library( 27 name = "codespan-reporting", 28 srcs = glob(["vendor/codespan-reporting-0.11.1/src/**"]), 29 visibility = ["PUBLIC"], 30 deps = [ 31 ":termcolor", 32 ":unicode-width", 33 ], 34) 35 36rust_library( 37 name = "lazy_static", 38 srcs = glob(["vendor/lazy_static-1.4.0/src/**"]), 39 visibility = ["PUBLIC"], 40) 41 42rust_library( 43 name = "proc-macro2", 44 srcs = glob(["vendor/proc-macro2-1.0.26/src/**"]), 45 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", 60 srcs = glob(["vendor/quote-1.0.9/src/**"]), 61 visibility = ["PUBLIC"], 62 features = ["proc-macro"], 63 deps = [":proc-macro2"], 64) 65 66rust_library( 67 name = "scratch", 68 srcs = glob(["vendor/scratch-1.0.0/src/**"]), 69 env = {"OUT_DIR": ""}, 70 visibility = ["PUBLIC"], 71) 72 73rust_library( 74 name = "syn", 75 srcs = glob(["vendor/syn-1.0.68/src/**"]), 76 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( 93 name = "termcolor", 94 srcs = glob(["vendor/termcolor-1.1.2/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( 104 name = "unicode-width", 105 srcs = glob(["vendor/unicode-width-0.1.8/src/**"]), 106) 107 108rust_library( 109 name = "unicode-xid", 110 srcs = glob(["vendor/unicode-xid-0.2.1/src/**"]), 111) 112