| 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 | 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. | 19 # the project makes it possible to open them in various IDEs. |
| 20 'sources': [ | 20 'sources': [ |
| 21 'bindings/npapi.h', | 21 'bindings/npapi.h', |
| 22 'bindings/npapi_extensions.h', | 22 'bindings/npapi_extensions.h', |
| 23 'bindings/npfunctions.h', | 23 'bindings/npfunctions.h', |
| 24 'bindings/nphostapi.h', | 24 'bindings/nphostapi.h', |
| 25 'bindings/nptypes.h', | 25 'bindings/nptypes.h', |
| 26 'bindings/npruntime.h', | 26 'bindings/npruntime.h', |
| 27 ], | 27 ], |
| 28 'conditions': [ | 28 'conditions': [ |
| 29 ['OS=="linux"', { | 29 ['OS=="linux" or OS=="freebsd" or OS=="openbsd"', { |
| 30 'sources': [ | 30 'sources': [ |
| 31 'bindings/npapi_x11.h', | 31 'bindings/npapi_x11.h', |
| 32 ], | 32 ], |
| 33 }], | 33 }], |
| 34 ], | 34 ], |
| 35 }, | 35 }, |
| 36 ], | 36 ], |
| 37 } | 37 } |
| 38 | 38 |
| 39 # Local Variables: | 39 # Local Variables: |
| 40 # tab-width:2 | 40 # tab-width:2 |
| 41 # indent-tabs-mode:nil | 41 # indent-tabs-mode:nil |
| 42 # End: | 42 # End: |
| 43 # vim: set expandtab tabstop=2 shiftwidth=2: | 43 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |