| OLD | NEW |
| 1 # Copyright 2016 the V8 project authors. All rights reserved. | 1 # Copyright 2016 the V8 project authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import("../../gni/v8.gni") | 5 import("../../gni/v8.gni") |
| 6 import("//build_overrides/v8.gni") |
| 6 | 7 |
| 7 v8_executable("inspector-test") { | 8 if (v8_enable_inspector_override) { |
| 8 testonly = true | 9 v8_executable("inspector-test") { |
| 10 testonly = true |
| 9 | 11 |
| 10 sources = [ | 12 sources = [ |
| 11 "inspector-impl.cc", | 13 "inspector-impl.cc", |
| 12 "inspector-impl.h", | 14 "inspector-impl.h", |
| 13 "inspector-test.cc", | 15 "inspector-test.cc", |
| 14 "task-runner.cc", | 16 "task-runner.cc", |
| 15 "task-runner.h", | 17 "task-runner.h", |
| 16 ] | 18 ] |
| 17 | 19 |
| 18 configs = [ | 20 configs = [ |
| 19 "../..:external_config", | 21 "../..:external_config", |
| 20 "../..:internal_config_base", | 22 "../..:internal_config_base", |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 deps = [ | 25 deps = [ |
| 24 "../..:v8_libplatform", | 26 "../..:v8_libplatform", |
| 25 "//build/config/sanitizers:deps", | 27 "//build/config/sanitizers:deps", |
| 26 "//build/win:default_exe_manifest", | 28 "//build/win:default_exe_manifest", |
| 27 ] | 29 ] |
| 28 | 30 |
| 29 if (is_component_build) { | 31 if (is_component_build) { |
| 30 # inspector-test can't be built against a shared library, so we | 32 # inspector-test can't be built against a shared library, so we |
| 31 # need to depend on the underlying static target in that case. | 33 # need to depend on the underlying static target in that case. |
| 32 deps += [ "../..:v8_maybe_snapshot" ] | 34 deps += [ "../..:v8_maybe_snapshot" ] |
| 33 } else { | 35 } else { |
| 34 deps += [ "../..:v8" ] | 36 deps += [ "../..:v8" ] |
| 37 } |
| 38 |
| 39 cflags = [] |
| 40 ldflags = [] |
| 35 } | 41 } |
| 36 | |
| 37 cflags = [] | |
| 38 ldflags = [] | |
| 39 } | 42 } |
| OLD | NEW |