blob: b8fb06ebf32fc555a5c70c3276b357323169bd09 [file] [log] [blame]
# Copyright 2018 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/rust/rustc_library.gni")
rustc_library("term-model") {
name = "term_model"
version = "0.1.0"
edition = "2018"
with_unit_tests = true
deps = [
"//third_party/rust_crates:base64",
"//third_party/rust_crates:bitflags",
"//third_party/rust_crates:log",
"//third_party/rust_crates:serde",
"//third_party/rust_crates:serde_json",
"//third_party/rust_crates:unicode-width",
"//third_party/rust_crates:vte",
]
sources = [
"src/ansi.rs",
"src/clipboard.rs",
"src/config/colors.rs",
"src/config/debug.rs",
"src/config/font.rs",
"src/config/mod.rs",
"src/config/scrolling.rs",
"src/config/visual_bell.rs",
"src/config/window.rs",
"src/event.rs",
"src/grid/mod.rs",
"src/grid/row.rs",
"src/grid/storage.rs",
"src/grid/tests.rs",
"src/index.rs",
"src/lib.rs",
"src/message_bar.rs",
"src/selection.rs",
"src/term/cell.rs",
"src/term/color.rs",
"src/term/mod.rs",
]
}