summaryrefslogtreecommitdiff
path: root/BUILD.gn
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2018-11-01 02:29:39 +0100
committerBert Belder <bertbelder@gmail.com>2018-11-01 13:34:16 +0100
commit67944f298c1fb64f69766fc6ee0269ea6b1efb75 (patch)
treebe993d2f52e0948d134b54d59e73ab26c9feb6ef /BUILD.gn
parentb73b651612233dc61d006f3dbed7f29b063fa289 (diff)
cargo: build only necessary Ninja targets when invoked by RLS
Diffstat (limited to 'BUILD.gn')
-rw-r--r--BUILD.gn7
1 files changed, 7 insertions, 0 deletions
diff --git a/BUILD.gn b/BUILD.gn
index 039909893..9e6c7abd0 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -18,6 +18,13 @@ group("default") {
]
}
+# Set of targets that need to be built for `cargo check` to succeed.
+group("cargo_check_deps") {
+ deps = [
+ ":msg_rs",
+ ]
+}
+
config("deno_config") {
include_dirs = [ "third_party/v8" ] # This allows us to v8/src/base/ libraries.
configs = [ "third_party/v8:external_config" ]