Changeset 128297 in webkit


Ignore:
Timestamp:
Sep 12, 2012 5:32:29 AM (12 years ago)
Author:
commit-queue@webkit.org
Message:

[Qt] Fix the build with ENABLE_NETSCAPE_PLUGIN_API=0
https://bugs.webkit.org/show_bug.cgi?id=96494

Patch by Simon Hausmann <simon.hausmann@nokia.com> on 2012-09-12
Reviewed by Tor Arne Vestbø.

WK2's ENABLE_PLUGIN_PROCESS uses the NPAPI functions unconditionally, so disable the
plugin process feature if we don't have NPAPI.

  • qmake/mkspecs/features/features.prf:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r128296 r128297  
     12012-09-12  Simon Hausmann  <simon.hausmann@nokia.com>
     2
     3        [Qt] Fix the build with ENABLE_NETSCAPE_PLUGIN_API=0
     4        https://bugs.webkit.org/show_bug.cgi?id=96494
     5
     6        Reviewed by Tor Arne Vestbø.
     7
     8        WK2's ENABLE_PLUGIN_PROCESS uses the NPAPI functions unconditionally, so disable the
     9        plugin process feature if we don't have NPAPI.
     10
     11        * qmake/mkspecs/features/features.prf:
     12
    1132012-09-12  Sheriff Bot  <webkit.review.bot@gmail.com>
    214
  • trunk/Tools/qmake/mkspecs/features/features.prf

    r128174 r128297  
    150150    !build?(webkit2): WEBKIT_CONFIG -= fullscreen_api
    151151
     152    # WK2's plugin process code requires NPAPI
     153    !enable?(netscape_plugin_api): WEBKIT_CONFIG -= plugin_process
     154
    152155    export(WEBKIT_CONFIG)
    153156}
Note: See TracChangeset for help on using the changeset viewer.