3640583fcc
This CL extracts some functionality from inspector-test.cc to be reused by the inspector fuzzer. It also puts all functions in the v8::internal namespace, and adds separate functions in v8::internal to be called by ::main such that we have direct access to the full namespace there. R=szuend@chromium.org Bug: chromium:1142437 Change-Id: I671317822bdc1c721334469811893affcc460f8f Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2501847 Reviewed-by: Simon Zünd <szuend@chromium.org> Commit-Queue: Clemens Backes <clemensb@chromium.org> Cr-Commit-Position: refs/heads/master@{#70821}
58 lines
1.1 KiB
Plaintext
58 lines
1.1 KiB
Plaintext
# 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/v8.gni")
|
|
|
|
v8_executable("inspector-test") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"inspector-test.cc",
|
|
"isolate-data.cc",
|
|
"isolate-data.h",
|
|
"task-runner.cc",
|
|
"task-runner.h",
|
|
"tasks.cc",
|
|
"tasks.h",
|
|
"utils.cc",
|
|
"utils.h",
|
|
]
|
|
|
|
configs = [
|
|
"../..:external_config",
|
|
"../..:internal_config_base",
|
|
]
|
|
|
|
deps = [
|
|
"../..:v8",
|
|
"../..:v8_libbase",
|
|
"../..:v8_libplatform",
|
|
"../../src/inspector:inspector_test_headers",
|
|
"//build/win:default_exe_manifest",
|
|
]
|
|
|
|
data_deps = [ "../../tools:v8_testrunner" ]
|
|
|
|
data = [
|
|
"console/",
|
|
"counters/",
|
|
"cpu-profiler/",
|
|
"debugger/",
|
|
"heap-profiler/",
|
|
"inspector.status",
|
|
"json-parse-expected.txt",
|
|
"json-parse.js",
|
|
"protocol-test.js",
|
|
"runtime/",
|
|
"runtime-call-stats/",
|
|
"sessions/",
|
|
"testcfg.py",
|
|
"type-profiler/",
|
|
"wasm-inspector-test.js",
|
|
]
|
|
|
|
cflags = []
|
|
ldflags = []
|
|
}
|