enclose-io/compiler

View on GitHub
lts/deps/v8/tools/gcmole/BUILD.gn

Summary

Maintainability
Test Coverage
# 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.gn",
    "gcmole.lua",
    "gcmole-tools/",
    "parallel.py",
    "run-gcmole.py",
    "suspects.whitelist",
    "test-expectations.txt",

    # The following contains all relevant source and build files.
    "../debug_helper/debug-helper.h",
    "../../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",
    "../../third_party/inspector_protocol/",
    "$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/" ]
  }
}