inspector.gyp 1.33 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
# Copyright 2016 the V8 project authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

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