[webkit-help] how to disable NPAPI plugin support

Julien Chaffraix julien.chaffraix at gmail.com
Tue Aug 30 14:56:27 PDT 2011

> I'm trying to build webkit for my arm-linux (./autogen.sh --host=arm-linux
> --with-target=directfb --without-gtkplus).
> Whats the proper way to disable npapi plugin support?

IIRC there used to be some option to disable NPAPI but it does not
seem to around anymore. Tools/Scripts/build-webkit has such an option
but I am not sure it would work looking at what you say.

> I tried
> setting #define ENABLE_NETSCAPE_PLUGIN_API 0
> in JavaScriptCore/wtf/Platform.h. Do i also need to remove
>  plugins/npapi.cpp, plugins/* in WebCore.pro?

WebCore.pro is used for the Qt port. You are trying to build Gtk here
so the relevant file is Sources/WebCore/GNUMakefile.list.am. Following
what Qt is doing is a good way to get Gtk to build.

Hope it helps,

More information about the webkit-help mailing list