OLD | NEW |
| (Empty) |
1 # Copyright 2016 the V8 project authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'v8_code': 1, | |
8 'inspector_protocol_sources': [ | |
9 'inspector-impl.cc', | |
10 'inspector-impl.h', | |
11 'task-runner.cc', | |
12 'task-runner.h', | |
13 ], | |
14 }, | |
15 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], | |
16 'targets': [ | |
17 { | |
18 'target_name': 'inspector-test', | |
19 'type': 'executable', | |
20 'dependencies': [ | |
21 '../../src/v8.gyp:v8_libplatform', | |
22 ], | |
23 'include_dirs': [ | |
24 '../..', | |
25 ], | |
26 'sources': [ | |
27 '<@(inspector_protocol_sources)', | |
28 ], | |
29 'conditions': [ | |
30 ['component=="shared_library"', { | |
31 # inspector-test can't be built against a shared library, so we | |
32 # need to depend on the underlying static target in that case. | |
33 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], | |
34 }, { | |
35 'dependencies': ['../../src/v8.gyp:v8'], | |
36 }], | |
37 ], | |
38 }, | |
39 ], | |
40 } | |
OLD | NEW |