• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'target_defaults': {
3    'defines': [
4      '_U_='
5    ]
6  },
7  'targets': [
8    {
9      'target_name': 'nghttp2',
10      'type': 'static_library',
11      'include_dirs': ['lib/includes'],
12      'defines': [
13        'BUILDING_NGHTTP2',
14        'NGHTTP2_STATICLIB',
15        'HAVE_CONFIG_H',
16      ],
17      'conditions': [
18        ['OS=="win"', {
19          'defines': [
20            'WIN32',
21            '_WINDOWS',
22          ],
23          'msvs_settings': {
24            'VCCLCompilerTool': {
25              'CompileAs': '1'
26            },
27          },
28        }],
29        ['debug_nghttp2 == 1', {
30          'defines': [ 'DEBUGBUILD=1' ]
31        }]
32      ],
33      'direct_dependent_settings': {
34        'defines': [ 'NGHTTP2_STATICLIB' ],
35        'include_dirs': [ 'lib/includes' ]
36      },
37      'sources': [
38        'lib/nghttp2_buf.c',
39        'lib/nghttp2_callbacks.c',
40        'lib/nghttp2_debug.c',
41        'lib/nghttp2_frame.c',
42        'lib/nghttp2_hd.c',
43        'lib/nghttp2_hd_huffman.c',
44        'lib/nghttp2_hd_huffman_data.c',
45        'lib/nghttp2_helper.c',
46        'lib/nghttp2_http.c',
47        'lib/nghttp2_ksl.c',
48        'lib/nghttp2_map.c',
49        'lib/nghttp2_mem.c',
50        'lib/nghttp2_npn.c',
51        'lib/nghttp2_option.c',
52        'lib/nghttp2_outbound_item.c',
53        'lib/nghttp2_pq.c',
54        'lib/nghttp2_priority_spec.c',
55        'lib/nghttp2_queue.c',
56        'lib/nghttp2_rcbuf.c',
57        'lib/nghttp2_session.c',
58        'lib/nghttp2_stream.c',
59        'lib/nghttp2_submit.c',
60        'lib/nghttp2_version.c'
61      ]
62    }
63  ]
64}
65