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-protocol', |
| 17 'type': 'executable', |
| 18 'dependencies': [ |
| 19 'resources', |
| 20 '../../src/v8.gyp:v8_libplatform', |
| 21 ], |
| 22 'include_dirs': [ |
| 23 '../..', |
| 24 ], |
| 25 'sources': [ |
| 26 '<@(inspector_protocol_sources)', |
| 27 ], |
| 28 'conditions': [ |
| 29 ['component=="shared_library"', { |
| 30 # inspector_protocol can't be built against a shared library, so we ne
ed to |
| 31 # depend on the underlying static target in that case. |
| 32 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 33 }, { |
| 34 'dependencies': ['../../src/v8.gyp:v8'], |
| 35 }], |
| 36 ], |
| 37 }, |
| 38 ], |
| 39 } |
OLD | NEW |