2016-09-30 15:52:31 +00:00
|
|
|
# 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',
|
2016-10-10 19:08:23 +00:00
|
|
|
'../../src/v8.gyp:v8_libbase',
|
2016-09-30 15:52:31 +00:00
|
|
|
],
|
|
|
|
'include_dirs': [
|
|
|
|
'../..',
|
|
|
|
],
|
|
|
|
'sources': [
|
2016-10-10 19:08:23 +00:00
|
|
|
'inspector-impl.cc',
|
|
|
|
'inspector-impl.h',
|
|
|
|
'inspector-test.cc',
|
|
|
|
'task-runner.cc',
|
|
|
|
'task-runner.h',
|
2016-09-30 15:52:31 +00:00
|
|
|
],
|
|
|
|
'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'],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|