summaryrefslogtreecommitdiff
path: root/deps/node/deps/nghttp2/nghttp2.gyp
blob: 8da81485e5f045c892dc44e1c35e512e8727b7aa (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
{
  'target_defaults': {
    'defines': [
      '_U_='
    ]
  },
  'targets': [
    {
      'target_name': 'nghttp2',
      'type': 'static_library',
      'include_dirs': ['lib/includes'],
      'defines': [
        'BUILDING_NGHTTP2',
        'NGHTTP2_STATICLIB',
      ],
      'conditions': [
        ['OS=="win"', {
          'defines': [
            'WIN32',
            '_WINDOWS',
            'HAVE_CONFIG_H',
          ],
          'msvs_settings': {
            'VCCLCompilerTool': {
              'CompileAs': '1'
            },
          },
        }],
        ['debug_nghttp2 == 1', {
          'defines': [ 'DEBUGBUILD=1' ]
        }]
      ],
      'direct_dependent_settings': {
        'defines': [ 'NGHTTP2_STATICLIB' ],
        'include_dirs': [ 'lib/includes' ]
      },
      'sources': [
        'lib/nghttp2_buf.c',
        'lib/nghttp2_callbacks.c',
        'lib/nghttp2_debug.c',
        'lib/nghttp2_frame.c',
        'lib/nghttp2_hd.c',
        'lib/nghttp2_hd_huffman.c',
        'lib/nghttp2_hd_huffman_data.c',
        'lib/nghttp2_helper.c',
        'lib/nghttp2_http.c',
        'lib/nghttp2_map.c',
        'lib/nghttp2_mem.c',
        'lib/nghttp2_npn.c',
        'lib/nghttp2_option.c',
        'lib/nghttp2_outbound_item.c',
        'lib/nghttp2_pq.c',
        'lib/nghttp2_priority_spec.c',
        'lib/nghttp2_queue.c',
        'lib/nghttp2_rcbuf.c',
        'lib/nghttp2_session.c',
        'lib/nghttp2_stream.c',
        'lib/nghttp2_submit.c',
        'lib/nghttp2_version.c'
      ]
    }
  ]
}