OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 config("npapi_config") { | 5 config("npapi_config") { |
6 # Some things #include "bindings/npapi.h" and others just #include | 6 # Some things #include "bindings/npapi.h" and others just #include |
7 # "npapi.h". Account for both flavors. | 7 # "npapi.h". Account for both flavors. |
8 include_dirs = [ ".", "bindings" ] | 8 include_dirs = [ ".", "bindings" ] |
9 } | 9 } |
10 | 10 |
11 source_set("npapi") { | 11 source_set("npapi") { |
12 # Just headers but this allows us to track dependencies on these. | 12 # Just headers but this allows us to track dependencies on these. |
13 sources = [ | 13 sources = [ |
14 "bindings/npapi.h", | 14 "bindings/npapi.h", |
15 "bindings/npapi_extensions.h", | 15 "bindings/npapi_extensions.h", |
16 "bindings/npapi_x11.h", | 16 "bindings/npapi_x11.h", |
17 "bindings/npfunctions.h", | 17 "bindings/npfunctions.h", |
18 "bindings/nphostapi.h", | 18 "bindings/nphostapi.h", |
19 "bindings/nptypes.h", | 19 "bindings/nptypes.h", |
20 "bindings/npruntime.h", | 20 "bindings/npruntime.h", |
21 ] | 21 ] |
22 | 22 |
23 direct_dependent_configs = [ ":npapi_config" ] | 23 public_configs = [ ":npapi_config" ] |
24 } | 24 } |
OLD | NEW |