summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/BUILD.gn
blob: ad170834dd69d3932a6b0b0af81547b948c36b37 (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
# Copyright 2014 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.

config("npapi_config") {
  # Some things #include "bindings/npapi.h" and others just #include
  # "npapi.h". Account for both flavors.
  include_dirs = [
    ".",
    "bindings",
  ]
}

source_set("npapi") {
  # Just headers but this allows us to track dependencies on these.
  sources = [
    "bindings/npapi.h",
    "bindings/npapi_extensions.h",
    "bindings/npapi_x11.h",
    "bindings/npfunctions.h",
    "bindings/nphostapi.h",
    "bindings/nptypes.h",
    "bindings/npruntime.h",
  ]

  public_configs = [ ":npapi_config" ]
}