Changeset 121988 in webkit


Ignore:
Timestamp:
Jul 6, 2012 11:36:31 AM (12 years ago)
Author:
zandobersek@gmail.com
Message:

[Gtk] Add a configuration option for disabling unstable features in releases
https://bugs.webkit.org/show_bug.cgi?id=87995

Reviewed by Martin Robinson.

.:

Add a configuration flag for enabling the unstable features - features of which
support in the Gtk port is being worked on but is not yet complete. The primary
use of this flag is when compiling through the build-webkit script.

All the features that are currently enabled when building through build-webkit but
are disabled by default when executing the configure script directly have their default
value (when the correspondent flag is not passed) set to 'yes' when unstable features
are enabled and 'no' otherwise. This way unstable features are kept disabled when performing
a release build (unless they are specifically enabled).

  • configure.ac:

Tools:

Pass the --enable-unstable-features flag when building the Gtk port through build-webkit.

  • Scripts/webkitdirs.pm:

(buildAutotoolsProject):

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r121965 r121988  
     12012-07-06  Zan Dobersek  <zandobersek@gmail.com>
     2
     3        [Gtk] Add a configuration option for disabling unstable features in releases
     4        https://bugs.webkit.org/show_bug.cgi?id=87995
     5
     6        Reviewed by Martin Robinson.
     7
     8        Add a configuration flag for enabling the unstable features - features of which
     9        support in the Gtk port is being worked on but is not yet complete. The primary
     10        use of this flag is when compiling through the build-webkit script.
     11
     12        All the features that are currently enabled when building through build-webkit but
     13        are disabled by default when executing the configure script directly have their default
     14        value (when the correspondent flag is not passed) set to 'yes' when unstable features
     15        are enabled and 'no' otherwise. This way unstable features are kept disabled when performing
     16        a release build (unless they are specifically enabled).
     17
     18        * configure.ac:
     19
    1202012-07-06  Oswald Buddenhagen  <oswald.buddenhagen@nokia.com>
    221
  • trunk/Tools/ChangeLog

    r121979 r121988  
     12012-07-06  Zan Dobersek  <zandobersek@gmail.com>
     2
     3        [Gtk] Add a configuration option for disabling unstable features in releases
     4        https://bugs.webkit.org/show_bug.cgi?id=87995
     5
     6        Reviewed by Martin Robinson.
     7
     8        Pass the --enable-unstable-features flag when building the Gtk port through build-webkit.
     9
     10        * Scripts/webkitdirs.pm:
     11        (buildAutotoolsProject):
     12
    1132012-07-06  Jessie Berlin  <jberlin@apple.com>
    214
  • trunk/Tools/Scripts/webkitdirs.pm

    r121963 r121988  
    20672067    }
    20682068
     2069    # Enable unstable features when building through build-webkit.
     2070    push @buildArgs, "--enable-unstable-features";
     2071
    20692072    # We might need to update jhbuild dependencies.
    20702073    my $needUpdate = 0;
  • trunk/configure.ac

    r121861 r121988  
    528528AC_MSG_RESULT([$enable_optimizations])
    529529
     530# check whether to enable unstable features
     531AC_MSG_CHECKING([whether to enable unstable features])
     532AC_ARG_ENABLE(unstable_features,
     533              AC_HELP_STRING([--enable-unstable-features],
     534                             [enable unstable features [default=no]]),
     535              [],[enable_unstable_features="no"])
     536AC_MSG_RESULT([$enable_unstable_features])
     537
    530538found_opengl="no"
    531539if test "$with_target" = "x11"; then
     
    651659              AC_HELP_STRING([--enable-gamepad],
    652660                             [enable Gamepad support [default=no]]),
    653               [],[enable_gamepad="no"])
     661              [],[enable_gamepad=$enable_unstable_features])
    654662AC_MSG_RESULT([$enable_gamepad])
    655663
     
    672680              AC_HELP_STRING([--enable-mutation-observers],
    673681                             [enable DOM mutation observer support [default=no]]),
    674               [],[enable_mutation_observers="no"])
     682              [],[enable_mutation_observers=$enable_unstable_features])
    675683AC_MSG_RESULT([$enable_mutation_observers])
    676684
     
    757765              AC_HELP_STRING([--enable-video-track],
    758766                             [enable HTML5 video track support [default=no]]),
    759               [],[enable_video_track="no"])
     767              [],[enable_video_track=$enable_unstable_features])
    760768AC_MSG_RESULT([$enable_video_track])
    761769
     
    789797              AC_HELP_STRING([--enable-media-stream],
    790798                             [enable media stream support (incomplete) [default=no]]),
    791               [],[enable_media_stream="no"])
     799              [],[enable_media_stream=$enable_unstable_features])
    792800AC_MSG_RESULT([$enable_media_stream])
    793801
     
    947955              AC_HELP_STRING([--enable-web-timing],
    948956                             [enable support for Web Timing [default=no]]),
    949               [],[enable_web_timing="no"])
     957              [],[enable_web_timing=$enable_unstable_features])
    950958AC_MSG_RESULT([$enable_web_timing])
    951959
     
    987995              AC_HELP_STRING([--enable-css3-flexbox],
    988996                             [enable CSS3 flexbox support [default=no]]),
    989               [],[enable_css3_flexbox="no"])
     997              [],[enable_css3_flexbox=$enable_unstable_features])
    990998AC_MSG_RESULT([$enable_css3_flexbox])
    991999
     
    10441052AC_ARG_ENABLE([link-prefetch],
    10451053  [AS_HELP_STRING([--enable-link-prefetch], [Enable Link prefetch support (default: disabled)])],
    1046   [],[enable_link_prefetch=no])
     1054  [],[enable_link_prefetch=$enable_unstable_features])
    10471055AC_MSG_RESULT([$enable_link_prefetch])
    10481056
     
    13911399# WebKit feature conditionals
    13921400AM_CONDITIONAL([ENABLE_DEBUG],[test "$enable_debug_features" = "yes"])
     1401AM_CONDITIONAL([ENABLE_UNSTABLE_FEATURES],[test "$enable_unstable_features" = "yes"])
    13931402AM_CONDITIONAL([ENABLE_WEBGL],[test "$enable_webgl" = "yes"])
    13941403AM_CONDITIONAL([ENABLE_BLOB],[test "$enable_blob" = "yes"])
Note: See TracChangeset for help on using the changeset viewer.