summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--BUILD.gn12
2 files changed, 13 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 54b3f3bef..2d978997a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,7 +42,7 @@ install:
- gn args $BUILD_PATH --list
- ccache -s
# Travis hangs without -j2 argument to ninja.
- - ninja -j2 -C $BUILD_PATH test_cc handlers_test deno_cc deno_cc_nosnapshot deno deno_nosnapshot
+ - ninja -j2 -C $BUILD_PATH :all
script:
- ./tools/lint.py
- $BUILD_PATH/test_cc
diff --git a/BUILD.gn b/BUILD.gn
index 34c09b582..80a0a466b 100644
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -4,6 +4,18 @@ import("//build_extra/flatbuffers/flatbuffer.gni")
import("//build_extra/deno.gni")
import("//build_extra/rust/rust.gni")
+group("all") {
+ testonly = true
+ deps = [
+ ":deno",
+ ":deno_cc",
+ ":deno_cc_nosnapshot",
+ ":deno_nosnapshot",
+ ":handlers_test",
+ ":test_cc",
+ ]
+}
+
config("deno_config") {
include_dirs = [ "third_party/v8" ] # This allows us to v8/src/base/ libraries.
configs = [ "third_party/v8:external_config" ]