Changeset 149759 in webkit
- Timestamp:
- May 8, 2013 12:39:49 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r149714 r149759 1 2013-05-08 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Plumb the Automake build system for the Battery Status API feature 4 https://bugs.webkit.org/show_bug.cgi?id=115718 5 6 Reviewed by Martin Robinson. 7 8 * Source/autotools/FindDependencies.m4: Check for the upower-glib dependency if the feature is enabled. 9 * Source/autotools/PrintBuildConfiguration.m4: Print out the feature status. 10 * Source/autotools/ReadCommandLineArguments.m4: Check for the --enable-battery-status option. The deafult, 11 when the option is not given, is to disable the feature. 12 * Source/autotools/SetupWebKitFeatures.m4: Treat the ENABLE_BATTERY_STATUS define as configurable. 13 * Source/autotools/symbols.filter: Export a couple of symbols that are used in the WebCore internals library. 14 1 15 2013-05-08 Zan Dobersek <zdobersek@igalia.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r149755 r149759 1 2013-05-08 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Plumb the Automake build system for the Battery Status API feature 4 https://bugs.webkit.org/show_bug.cgi?id=115718 5 6 Reviewed by Martin Robinson. 7 8 No new tests - no new functionality. The feature is not enabled yet, though all the relevant tests 9 pass when it is. 10 11 * GNUmakefile.am: Add the Modules/battery directory to the list of search paths for header inclusions. 12 Include the same directory under the IDL_PATH variable so the IDL files it contains are processed. 13 List these IDL files using a wildcard under the EXTRA_DIST list. 14 * GNUmakefile.list.am: Add the build targets for the module source files, IDLs and resulting JS bindings. 15 * bindings/gobject/GNUmakefile.am: Add the build targets for the GObject DOM bindings. 16 1 17 2013-05-08 Roger Fong <roger_fong@apple.com> 2 18 -
trunk/Source/WebCore/GNUmakefile.am
r149588 r149759 10 10 -I$(srcdir)/Source/ThirdParty/ANGLE/include/KHR \ 11 11 -I$(srcdir)/Source/WebCore \ 12 -I$(srcdir)/Source/WebCore/Modules/battery \ 12 13 -I$(srcdir)/Source/WebCore/Modules/filesystem \ 13 14 -I$(srcdir)/Source/WebCore/Modules/gamepad \ … … 373 374 374 375 IDL_PATH := \ 376 $(WebCore)/Modules/battery \ 375 377 $(WebCore)/Modules/filesystem \ 376 378 $(WebCore)/Modules/gamepad \ … … 602 604 603 605 EXTRA_DIST += \ 606 $(wildcard $(srcdir)/Source/WebCore/Modules/battery/*.idl) \ 604 607 $(wildcard $(srcdir)/Source/WebCore/Modules/filesystem/*.idl) \ 605 608 $(wildcard $(srcdir)/Source/WebCore/Modules/gamepad/*.idl) \ -
trunk/Source/WebCore/GNUmakefile.list.am
r149708 r149759 72 72 DerivedSources/WebCore/JSBarInfo.cpp \ 73 73 DerivedSources/WebCore/JSBarInfo.h \ 74 DerivedSources/WebCore/JSBatteryManager.cpp \ 75 DerivedSources/WebCore/JSBatteryManager.h \ 74 76 DerivedSources/WebCore/JSBeforeLoadEvent.cpp \ 75 77 DerivedSources/WebCore/JSBeforeLoadEvent.h \ … … 1215 1217 1216 1218 dom_binding_idls += \ 1219 $(WebCore)/Modules/battery/BatteryManager.idl \ 1220 $(WebCore)/Modules/battery/NavigatorBattery.idl \ 1217 1221 $(WebCore)/Modules/filesystem/DOMFileSystem.idl \ 1218 1222 $(WebCore)/Modules/filesystem/DOMFileSystemSync.idl \ … … 1815 1819 1816 1820 webcore_modules_sources += \ 1821 Source/WebCore/Modules/battery/BatteryClient.h \ 1822 Source/WebCore/Modules/battery/BatteryController.cpp \ 1823 Source/WebCore/Modules/battery/BatteryController.h \ 1824 Source/WebCore/Modules/battery/BatteryManager.cpp \ 1825 Source/WebCore/Modules/battery/BatteryManager.h \ 1826 Source/WebCore/Modules/battery/BatteryStatus.cpp \ 1827 Source/WebCore/Modules/battery/BatteryStatus.h \ 1828 Source/WebCore/Modules/battery/NavigatorBattery.cpp \ 1829 Source/WebCore/Modules/battery/NavigatorBattery.h \ 1817 1830 Source/WebCore/Modules/filesystem/AsyncFileWriter.h \ 1818 1831 Source/WebCore/Modules/filesystem/AsyncFileWriterClient.h \ -
trunk/Source/WebCore/bindings/gobject/GNUmakefile.am
r149257 r149759 4 4 DerivedSources/webkitdom/WebKitDOMBarInfo.cpp \ 5 5 DerivedSources/webkitdom/WebKitDOMBarInfoPrivate.h \ 6 DerivedSources/webkitdom/WebKitDOMBatteryManager.cpp \ 7 DerivedSources/webkitdom/WebKitDOMBatteryManagerPrivate.h \ 6 8 DerivedSources/webkitdom/WebKitDOMBlob.cpp \ 7 9 DerivedSources/webkitdom/WebKitDOMBlobPrivate.h \ … … 284 286 285 287 webkitgtk_gdom_built_h_api += \ 288 DerivedSources/webkitdom/WebKitDOMBatteryManager.h \ 286 289 DerivedSources/webkitdom/WebKitDOMCSSRule.h \ 287 290 DerivedSources/webkitdom/WebKitDOMCSSRuleList.h \ -
trunk/Source/autotools/FindDependencies.m4
r148264 r149759 489 489 fi 490 490 491 if test "$enable_battery_status" = "yes"; then 492 PKG_CHECK_MODULES([UPOWER_GLIB], [upower-glib]) 493 494 AC_SUBST(UPOWER_GLIB_CFLAGS) 495 AC_SUBST(UPOWER_GLIB_LIBS) 496 fi 497 491 498 # Check whether to enable code coverage support. 492 499 if test "$enable_coverage" = "yes"; then -
trunk/Source/autotools/PrintBuildConfiguration.m4
r148264 r149759 18 18 Accelerated Compositing : $enable_accelerated_compositing 19 19 Accelerated 2D canvas : $enable_accelerated_canvas 20 Battery API support : $enable_battery_status 20 21 Gamepad support : $enable_gamepad 21 22 Geolocation support : $enable_geolocation -
trunk/Source/autotools/ReadCommandLineArguments.m4
r147499 r149759 125 125 AC_MSG_RESULT([$enable_web_audio]) 126 126 127 AC_MSG_CHECKING([whether to enable Battery Status API support]) 128 AC_ARG_ENABLE(battery_status, 129 AC_HELP_STRING([--enable-battery-status], [enable support for Battery Status API [default=no]]), 130 [], 131 [enable_battery_status="no"]) 132 AC_MSG_RESULT([$enable_battery_status]) 133 127 134 AC_MSG_CHECKING([whether to enable code coverage support]) 128 135 AC_ARG_ENABLE(coverage, -
trunk/Source/autotools/SetupWebKitFeatures.m4
r149352 r149759 84 84 fi 85 85 86 if test "$enable_battery_status" = "yes"; then 87 CONFIGURABLE_FEATURE_DEFINES="$CONFIGURABLE_FEATURE_DEFINES ENABLE_BATTERY_STATUS=1" 88 else 89 CONFIGURABLE_FEATURE_DEFINES="$CONFIGURABLE_FEATURE_DEFINES ENABLE_BATTERY_STATUS=0" 90 fi 91 86 92 # This list of features represents those selected for release builds. If you are 87 93 # adding a new or unstable feature, you should mark it disabled here. We need to run … … 89 95 # on the output file (WebKitFeatures.txt). 90 96 $srcdir/Tools/gtk/generate-feature-defines-files $CONFIGURABLE_FEATURE_DEFINES \ 91 ENABLE_BATTERY_STATUS=0 \92 97 ENABLE_BLOB=1 \ 93 98 ENABLE_CANVAS_PATH=0 \ -
trunk/Source/autotools/symbols.filter
r149576 r149759 316 316 _ZNK7WebCore14FrameSelection6boundsEb; 317 317 _ZN7WebCore10ClientRectC1ERKNS_9FloatRectE; 318 _ZN7WebCore13BatteryStatus6createEbddd; 319 _ZN7WebCore17BatteryController14supplementNameEv; 320 _ZN7WebCore17BatteryController22didChangeBatteryStatusERKN3WTF12AtomicStringENS1_10PassRefPtrINS_13BatteryStatusEEE; 318 321 319 322 local: -
trunk/Tools/ChangeLog
r149757 r149759 1 2013-05-08 José Dapena Paz <jdapena@igalia.com> and Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Plumb the Automake build system for the Battery Status API feature 4 https://bugs.webkit.org/show_bug.cgi?id=115718 5 6 Reviewed by Martin Robinson. 7 8 * Scripts/webkitdirs.pm: 9 (buildAutotoolsProject): List battery-status as a configurable feature, meaning its value will be adjusted 10 through the --(enable|disable)-battery-status flag passed to configure. 11 1 12 2013-05-08 Ryosuke Niwa <rniwa@webkit.org> 2 13 -
trunk/Tools/Scripts/webkitdirs.pm
r149347 r149759 1926 1926 # features for which there exists a configuration option in configure.ac. 1927 1927 my %configurableFeatures = ( 1928 "battery-status" => 1, 1928 1929 "gamepad" => 1, 1929 1930 "geolocation" => 1,
Note: See TracChangeset
for help on using the changeset viewer.