summaryrefslogtreecommitdiffstats
path: root/gin/gin.gyp
blob: ed76f09df220683a7ff5dfb56b664d03421bae9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Copyright 2013 The Chromium 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': {
    'chromium_code': 1,
  },
  'targets': [
    {
      'target_name': 'gin',
      'type': 'static_library',
      'include_dirs': [
        '..'
      ],
      'dependencies': [
        '../v8/tools/gyp/v8.gyp:v8',
      ],
      'export_dependent_settings': [
        '../v8/tools/gyp/v8.gyp:v8',
      ],
      'sources': [
        'arguments.cc',
        'arguments.h',
        'array_buffer.cc',
        'array_buffer.h',
        'converter.cc',
        'converter.h',
        'dictionary.cc',
        'dictionary.h',
        'initialize.cc',
        'initialize.h',
        'per_isolate_data.cc',
        'per_isolate_data.h',
        'runner.cc',
        'runner.h',
        'wrapper_info.cc',
        'wrapper_info.h',
      ],
    },
    {
      'target_name': 'gin_test',
      'type': 'static_library',
      'dependencies': [
        '../base/base.gyp:base',
        '../testing/gtest.gyp:gtest',
        'gin',
      ],
      'export_dependent_settings': [
        '../base/base.gyp:base',
        '../testing/gtest.gyp:gtest',
        'gin',
      ],
      'sources': [
        'test/gtest.cc',
        'test/gtest.h',
        'test/v8_test.cc',
        'test/v8_test.h',
      ],
    },
    {
      'target_name': 'gin_unittests',
      'type': 'executable',
      'dependencies': [
        '../base/base.gyp:run_all_unittests',
        'gin_test',
      ],
      'sources': [
        'converter_unittest.cc',
        'test/run_all_unittests.cc',
        'runner_unittest.cc',
      ],
    },
  ],
}