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 }, | 8 }, |
9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], | 9 'includes': ['../../gypfiles/toolchain.gypi', '../../gypfiles/features.gypi'], |
10 'targets': [ | 10 'targets': [ |
11 { | 11 { |
12 'target_name': 'inspector-test', | 12 'target_name': 'inspector-test', |
13 'type': 'executable', | 13 'type': 'executable', |
14 'dependencies': [ | 14 'dependencies': [ |
15 '../../src/v8.gyp:v8_libplatform', | 15 '../../src/v8.gyp:v8_libplatform', |
16 '../../src/v8.gyp:v8_libbase', | 16 '../../src/v8.gyp:v8_libbase', |
17 '../../src/v8.gyp:v8', | 17 '../../src/v8.gyp:v8', |
18 ], | 18 ], |
19 'include_dirs': [ | 19 'include_dirs': [ |
20 '../..', | 20 '../..', |
21 ], | 21 ], |
22 'sources': [ | 22 'sources': [ |
23 'inspector-impl.cc', | 23 'inspector-impl.cc', |
24 'inspector-impl.h', | 24 'inspector-impl.h', |
25 'inspector-test.cc', | 25 'inspector-test.cc', |
26 'task-runner.cc', | 26 'task-runner.cc', |
27 'task-runner.h', | 27 'task-runner.h', |
28 ], | 28 ], |
| 29 'conditions': [ |
| 30 ['v8_enable_i18n_support==1', { |
| 31 'dependencies': [ |
| 32 '<(icu_gyp_path):icui18n', |
| 33 '<(icu_gyp_path):icuuc', |
| 34 ], |
| 35 }], |
| 36 ], |
29 }, | 37 }, |
30 ], | 38 ], |
31 'conditions': [ | 39 'conditions': [ |
32 ['test_isolation_mode != "noop"', { | 40 ['test_isolation_mode != "noop"', { |
33 'targets': [ | 41 'targets': [ |
34 { | 42 { |
35 'target_name': 'inspector-test_run', | 43 'target_name': 'inspector-test_run', |
36 'type': 'none', | 44 'type': 'none', |
37 'dependencies': [ | 45 'dependencies': [ |
38 'inspector-test', | 46 'inspector-test', |
39 ], | 47 ], |
40 'includes': [ | 48 'includes': [ |
41 '../../gypfiles/isolate.gypi', | 49 '../../gypfiles/isolate.gypi', |
42 ], | 50 ], |
43 'sources': [ | 51 'sources': [ |
44 'inspector.isolate', | 52 'inspector.isolate', |
45 ], | 53 ], |
46 }, | 54 }, |
47 ], | 55 ], |
48 }], | 56 }], |
49 ], | 57 ], |
50 } | 58 } |
OLD | NEW |