ae0e92219b
Instead of directly using v8_enable_inspector_override from build_overrides/v8.gni in all the GN configs, set a v8_enable_inspector variable based on v8_enable_inspector_override and use that everywhere. This is the more common pattern seen in over projects, and reduces the need to include //build_overrides/v8.gni in many files. Review-Url: https://codereview.chromium.org/2520683002 Cr-Commit-Position: refs/heads/master@{#41156}
36 lines
732 B
Plaintext
36 lines
732 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")
|
|
|
|
if (v8_enable_inspector) {
|
|
v8_executable("inspector-test") {
|
|
testonly = true
|
|
|
|
sources = [
|
|
"inspector-impl.cc",
|
|
"inspector-impl.h",
|
|
"inspector-test.cc",
|
|
"task-runner.cc",
|
|
"task-runner.h",
|
|
]
|
|
|
|
configs = [
|
|
"../..:external_config",
|
|
"../..:internal_config_base",
|
|
]
|
|
|
|
deps = [
|
|
"../..:v8",
|
|
"../..:v8_libbase",
|
|
"../..:v8_libplatform",
|
|
"//build/config/sanitizers:deps",
|
|
"//build/win:default_exe_manifest",
|
|
]
|
|
|
|
cflags = []
|
|
ldflags = []
|
|
}
|
|
}
|