summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/npapi.gyp
blob: 82de3b1dc55e916b61a3797e1c4011958b8dca82 (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
# Copyright (c) 2009 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.

{
  'targets': [
    {
      'target_name': 'npapi',
      'type': 'none',
      'direct_dependent_settings': {
        'include_dirs': [
          # Some things #include "bindings/npapi.h" and others just #include
          # "npapi.h".  Account for both flavors.
          '.',
          'bindings',
        ],
      },
      # Even though these are just headers and aren't compiled, adding them to
      # the project makes it possible to open them in various IDEs.
      'sources': [
        'bindings/npapi.h',
        'bindings/npapi_extensions.h',
        'bindings/npfunctions.h',
        'bindings/nphostapi.h',
        'bindings/nptypes.h',
        'bindings/npruntime.h',
      ],
      'conditions': [
        ['use_x11 == 1', {
          'sources': [
            'bindings/npapi_x11.h',
          ],
        }],
      ],
    },
  ],
}