⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 176538 in webkit


Ignore:
Timestamp:
Nov 25, 2014, 1:59:38 AM (12 years ago)
Author:
Csaba Osztrogonác
Message:

[EFL] REGRESSION(r176514): It made performance tests fail
https://bugs.webkit.org/show_bug.cgi?id=139037

Reviewed by Gyuyoung Kim.

Source/WebKit2:

  • WebProcess/efl/WebProcessMainEfl.cpp: Don't try to load/shutdown eail if eailLibraryPath() is empty.

Tools:

  • Scripts/webkitpy/port/efl.py:

(EflPort.setup_environ_for_server): Pass ACCESSIBILITY_EAIL_LIBRARY_PATH environment variable to WTR.

  • efl/jhbuildrc: Set ACCESSIBILITY_EAIL_LIBRARY_PATH to point to DependenciesEFL/lib/libeail.so

only if ACCESSIBILITY_EAIL_LIBRARY_PATH isn't already set and DependenciesEFL/lib/libeail.so exists.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit2/ChangeLog

    r176536 r176538  
     12014-11-25  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [EFL] REGRESSION(r176514): It made performance tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=139037
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * WebProcess/efl/WebProcessMainEfl.cpp: Don't try to load/shutdown eail if eailLibraryPath() is empty.
     9
    1102014-11-24  Eva Balazsfalvi  <evab.u-szeged@partner.samsung.com>
    211
  • trunk/Source/WebKit2/WebProcess/efl/WebProcessMainEfl.cpp

    r176514 r176538  
    123123#if HAVE(ACCESSIBILITY)
    124124        // Initialize EAIL module (adding listeners, init atk-bridge)
    125         if (eail().load()) {
     125        if (eailLibraryPath() && eail().load()) {
    126126            if (EailFunction eailInit = eail().functionPointer<EailFunction>("elm_modapi_init"))
    127127                eailInit(nullptr);
     
    149149
    150150#if HAVE(ACCESSIBILITY)
    151         if (EailFunction eailShutdown = eail().functionPointer<EailFunction>("elm_modapi_shutdown"))
    152             eailShutdown(nullptr);
     151        if (eailLibraryPath()) {
     152            if (EailFunction eailShutdown = eail().functionPointer<EailFunction>("elm_modapi_shutdown"))
     153                eailShutdown(nullptr);
     154        }
    153155#endif
    154156    }
  • trunk/Tools/ChangeLog

    r176526 r176538  
     12014-11-25  Csaba Osztrogonác  <ossy@webkit.org>
     2
     3        [EFL] REGRESSION(r176514): It made performance tests fail
     4        https://bugs.webkit.org/show_bug.cgi?id=139037
     5
     6        Reviewed by Gyuyoung Kim.
     7
     8        * Scripts/webkitpy/port/efl.py:
     9        (EflPort.setup_environ_for_server): Pass ACCESSIBILITY_EAIL_LIBRARY_PATH environment variable to WTR.
     10        * efl/jhbuildrc: Set ACCESSIBILITY_EAIL_LIBRARY_PATH to point to DependenciesEFL/lib/libeail.so
     11        only if ACCESSIBILITY_EAIL_LIBRARY_PATH isn't already set and DependenciesEFL/lib/libeail.so exists.
     12
    1132014-11-24  Michael Catanzaro  <mcatanzaro@igalia.com>
    214
  • trunk/Tools/Scripts/webkitpy/port/efl.py

    r174093 r176538  
    6464        if not 'DISPLAY' in os.environ:
    6565            del env['DISPLAY']
     66
     67        if 'ACCESSIBILITY_EAIL_LIBRARY_PATH' in os.environ:
     68            env['ACCESSIBILITY_EAIL_LIBRARY_PATH'] = os.environ['ACCESSIBILITY_EAIL_LIBRARY_PATH']
    6669
    6770        env['TEST_RUNNER_INJECTED_BUNDLE_FILENAME'] = self._build_path('lib', 'libTestRunnerInjectedBundle.so')
  • trunk/Tools/efl/jhbuildrc

    r169785 r176538  
    3434addpath('XDG_CONFIG_DIRS', '/etc/xdg')
    3535
     36if not 'ACCESSIBILITY_EAIL_LIBRARY_PATH' in os.environ:
     37    _libeail_path = os.path.join(os.environ['CMAKE_LIBRARY_PATH'], 'libeail.so')
     38    if os.path.isfile(_libeail_path):
     39        os.environ['ACCESSIBILITY_EAIL_LIBRARY_PATH'] = _libeail_path
     40
    3641partial_build = False
Note: See TracChangeset for help on using the changeset viewer.