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