• zandobersek@gmail.com's avatar
    [GTK] Plumb the Automake build system for the Battery Status API feature · 90142ec9
    zandobersek@gmail.com authored
    Reviewed by Martin Robinson.
    * Source/autotools/FindDependencies.m4: Check for the upower-glib dependency if the feature is enabled.
    * Source/autotools/PrintBuildConfiguration.m4: Print out the feature status.
    * Source/autotools/ReadCommandLineArguments.m4: Check for the --enable-battery-status option. The deafult,
    when the option is not given, is to disable the feature.
    * Source/autotools/SetupWebKitFeatures.m4: Treat the ENABLE_BATTERY_STATUS define as configurable.
    * Source/autotools/symbols.filter: Export a couple of symbols that are used in the WebCore internals library.
    No new tests - no new functionality. The feature is not enabled yet, though all the relevant tests
    pass when it is.
    * GNUmakefile.am: Add the Modules/battery directory to the list of search paths for header inclusions.
    Include the same directory under the IDL_PATH variable so the IDL files it contains are processed.
    List these IDL files using a wildcard under the EXTRA_DIST list.
    * GNUmakefile.list.am: Add the build targets for the module source files, IDLs and resulting JS bindings.
    * bindings/gobject/GNUmakefile.am: Add the build targets for the GObject DOM bindings.
    * Scripts/webkitdirs.pm:
    (buildAutotoolsProject): List battery-status as a configurable feature, meaning its value will be adjusted
    through the --(enable|disable)-battery-status flag passed to configure.
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@149759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 270 KB