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 3 # found in the LICENSE file. 4 5 config("npapi_config") { 6 # Some things #include "bindings/npapi.h" and others just #include 7 # "npapi.h". Account for both flavors. 8 include_dirs = [ ".", "bindings" ] 9 } 10 11 source_set("npapi") { 12 # Just headers but this allows us to track dependencies on these. 13 sources = [ 14 "bindings/npapi.h", 15 "bindings/npapi_extensions.h", 16 "bindings/npapi_x11.h", 17 "bindings/npfunctions.h", 18 "bindings/nphostapi.h", 19 "bindings/nptypes.h", 20 "bindings/npruntime.h", 21 ] 22 23 direct_dependent_configs = [ ":npapi_config" ] 24 } 25