- add sources.
[platform/framework/web/crosswalk.git] / src / third_party / npapi / npapi.gyp
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
6   'targets': [
7     {
8       'target_name': 'npapi',
9       'type': 'none',
10       'direct_dependent_settings': {
11         'include_dirs': [
12           # Some things #include "bindings/npapi.h" and others just #include
13           # "npapi.h".  Account for both flavors.
14           '.',
15           'bindings',
16         ],
17       },
18       # Even though these are just headers and aren't compiled, adding them to
19       # the project makes it possible to open them in various IDEs.
20       'sources': [
21         'bindings/npapi.h',
22         'bindings/npapi_extensions.h',
23         'bindings/npfunctions.h',
24         'bindings/nphostapi.h',
25         'bindings/nptypes.h',
26         'bindings/npruntime.h',
27       ],
28       'conditions': [
29         ['use_x11 == 1', {
30           'sources': [
31             'bindings/npapi_x11.h',
32           ],
33         }],
34       ],
35     },
36   ],
37 }