Title: [118470] trunk
Revision
118470
Author
[email protected]
Date
2012-05-24 21:00:42 -0700 (Thu, 24 May 2012)

Log Message

[GTK] Add --enable-css3-flexbox configure option after r118304.
https://bugs.webkit.org/show_bug.cgi?id=87455

Patch by Philippe Normand <[email protected]> on 2012-05-24
Reviewed by Xan Lopez.

.:

* configure.ac:

Source/WebCore:

* GNUmakefile.am:

Modified Paths

Diff

Modified: trunk/ChangeLog (118469 => 118470)


--- trunk/ChangeLog	2012-05-25 03:55:12 UTC (rev 118469)
+++ trunk/ChangeLog	2012-05-25 04:00:42 UTC (rev 118470)
@@ -1,3 +1,12 @@
+2012-05-24  Philippe Normand  <[email protected]>
+
+        [GTK] Add --enable-css3-flexbox configure option after r118304.
+        https://bugs.webkit.org/show_bug.cgi?id=87455
+
+        Reviewed by Xan Lopez.
+
+        * configure.ac:
+
 2012-05-24  John Mellor  <[email protected]>
 
         Font Boosting: Add compile flag and runtime setting

Modified: trunk/Source/WebCore/ChangeLog (118469 => 118470)


--- trunk/Source/WebCore/ChangeLog	2012-05-25 03:55:12 UTC (rev 118469)
+++ trunk/Source/WebCore/ChangeLog	2012-05-25 04:00:42 UTC (rev 118470)
@@ -1,3 +1,12 @@
+2012-05-24  Philippe Normand  <[email protected]>
+
+        [GTK] Add --enable-css3-flexbox configure option after r118304.
+        https://bugs.webkit.org/show_bug.cgi?id=87455
+
+        Reviewed by Xan Lopez.
+
+        * GNUmakefile.am:
+
 2012-05-24  MORITA Hajime  <[email protected]>
 
         Scoped stylesheet should be per-document-configurable.

Modified: trunk/Source/WebCore/GNUmakefile.am (118469 => 118470)


--- trunk/Source/WebCore/GNUmakefile.am	2012-05-25 03:55:12 UTC (rev 118469)
+++ trunk/Source/WebCore/GNUmakefile.am	2012-05-25 04:00:42 UTC (rev 118470)
@@ -671,6 +671,14 @@
 webcore_cppflags += -DENABLE_IFRAME_SEAMLESS=1
 endif  # END ENABLE_IFRAME_SEAMLESS
 
+# ---
+# CSS3 Flexbox support
+# ---
+if ENABLE_CSS3_FLEXBOX
+FEATURE_DEFINES += ENABLE_CSS3_FLEXBOX=1
+webcore_cppflags += -DENABLE_CSS3_FLEXBOX=1
+endif  # END ENABLE_CSS3_FLEXBOX
+
 DerivedSources/WebCore/CSSPropertyNames.cpp: DerivedSources/WebCore/CSSPropertyNames.h
 DerivedSources/WebCore/CSSPropertyNames.h: $(WEBCORE_CSS_PROPERTY_NAMES) $(WebCore)/css/makeprop.pl
 	$(AM_V_GEN)

Modified: trunk/configure.ac (118469 => 118470)


--- trunk/configure.ac	2012-05-25 03:55:12 UTC (rev 118469)
+++ trunk/configure.ac	2012-05-25 04:00:42 UTC (rev 118470)
@@ -976,6 +976,14 @@
               [],[enable_coverage="no"])
 AC_MSG_RESULT([$enable_coverage])
 
+# check whether to enable CSS flaxbox support
+AC_MSG_CHECKING([whether to enable CSS3 flexbox support])
+AC_ARG_ENABLE(css3_flexbox,
+              AC_HELP_STRING([--enable-css3-flexbox],
+                             [enable CSS3 flexbox support [default=no]]),
+              [],[enable_css3_flexbox="no"])
+AC_MSG_RESULT([$enable_css3_flexbox])
+
 # check whether to enable FastMalloc
 AC_MSG_CHECKING([whether to enable optimized memory allocator])
 AC_ARG_ENABLE(fast_malloc,
@@ -1395,6 +1403,7 @@
 AM_CONDITIONAL([ENABLE_SVG],[test "$enable_svg" = "yes"])
 AM_CONDITIONAL([ENABLE_SVG_FONTS],[test "$enable_svg_fonts" = "yes"])
 AM_CONDITIONAL([ENABLE_COVERAGE],[test "$enable_coverage" = "yes"])
+AM_CONDITIONAL([ENABLE_CSS3_FLEXBOX],[test "$enable_css3_flexbox" = "yes"])
 AM_CONDITIONAL([ENABLE_FAST_MALLOC],[test "$enable_fast_malloc" = "yes"])
 AM_CONDITIONAL([ENABLE_WORKERS],[test "$enable_workers" = "yes"])
 AM_CONDITIONAL([ENABLE_SHADOW_DOM],[test "$enable_shadow_dom" = "yes"])
@@ -1465,6 +1474,7 @@
 Features:
  WebGL                                                    : $enable_webgl
  Blob support                                             : $enable_blob
+ CSS3 Flexbox support                                     : $enable_css3_flexbox
  Legacy WebKitBlobBuilder support                         : $enable_legacy_webkit_blob_builder
  DOM mutation observer support                            : $enable_mutation_observers
  DeviceOrientation support                                : $enable_device_orientation
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to