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 { 'variables': { | 5 { 'variables': { |
6 'protocol_path': '../../third_party/WebKit/Source/platform/inspector_protoco
l', | 6 'protocol_path': '../../third_party/WebKit/Source/platform/inspector_protoco
l', |
7 }, | 7 }, |
8 'targets': [ | 8 'targets': [ |
9 { 'target_name': 'inspector_protocol_parser_test', | 9 { 'target_name': 'inspector_protocol_parser_test', |
10 'type': 'executable', | 10 'type': 'executable', |
11 'dependencies': [ | 11 'dependencies': [ |
12 '../../src/inspector/inspector.gyp:inspector_protocol', | 12 '../../src/inspector/inspector.gyp:inspector_protocol', |
13 '../../testing/gmock.gyp:gmock', | 13 '../../testing/gmock.gyp:gmock', |
14 '../../testing/gtest.gyp:gtest', | 14 '../../testing/gtest.gyp:gtest', |
15 ], | 15 ], |
16 'include_dirs+': [ | 16 'include_dirs+': [ |
17 '../..', | 17 '../..', |
18 '<(protocol_path)/../..', | 18 '<(protocol_path)/../..', |
19 ], | 19 ], |
20 'defines': [ | 20 'defines': [ |
21 'V8_INSPECTOR_USE_STL', | 21 'V8_INSPECTOR_USE_STL', |
22 ], | 22 ], |
23 'sources': [ | 23 'sources': [ |
24 '<(protocol_path)/ParserTest.cpp', | 24 '<(protocol_path)/ParserTest.cpp', |
25 'RunTests.cpp', | 25 'RunTests.cpp', |
26 ] | 26 ] |
27 }, | 27 }, |
28 ], | 28 ], |
| 29 'conditions': [ |
| 30 ['test_isolation_mode != "noop"', { |
| 31 'targets': [ |
| 32 { |
| 33 'target_name': 'inspector_protocol_parser_test_run', |
| 34 'type': 'none', |
| 35 'dependencies': [ |
| 36 'inspector_protocol_parser_test', |
| 37 ], |
| 38 'includes': [ |
| 39 '../../gypfiles/features.gypi', |
| 40 '../../gypfiles/isolate.gypi', |
| 41 ], |
| 42 'sources': [ |
| 43 'inspector_protocol_parser_test.isolate', |
| 44 ], |
| 45 }, |
| 46 ], |
| 47 }], |
| 48 ], |
29 } | 49 } |
OLD | NEW |