11cb0ef41Sopenharmony_ci# Copyright 2018 the V8 project authors. All rights reserved. 21cb0ef41Sopenharmony_ci# Use of this source code is governed by a BSD-style license that can be 31cb0ef41Sopenharmony_ci# found in the LICENSE file. 41cb0ef41Sopenharmony_ci 51cb0ef41Sopenharmony_ciimport("../../gni/v8.gni") 61cb0ef41Sopenharmony_ci 71cb0ef41Sopenharmony_cigroup("v8_gcmole_files") { 81cb0ef41Sopenharmony_ci testonly = true 91cb0ef41Sopenharmony_ci data_deps = [ 101cb0ef41Sopenharmony_ci "../../:v8_dump_build_config", 111cb0ef41Sopenharmony_ci "../../:v8_generated_cc_files", 121cb0ef41Sopenharmony_ci ] 131cb0ef41Sopenharmony_ci data = [ 141cb0ef41Sopenharmony_ci "gcmole.py", 151cb0ef41Sopenharmony_ci "gcmole-test.cc", 161cb0ef41Sopenharmony_ci "gcmole-tools/", 171cb0ef41Sopenharmony_ci "run-gcmole.py", 181cb0ef41Sopenharmony_ci "suspects.allowlist", 191cb0ef41Sopenharmony_ci "ignored_files", 201cb0ef41Sopenharmony_ci "test-expectations.txt", 211cb0ef41Sopenharmony_ci 221cb0ef41Sopenharmony_ci # The following contains all relevant source and build files. 231cb0ef41Sopenharmony_ci "../debug_helper/debug-helper.h", 241cb0ef41Sopenharmony_ci "../../BUILD.gn", 251cb0ef41Sopenharmony_ci "../../base/", 261cb0ef41Sopenharmony_ci "../../include/", 271cb0ef41Sopenharmony_ci "../../src/", 281cb0ef41Sopenharmony_ci "../../test/cctest/", 291cb0ef41Sopenharmony_ci "../../test/common/", 301cb0ef41Sopenharmony_ci "../../testing/gtest/include/gtest/gtest_prod.h", 311cb0ef41Sopenharmony_ci "../../third_party/googletest/src/googletest/include/gtest/gtest_prod.h", 321cb0ef41Sopenharmony_ci "../../third_party/icu/source/", 331cb0ef41Sopenharmony_ci "../../third_party/wasm-api/wasm.h", 341cb0ef41Sopenharmony_ci "../../third_party/wasm-api/wasm.hh", 351cb0ef41Sopenharmony_ci "../../third_party/zlib/", 361cb0ef41Sopenharmony_ci "../../third_party/inspector_protocol/", 371cb0ef41Sopenharmony_ci "$target_gen_dir/../../", 381cb0ef41Sopenharmony_ci "$target_gen_dir/../../torque-generated/", 391cb0ef41Sopenharmony_ci ] 401cb0ef41Sopenharmony_ci 411cb0ef41Sopenharmony_ci if (v8_gcmole) { 421cb0ef41Sopenharmony_ci # This assumes gcmole tools have been fetched by a hook 431cb0ef41Sopenharmony_ci # into v8/tools/gcmole/gcmole_tools. 441cb0ef41Sopenharmony_ci data += [ "gcmole-tools/" ] 451cb0ef41Sopenharmony_ci } 461cb0ef41Sopenharmony_ci} 47