Chromium Code Reviews| 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 "task-runner.cc", | |
| 12 "task-runner.h", | |
| 13 ] | |
| 14 | |
| 15 configs = [ | |
| 16 "../..:external_config", | |
| 17 "../..:internal_config_base", | |
| 18 ] | |
| 19 | |
| 20 deps = [ | |
| 21 "../..:v8_libplatform", | |
| 22 "//build/config/sanitizers:deps", | |
| 23 "//build/win:default_exe_manifest", | |
| 24 ] | |
| 25 | |
| 26 if (is_component_build) { | |
| 27 # inspector-protocol can't be built against a shared library, so we | |
|
Michael Achenbach
2016/09/28 10:13:46
Are you sure it can't? Or was this c/p from cctest
kozy
2016/09/28 16:38:16
We use String16 that isn't exported from inspector
| |
| 28 # need to depend on the underlying static target in that case. | |
| 29 deps += [ "../..:v8_maybe_snapshot" ] | |
| 30 } else { | |
| 31 deps += [ "../..:v8" ] | |
| 32 } | |
| 33 | |
| 34 cflags = [] | |
| 35 ldflags = [] | |
| 36 } | |
| OLD | NEW |