v8/test/inspector/BUILD.gn
Peter Kvitek 91c8be9599 [DevTools] Implemented DevTools protocol API to retrieve V8 RunTime Call Stats.
The new APIs are:
enableRuntimeCallStats
disableRuntimeCallStats
getRuntimeCallStats

The RunTime Call Stats are collected per isolate.

Change-Id: I7e520e2c866288aa9f9dc74f12572abedf0d3ac8
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1881601
Commit-Queue: Peter Kvitek <kvitekp@chromium.org>
Reviewed-by: Yang Guo <yangguo@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64784}
2019-11-05 18:59:24 +00:00

54 lines
1011 B
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",
]
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/",
"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/",
]
cflags = []
ldflags = []
}