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 'task-runner.cc', |
| 10 'task-runner.h', |
| 11 ], |
| 12 }, |
| 13 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
| 14 'targets': [ |
| 15 { |
| 16 'target_name': 'inspector-test', |
| 17 'type': 'executable', |
| 18 'dependencies': [ |
| 19 '../../src/v8.gyp:v8_libplatform', |
| 20 ], |
| 21 'include_dirs': [ |
| 22 '../..', |
| 23 ], |
| 24 'sources': [ |
| 25 '<@(inspector_protocol_sources)', |
| 26 ], |
| 27 'conditions': [ |
| 28 ['component=="shared_library"', { |
| 29 # inspector-test can't be built against a shared library, so we |
| 30 # need to depend on the underlying static target in that case. |
| 31 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 32 }, { |
| 33 'dependencies': ['../../src/v8.gyp:v8'], |
| 34 }], |
| 35 ], |
| 36 }, |
| 37 ], |
| 38 } |
OLD | NEW |