| 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 | 6 |
| 7 v8_executable("inspector-test") { | 7 v8_executable("inspector-test") { |
| 8 testonly = true | 8 testonly = true |
| 9 | 9 |
| 10 sources = [ | 10 sources = [ |
| 11 "inspector-impl.cc", |
| 12 "inspector-impl.h", |
| 11 "task-runner.cc", | 13 "task-runner.cc", |
| 12 "task-runner.h", | 14 "task-runner.h", |
| 13 ] | 15 ] |
| 14 | 16 |
| 15 configs = [ | 17 configs = [ |
| 16 "../..:external_config", | 18 "../..:external_config", |
| 17 "../..:internal_config_base", | 19 "../..:internal_config_base", |
| 18 ] | 20 ] |
| 19 | 21 |
| 20 deps = [ | 22 deps = [ |
| 21 "../..:v8_libplatform", | 23 "../..:v8_libplatform", |
| 22 "//build/config/sanitizers:deps", | 24 "//build/config/sanitizers:deps", |
| 23 "//build/win:default_exe_manifest", | 25 "//build/win:default_exe_manifest", |
| 24 ] | 26 ] |
| 25 | 27 |
| 26 if (is_component_build) { | 28 if (is_component_build) { |
| 27 # inspector-test can't be built against a shared library, so we | 29 # inspector-test can't be built against a shared library, so we |
| 28 # need to depend on the underlying static target in that case. | 30 # need to depend on the underlying static target in that case. |
| 29 deps += [ "../..:v8_maybe_snapshot" ] | 31 deps += [ "../..:v8_maybe_snapshot" ] |
| 30 } else { | 32 } else { |
| 31 deps += [ "../..:v8" ] | 33 deps += [ "../..:v8" ] |
| 32 } | 34 } |
| 33 | 35 |
| 34 cflags = [] | 36 cflags = [] |
| 35 ldflags = [] | 37 ldflags = [] |
| 36 } | 38 } |
| OLD | NEW |