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': [ ### gcmole(all) ### |
| 9 'channel-impl.cc', |
| 10 'channel-impl.h', |
| 11 'inspector-client-impl.cc', |
| 12 'inspector-client-impl.h', |
| 13 'inspector-extension.cc', |
| 14 'inspector-extension.h', |
| 15 'inspector-protocol.cc', |
| 16 'load-extension.cc', |
| 17 'load-extension.h', |
| 18 'set-timeout-extension.cc', |
| 19 'set-timeout-extension.h', |
| 20 'task-queue.cc', |
| 21 'task-queue.h', |
| 22 'task-runner.cc', |
| 23 'task-runner.h', |
| 24 'task.cc', |
| 25 'task.h', |
| 26 'utils-extension.cc', |
| 27 'utils-extension.h', |
| 28 ], |
| 29 }, |
| 30 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
| 31 'targets': [ |
| 32 { |
| 33 'target_name': 'inspector-protocol', |
| 34 'type': 'executable', |
| 35 'dependencies': [ |
| 36 'resources', |
| 37 '../../src/v8.gyp:v8_libplatform', |
| 38 ], |
| 39 'include_dirs': [ |
| 40 '../..', |
| 41 ], |
| 42 'sources': [ |
| 43 '<@(inspector_protocol_sources)', |
| 44 ], |
| 45 'conditions': [ |
| 46 ['component=="shared_library"', { |
| 47 # inspector_protocol can't be built against a shared library, so we ne
ed to |
| 48 # depend on the underlying static target in that case. |
| 49 'dependencies': ['../../src/v8.gyp:v8_maybe_snapshot'], |
| 50 }, { |
| 51 'dependencies': ['../../src/v8.gyp:v8'], |
| 52 }], |
| 53 ], |
| 54 }, |
| 55 ], |
| 56 } |
OLD | NEW |