summaryrefslogtreecommitdiff
path: root/deps/v8/tools/gcmole/BUILD.gn
blob: 2ef447220712ce715050223aa209c1a765bfc051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Copyright 2018 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/v8.gni")

group("v8_run_gcmole") {
  testonly = true

  data = [
    "gccause.lua",
    "gcmole.lua",
    "gcmole-tools/",
    "parallel.py",
    "run-gcmole.py",

    # The following contains all relevant source and build files.
    "../../BUILD.gn",
    "../../base/",
    "../../include/",
    "../../src/",
    "../../test/cctest/",
    "../../test/common/",
    "../../testing/gtest/include/gtest/gtest_prod.h",
    "../../third_party/googletest/src/googletest/include/gtest/gtest_prod.h",
    "../../third_party/icu/source/",
    "../../third_party/wasm-api/wasm.h",
    "../../third_party/wasm-api/wasm.hh",
    "$target_gen_dir/../../",
    "$target_gen_dir/../../torque-generated/",
  ]

  deps = [
    "../../:run_torque",
  ]

  if (v8_gcmole) {
    # This assumes gcmole tools have been fetched by a hook
    # into v8/tools/gcmole/gcmole_tools.
    data += [ "gcmole-tools/" ]
  }
}