Index: test/inspector/inspector.gyp |
diff --git a/test/inspector/inspector.gyp b/test/inspector/inspector.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6b64822efc9e77a5ad7908cbb96eaa00e74347b3 |
--- /dev/null |
+++ b/test/inspector/inspector.gyp |
@@ -0,0 +1,38 @@ |
+# 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-test', |
+ 'type': 'executable', |
+ 'dependencies': [ |
+ '../../src/v8.gyp:v8_libplatform', |
+ ], |
+ 'include_dirs': [ |
+ '../..', |
+ ], |
+ 'sources': [ |
+ '<@(inspector_protocol_sources)', |
+ ], |
+ 'conditions': [ |
+ ['component=="shared_library"', { |
+ # inspector-test 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'], |
+ }], |
+ ], |
+ }, |
+ ], |
+} |