OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'npapi', | 8 'target_name': 'npapi', |
9 'type': 'none', | 9 'type': 'none', |
10 'direct_dependent_settings': { | 10 'direct_dependent_settings': { |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 # Some things #include "bindings/npapi.h" and others just #include | 12 # Some things #include "bindings/npapi.h" and others just #include |
13 # "npapi.h". Account for both flavors. | 13 # "npapi.h". Account for both flavors. |
14 '.', | 14 '.', |
15 'bindings', | 15 'bindings', |
16 ], | 16 ], |
17 }, | 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/npruntime.h', |
| 24 ], |
| 25 'conditions': [ |
| 26 ['OS=="linux"', { |
| 27 'sources': [ |
| 28 'bindings/npapi_x11.h', |
| 29 ], |
| 30 }], |
| 31 ], |
18 }, | 32 }, |
19 ], | 33 ], |
20 } | 34 } |
21 | 35 |
22 # Local Variables: | 36 # Local Variables: |
23 # tab-width:2 | 37 # tab-width:2 |
24 # indent-tabs-mode:nil | 38 # indent-tabs-mode:nil |
25 # End: | 39 # End: |
26 # vim: set expandtab tabstop=2 shiftwidth=2: | 40 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |