summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/BUILD.gn
blob: 646b80aaa3de4e131c68f9d32e29ee4f43e1c907 (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
# 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",
  ]

  direct_dependent_configs = [ ":npapi_config" ]
}