v8/test/inspector/BUILD.gn
Clemens Backes cf3a842edb [inspector][fuzzer] Add inspector fuzzer
This adds a first simple version of the inspector fuzzer, which is a
stripped-down version of the inspector-test executable. The fuzzer
generates inputs which are compatible with inspector-test.

There are still memory leaks, and the fuzzer will probably run into
timeouts most of the time. Both of this will be addressed in follow-ups.

R=szuend@chromium.org, machenbach@chromium.org

Bug: chromium:1142437
Change-Id: I4d13da460f571d791a3642b0705a1f07b442c11b
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2505722
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Reviewed-by: Simon Zünd <szuend@chromium.org>
Reviewed-by: Michael Achenbach <machenbach@chromium.org>
Cr-Commit-Position: refs/heads/master@{#70922}
2020-11-02 14:29:08 +00:00

68 lines
1.2 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_source_set("inspector_test") {
sources = [
"frontend-channel.h",
"isolate-data.cc",
"isolate-data.h",
"task-runner.cc",
"task-runner.h",
"tasks.cc",
"tasks.h",
"utils.cc",
"utils.h",
]
configs = [ "../..:internal_config_base" ]
public_deps = [
"../..:v8",
"../..:v8_libbase",
"../..:v8_libplatform",
"../../src/inspector:inspector_test_headers",
]
}
v8_executable("inspector-test") {
testonly = true
sources = [ "inspector-test.cc" ]
configs = [
"../..:external_config",
"../..:internal_config_base",
]
deps = [
":inspector_test",
"//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 = []
}