1# Copyright 2018 the V8 project authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("../../gni/v8.gni")
6
7group("v8_run_gcmole") {
8  testonly = true
9
10  data = [
11    "gccause.lua",
12    "gcmole.lua",
13    "gcmole-tools/",
14    "parallel.py",
15    "run-gcmole.py",
16
17    # The following contains all relevant source and build files.
18    "../../BUILD.gn",
19    "../../base/",
20    "../../include/",
21    "../../src/",
22    "../../test/cctest/",
23    "../../test/common/",
24    "../../testing/gtest/include/gtest/gtest_prod.h",
25    "../../third_party/googletest/src/googletest/include/gtest/gtest_prod.h",
26    "../../third_party/icu/source/",
27    "$target_gen_dir/../../",
28    "$target_gen_dir/../../torque-generated/",
29  ]
30
31  deps = [
32    "../../:run_torque",
33  ]
34
35  if (v8_gcmole) {
36    # This assumes gcmole tools have been fetched by a hook
37    # into v8/tools/gcmole/gcmole_tools.
38    data += [ "gcmole-tools/" ]
39  }
40}
41