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..f79480d7456d6f0a4e3258e3fc2602165bde3edc |
--- /dev/null |
+++ b/test/inspector-protocol/inspector-protocol.gyp |
@@ -0,0 +1,56 @@ |
+# 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': [ ### gcmole(all) ### |
+ 'channel-impl.cc', |
+ 'channel-impl.h', |
+ 'inspector-client-impl.cc', |
+ 'inspector-client-impl.h', |
+ 'inspector-extension.cc', |
+ 'inspector-extension.h', |
+ 'inspector-protocol.cc', |
+ 'load-extension.cc', |
+ 'load-extension.h', |
+ 'set-timeout-extension.cc', |
+ 'set-timeout-extension.h', |
+ 'task-queue.cc', |
+ 'task-queue.h', |
+ 'task-runner.cc', |
+ 'task-runner.h', |
+ 'task.cc', |
+ 'task.h', |
+ 'utils-extension.cc', |
+ 'utils-extension.h', |
+ ], |
+ }, |
+ 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
+ 'targets': [ |
+ { |
+ 'target_name': 'inspector-protocol', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ 'resources', |
+ '../../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'], |
+ }], |
+ ], |
+ }, |
+ ], |
+} |