Chromium Code Reviews| Index: test/inspector-protocol/BUILD.gn | 
| diff --git a/test/inspector-protocol/BUILD.gn b/test/inspector-protocol/BUILD.gn | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..73a03eba1c3eefe4a3de4e6447db6499dd8f9afb | 
| --- /dev/null | 
| +++ b/test/inspector-protocol/BUILD.gn | 
| @@ -0,0 +1,36 @@ | 
| +# Copyright 2016 the V8 project authors. All rights reserved. | 
| +# Use of this source code is governed by a BSD-style license that can be | 
| +# found in the LICENSE file. | 
| + | 
| +import("../../gni/v8.gni") | 
| + | 
| +v8_executable("inspector-protocol") { | 
| + testonly = true | 
| + | 
| + sources = [ | 
| + "task-runner.cc", | 
| + "task-runner.h", | 
| + ] | 
| + | 
| + configs = [ | 
| + "../..:external_config", | 
| + "../..:internal_config_base", | 
| + ] | 
| + | 
| + deps = [ | 
| + "../..:v8_libplatform", | 
| + "//build/config/sanitizers:deps", | 
| + "//build/win:default_exe_manifest", | 
| + ] | 
| + | 
| + if (is_component_build) { | 
| + # 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
 
 | 
| + # need to depend on the underlying static target in that case. | 
| + deps += [ "../..:v8_maybe_snapshot" ] | 
| + } else { | 
| + deps += [ "../..:v8" ] | 
| + } | 
| + | 
| + cflags = [] | 
| + ldflags = [] | 
| +} |