Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: test/BUILD.gn

Issue 2033813004: [gn] Add swarming support for all test targets (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@gn32
Patch Set: Fixes Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gni/isolate.gni ('k') | tools/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/BUILD.gn
diff --git a/test/BUILD.gn b/test/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f7bd898f55b975dda5b9743fdce96e25b789dd97
--- /dev/null
+++ b/test/BUILD.gn
@@ -0,0 +1,210 @@
+# Copyright 2016 the V8 project 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("../gni/isolate.gni")
+
+group("gn_all") {
+ testonly = true
+
+ deps = [
+ ":default_tests",
+ ]
+
+ if (host_os != "mac" || !is_android) {
+ # These items don't compile for Android on Mac.
+ deps += [
+ "cctest:cctest",
+ "unittests:unittests",
+ ]
+ }
+
+ if (v8_test_isolation_mode != "noop") {
+ deps += [
+ ":bot_default_run",
+ ":benchmarks_run",
+ ":default_run",
+ ":mozilla_run",
+ ":simdjs_run",
+ ":test262_run",
+ ]
+ }
+}
+
+###############################################################################
+# Test groups
+#
+
+group("default_tests") {
+ testonly = true
+
+ if (v8_test_isolation_mode != "noop") {
+ deps = [
+ ":cctest_run",
+ ":fuzzer_run",
+ ":intl_run",
+ ":message_run",
+ ":mjsunit_run",
+ ":preparser_run",
+ ":unittests_run",
+ ]
+ }
+}
+
+v8_isolate_run("bot_default") {
+ deps = [
+ ":default_tests",
+ ":webkit_run",
+ ]
+
+ isolate = "bot_default.isolate"
+}
+
+v8_isolate_run("default") {
+ deps = [
+ ":default_tests",
+ ]
+
+ isolate = "default.isolate"
+}
+
+v8_isolate_run("ignition") {
+ deps = [
+ ":cctest_run",
+ ":mjsunit_run",
+ ]
+
+ isolate = "ignition.isolate"
+}
+
+v8_isolate_run("optimize_for_size") {
+ deps = [
+ ":cctest_run",
+ ":intl_run",
+ ":mjsunit_run",
+ ":webkit_run",
+ ]
+
+ isolate = "optimize_for_size.isolate"
+}
+
+v8_isolate_run("perf") {
+ deps = [
+ ":cctest_exe_run",
+ "..:d8_run",
+ ]
+
+ isolate = "perf.isolate"
+}
+
+###############################################################################
+# Subtests
+#
+
+v8_isolate_run("benchmarks") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "benchmarks/benchmarks.isolate"
+}
+
+v8_isolate_run("cctest") {
+ deps = [
+ ":cctest_exe_run",
+ ]
+
+ isolate = "cctest/cctest.isolate"
+}
+
+v8_isolate_run("cctest_exe") {
+ deps = [
+ "cctest:cctest",
+ ]
+
+ isolate = "cctest/cctest_exe.isolate"
+}
+
+v8_isolate_run("fuzzer") {
+ deps = [
+ "..:v8_simple_json_fuzzer",
+ "..:v8_simple_parser_fuzzer",
+ "..:v8_simple_regexp_fuzzer",
+ "..:v8_simple_wasm_fuzzer",
+ "..:v8_simple_wasm_asmjs_fuzzer",
+ ]
+
+ isolate = "fuzzer/fuzzer.isolate"
+}
+
+v8_isolate_run("intl") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "intl/intl.isolate"
+}
+
+v8_isolate_run("message") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "message/message.isolate"
+}
+
+v8_isolate_run("mjsunit") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "mjsunit/mjsunit.isolate"
+}
+
+v8_isolate_run("mozilla") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "mozilla/mozilla.isolate"
+}
+
+v8_isolate_run("preparser") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "preparser/preparser.isolate"
+}
+
+v8_isolate_run("simdjs") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "simdjs/simdjs.isolate"
+}
+
+v8_isolate_run("test262") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "test262/test262.isolate"
+}
+
+v8_isolate_run("unittests") {
+ deps = [
+ "unittests:unittests",
+ ]
+
+ isolate = "unittests/unittests.isolate"
+}
+
+v8_isolate_run("webkit") {
+ deps = [
+ "..:d8_run",
+ ]
+
+ isolate = "webkit/webkit.isolate"
+}
« no previous file with comments | « gni/isolate.gni ('k') | tools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698