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