WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
150088
[GTK] Fix build for ENABLE_NETSCAPE_PLUGIN_API=OFF
https://bugs.webkit.org/show_bug.cgi?id=150088
Summary
[GTK] Fix build for ENABLE_NETSCAPE_PLUGIN_API=OFF
Sergio Villar Senin
Reported
2015-10-13 05:08:08 PDT
[GTK] Fix build for ENABLE_NETSCAPE_PLUGIN_API=OFF
Attachments
Patch
(5.42 KB, patch)
2015-10-13 05:09 PDT
,
Sergio Villar Senin
darin
: review-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2015-10-13 05:09:39 PDT
Created
attachment 262985
[details]
Patch
Michael Catanzaro
Comment 2
2015-10-13 10:14:04 PDT
This looks fine to me. We support and require ENABLE_NETSCAPE_PLUGIN_API=OFF if ENABLE_X11_TARGET=OFF.
Darin Adler
Comment 3
2015-10-18 16:39:54 PDT
Comment on
attachment 262985
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=262985&action=review
> Source/WebKit2/PluginProcess/EntryPoint/unix/PluginProcessMain.cpp:32 > +#if ENABLE(NETSCAPE_PLUGIN_API)
On EFL build this fails: ../../Source/WebKit2/PluginProcess/EntryPoint/unix/PluginProcessMain.cpp:32:11: error: missing binary operator before token "(" I think you need to include something here that it’s not currently including, probably "config.h".
> Source/WebKit2/PluginProcess/unix/PluginProcessMainUnix.cpp:31 > -#if ENABLE(PLUGIN_PROCESS) > +#if ENABLE(PLUGIN_PROCESS) && ENABLE(NETSCAPE_PLUGIN_API)
Why use a different order here?
Carlos Garcia Campos
Comment 4
2015-10-18 22:48:23 PDT
Comment on
attachment 262985
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=262985&action=review
> Source/WebKit2/PluginProcess/EntryPoint/unix/PluginProcessMain.cpp:34 > +#endif
I don't think this should be handled here anyway. This is the only source code file of WebKitPluginProcess, if plugin process is disabled, we don't want a binary with an empty main(). This should be handled by the build system, to not build the plugin process binary when plugin process is disabled. But this is not checking plugin process flag, but netscape plugins. It's true that we only support netscape plugins, but again I think that detail of disable plugin process if NPAPI plugins are disabled should be handled by the build system, rather than conditional compilation.
Sergio Villar Senin
Comment 5
2016-09-19 08:12:45 PDT
Closing this
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug