OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("../../gni/v8.gni") |
| 6 |
| 7 v8_executable("inspector-protocol") { |
| 8 testonly = true |
| 9 |
| 10 sources = [ |
| 11 "channel-impl.cc", |
| 12 "channel-impl.h", |
| 13 "inspector-client-impl.cc", |
| 14 "inspector-client-impl.h", |
| 15 "inspector-extension.cc", |
| 16 "inspector-extension.h", |
| 17 "inspector-protocol.cc", |
| 18 "load-extension.cc", |
| 19 "load-extension.h", |
| 20 "set-timeout-extension.cc", |
| 21 "set-timeout-extension.h", |
| 22 "task-queue.cc", |
| 23 "task-queue.h", |
| 24 "task-runner.cc", |
| 25 "task-runner.h", |
| 26 "task.cc", |
| 27 "task.h", |
| 28 "utils-extension.cc", |
| 29 "utils-extension.h", |
| 30 ] |
| 31 |
| 32 configs = [ |
| 33 "../..:external_config", |
| 34 "../..:internal_config_base", |
| 35 ] |
| 36 |
| 37 deps = [ |
| 38 "../..:v8_libplatform", |
| 39 "//build/config/sanitizers:deps", |
| 40 "//build/win:default_exe_manifest", |
| 41 ] |
| 42 |
| 43 if (is_component_build) { |
| 44 # inspector-protocol can't be built against a shared library, so we |
| 45 # need to depend on the underlying static target in that case. |
| 46 deps += [ "../..:v8_maybe_snapshot" ] |
| 47 } else { |
| 48 deps += [ "../..:v8" ] |
| 49 } |
| 50 |
| 51 cflags = [] |
| 52 ldflags = [] |
| 53 } |
OLD | NEW |