Index: test/inspector-protocol/inspector-protocol.gyp |
diff --git a/test/inspector-protocol/inspector-protocol.gyp b/test/inspector-protocol/inspector-protocol.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..29eda2d67daf5897cbd431c0daa2f310e2d06cbd |
--- /dev/null |
+++ b/test/inspector-protocol/inspector-protocol.gyp |
@@ -0,0 +1,39 @@ |
+# 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. |
+ |
+{ |
+ 'variables': { |
+ 'v8_code': 1, |
+ 'inspector_protocol_sources': [ |
+ 'task-runner.cc', |
+ 'task-runner.h', |
+ ], |
+ }, |
+ 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
+ 'targets': [ |
+ { |
+ 'target_name': 'inspector-protocol', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'resources', |
Michael Achenbach
2016/09/28 10:13:46
What's resources for a dependency? What's the corr
kozy
2016/09/28 16:38:16
Removed.
|
+ '../../src/v8.gyp:v8_libplatform', |
+ ], |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
+ 'sources': [ |
+ '<@(inspector_protocol_sources)', |
+ ], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ # inspector_protocol can't be built against a shared library, so we need to |
+ # depend on the underlying static target in that case. |
+ 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
+ }, { |
+ 'dependencies': ['../../src/v8.gyp:v8'], |
+ }], |
+ ], |
+ }, |
+ ], |
+} |