diff options
author | brettw@chromium.org <brettw@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-07-23 03:39:48 +0000 |
---|---|---|
committer | brettw@chromium.org <brettw@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2014-07-23 03:39:48 +0000 |
commit | ced29c0374122b410f4d5abf9cba67cb99f5824f (patch) | |
tree | aff951a73c213cdd8899de71a47b34a0514a641f /third_party/WebKit/public/BUILD.gn | |
parent | 979d48af7c6765676069517e3b955edc5904a87f (diff) | |
download | chromium_src-ced29c0374122b410f4d5abf9cba67cb99f5824f.zip chromium_src-ced29c0374122b410f4d5abf9cba67cb99f5824f.tar.gz chromium_src-ced29c0374122b410f4d5abf9cba67cb99f5824f.tar.bz2 |
Add NPAPI header include path to GN blink config
WebBindings.h includes "bindings/npruntime.h" which requires that the NPAPI directory be on the search path. This patch makes it so that targets depending on blink headers will get this seach path.
Review URL: https://codereview.chromium.org/411653003
git-svn-id: svn://svn.chromium.org/blink/trunk@178727 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/public/BUILD.gn')
-rw-r--r-- | third_party/WebKit/public/BUILD.gn | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/third_party/WebKit/public/BUILD.gn b/third_party/WebKit/public/BUILD.gn index bd439b2..43cec92 100644 --- a/third_party/WebKit/public/BUILD.gn +++ b/third_party/WebKit/public/BUILD.gn @@ -54,7 +54,11 @@ config("blink_headers_config") { # Depend on this target to use public blink API headers for things like enums # and public structures without actually linking against any Blink libraries. source_set("blink_headers") { - direct_dependent_configs = [ ":blink_headers_config" ] + direct_dependent_configs = [ + ":blink_headers_config", + # Blink exposes NPAPI headers in the public API. + "//third_party/npapi:npapi_config", + ] } # GYP version: WebKit/public/blink_devtools.gyp:blink_devtools_frontend_resources |