v8/test/inspector/inspector.gyp
jochen d1daae6221 Fix inspector test in components build
R=jgruber@chromium.org,machenbach@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2421303002
Cr-Commit-Position: refs/heads/master@{#40410}
2016-10-18 20:08:12 +00:00

51 lines
1.1 KiB
Python

# 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,
},
'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'],
'targets': [
{
'target_name': 'inspector-test',
'type': 'executable',
'dependencies': [
'../../src/v8.gyp:v8_libplatform',
'../../src/v8.gyp:v8_libbase',
'../../src/v8.gyp:v8',
],
'include_dirs': [
'../..',
],
'sources': [
'inspector-impl.cc',
'inspector-impl.h',
'inspector-test.cc',
'task-runner.cc',
'task-runner.h',
],
},
],
'conditions': [
['test_isolation_mode != "noop"', {
'targets': [
{
'target_name': 'inspector-test_run',
'type': 'none',
'dependencies': [
'inspector-test',
],
'includes': [
'../../gypfiles/isolate.gypi',
],
'sources': [
'inspector.isolate',
],
},
],
}],
],
}