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