Skip to content

Commit

Permalink
third_party: add rust crate 'termcolor'
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus authored and ry committed Jun 25, 2019
1 parent 046cbef commit 89216c7
Show file tree
Hide file tree
Showing 5 changed files with 67 additions and 1 deletion.
29 changes: 29 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions build_extra/rust/BUILD.gn
Expand Up @@ -1468,6 +1468,18 @@ rust_rlib("tempfile") {
}
}

rust_rlib("termcolor") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/src/lib.rs"
args = [
"--cap-lints",
"allow",
]
if (is_win) {
extern_rlib = [ "wincolor" ]
}
}

rust_rlib("textwrap") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/textwrap-0.11.0/src/lib.rs"
Expand Down Expand Up @@ -2353,6 +2365,29 @@ if (is_win) {
]
}

rust_rlib("winapi_util") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/lib.rs"
extern_rlib = [ "winapi" ]
args = [
"--cap-lints",
"allow",
]
}

rust_rlib("wincolor") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/src/lib.rs"
extern_rlib = [
"winapi",
"winapi_util",
]
args = [
"--cap-lints",
"allow",
]
}

rust_rlib("ws2_32") {
edition = "2015"
source_root = "$cargo_home/registry/src/github.com-1ecc6299db9ec823/ws2_32-sys-0.2.1/src/lib.rs"
Expand Down
1 change: 1 addition & 0 deletions cli/BUILD.gn
Expand Up @@ -42,6 +42,7 @@ main_extern_rlib = [
"serde_json",
"source_map_mappings",
"tempfile",
"termcolor",
"tokio",
"tokio_executor",
"tokio_fs",
Expand Down
1 change: 1 addition & 0 deletions cli/Cargo.toml
Expand Up @@ -42,6 +42,7 @@ serde_derive = "1.0.92"
serde_json = { version = "1.0.39", features = [ "preserve_order" ] }
source-map-mappings = "0.5.0"
tempfile = "3.0.8"
termcolor = "1.0.4"
tokio = "0.1.21"
tokio-executor = "0.1.7"
tokio-fs = "0.1.6"
Expand Down
2 changes: 1 addition & 1 deletion third_party
Submodule third_party updated 35 files
+1 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/.cargo-ok
+5 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/.cargo_vcs_info.json
+5 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/.gitignore
+3 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/COPYING
+30 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/Cargo.toml
+21 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/Cargo.toml.orig
+21 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/LICENSE-MIT
+86 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/README.md
+24 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/UNLICENSE
+1,895 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/termcolor-1.0.4/src/lib.rs
+1 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/.cargo-ok
+5 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/.cargo_vcs_info.json
+4 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/.gitignore
+8 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/.travis.yml
+3 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/COPYING
+27 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/Cargo.toml
+27 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/Cargo.toml.orig
+21 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/LICENSE-MIT
+51 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/README.md
+24 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/UNLICENSE
+26 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/appveyor.yml
+7 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/ci/script.sh
+121 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/console.rs
+171 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/file.rs
+35 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/lib.rs
+247 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/winapi-util-0.1.2/src/win.rs
+1 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/.cargo-ok
+3 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/COPYING
+33 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/Cargo.toml
+24 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/Cargo.toml.orig
+21 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/LICENSE-MIT
+44 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/README.md
+24 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/UNLICENSE
+35 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/src/lib.rs
+261 −0 rust_crates/registry/src/github.com-1ecc6299db9ec823/wincolor-1.0.1/src/win.rs

0 comments on commit 89216c7

Please sign in to comment.