summaryrefslogtreecommitdiffstats
path: root/third_party/npapi/npapi.gyp
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 23:07:02 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-01 23:07:02 +0000
commit66b4e8dfc5cce75c998889d5b968ecb72a204447 (patch)
tree215d020b5bb8a5cfa43debf580e9bd3d55091b77 /third_party/npapi/npapi.gyp
parent3984b4b1edee2b14b0ebd41d31fc9fedfc7a0ef9 (diff)
downloadchromium_src-66b4e8dfc5cce75c998889d5b968ecb72a204447.zip
chromium_src-66b4e8dfc5cce75c998889d5b968ecb72a204447.tar.gz
chromium_src-66b4e8dfc5cce75c998889d5b968ecb72a204447.tar.bz2
Update the Pepper APIs to the latest spec for the 2D demo plugin.
This also adds the npapi headers to the npapi.gyp file since I got tired of Visual Studio not finding the files. This removes the "open file in sandbox" feature which it doesn't look like we will use. One more significant change is that I changed to including pepper.h in all cases, even when pepper is disabled. We used to have a forward declare in npapi.h for the structs in question, but we'll be adding a lot more structs for the different contexts and I don't think this will scale. I think its OK fo rthe pepper API declarations to be available when Pepper isn't enabled. BUT=none TEST=none Review URL: http://codereview.chromium.org/453015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/npapi/npapi.gyp')
-rw-r--r--third_party/npapi/npapi.gyp14
1 files changed, 14 insertions, 0 deletions
diff --git a/third_party/npapi/npapi.gyp b/third_party/npapi/npapi.gyp
index 796f3ca..d518240 100644
--- a/third_party/npapi/npapi.gyp
+++ b/third_party/npapi/npapi.gyp
@@ -15,6 +15,20 @@
'bindings',
],
},
+ # Even though these are just headers and aren't compiled, adding them to
+ # the project makes it possible to open them in various IDEs.
+ 'sources': [
+ 'bindings/npapi.h',
+ 'bindings/npapi_extensions.h',
+ 'bindings/npruntime.h',
+ ],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'sources': [
+ 'bindings/npapi_x11.h',
+ ],
+ }],
+ ],
},
],
}