2016-09-30 15:52:31 +00:00
|
|
|
# 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")
|
|
|
|
|
2020-11-02 13:06:11 +00:00
|
|
|
v8_source_set("inspector_test") {
|
2017-03-31 08:24:34 +00:00
|
|
|
sources = [
|
2020-10-28 17:29:03 +00:00
|
|
|
"frontend-channel.h",
|
2017-05-17 00:30:52 +00:00
|
|
|
"isolate-data.cc",
|
|
|
|
"isolate-data.h",
|
2017-03-31 08:24:34 +00:00
|
|
|
"task-runner.cc",
|
|
|
|
"task-runner.h",
|
2020-10-27 13:52:22 +00:00
|
|
|
"tasks.cc",
|
|
|
|
"tasks.h",
|
|
|
|
"utils.cc",
|
|
|
|
"utils.h",
|
2017-03-31 08:24:34 +00:00
|
|
|
]
|
2016-09-30 15:52:31 +00:00
|
|
|
|
2020-11-02 13:06:11 +00:00
|
|
|
configs = [ "../..:internal_config_base" ]
|
|
|
|
|
|
|
|
public_deps = [
|
|
|
|
"../..:v8",
|
|
|
|
"../..:v8_libbase",
|
|
|
|
"../..:v8_libplatform",
|
2020-11-17 06:07:54 +00:00
|
|
|
"../..:v8_wrappers",
|
2020-11-02 13:06:11 +00:00
|
|
|
"../../src/inspector:inspector_test_headers",
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
v8_executable("inspector-test") {
|
|
|
|
testonly = true
|
|
|
|
|
|
|
|
sources = [ "inspector-test.cc" ]
|
|
|
|
|
2017-03-31 08:24:34 +00:00
|
|
|
configs = [
|
|
|
|
"../..:external_config",
|
|
|
|
"../..:internal_config_base",
|
|
|
|
]
|
2016-09-30 15:52:31 +00:00
|
|
|
|
2017-03-31 08:24:34 +00:00
|
|
|
deps = [
|
2020-11-02 13:06:11 +00:00
|
|
|
":inspector_test",
|
2017-03-31 08:24:34 +00:00
|
|
|
"//build/win:default_exe_manifest",
|
|
|
|
]
|
2016-09-30 15:52:31 +00:00
|
|
|
|
2020-06-10 03:54:24 +00:00
|
|
|
data_deps = [ "../../tools:v8_testrunner" ]
|
2018-03-26 13:12:27 +00:00
|
|
|
|
|
|
|
data = [
|
|
|
|
"console/",
|
2020-09-03 22:03:55 +00:00
|
|
|
"counters/",
|
2018-03-26 13:12:27 +00:00
|
|
|
"cpu-profiler/",
|
|
|
|
"debugger/",
|
|
|
|
"heap-profiler/",
|
|
|
|
"inspector.status",
|
|
|
|
"json-parse-expected.txt",
|
|
|
|
"json-parse.js",
|
|
|
|
"protocol-test.js",
|
|
|
|
"runtime/",
|
2019-10-30 00:58:34 +00:00
|
|
|
"runtime-call-stats/",
|
2018-03-26 13:12:27 +00:00
|
|
|
"sessions/",
|
|
|
|
"testcfg.py",
|
|
|
|
"type-profiler/",
|
2020-06-10 03:54:24 +00:00
|
|
|
"wasm-inspector-test.js",
|
2018-03-26 13:12:27 +00:00
|
|
|
]
|
|
|
|
|
2017-03-31 08:24:34 +00:00
|
|
|
cflags = []
|
|
|
|
ldflags = []
|
2016-09-30 15:52:31 +00:00
|
|
|
}
|