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