Changeset 74012 in webkit


Ignore:
Timestamp:
Dec 14, 2010 3:40:13 AM (13 years ago)
Author:
commit-queue@webkit.org
Message:

2010-12-14 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[EFL] Add linker script to export less symbols
https://bugs.webkit.org/show_bug.cgi?id=44609

Filter the exported symbols by using a linker script. Only symbols
starting with "ewk_" are exported.

  • cmake/OptionsEfl.cmake: Pass linker option to use a version script when linking webkit.
  • cmake/eflsymbols.filter: Added. Export only symbols starting with "ewk_" (C linkage).

2010-12-14 Lucas De Marchi <lucas.demarchi@profusion.mobi>

Reviewed by Eric Seidel.

[EFL] Add linker script to export less symbols
https://bugs.webkit.org/show_bug.cgi?id=44609

Filter the exported symbols by using a linker script. Only symbols
starting with "ewk_" are exported.

  • CMakeLists.txt: Add link flags to webkit library when there's a version script.
Location:
trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r74007 r74012  
     12010-12-14  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [EFL] Add linker script to export less symbols
     6        https://bugs.webkit.org/show_bug.cgi?id=44609
     7
     8        Filter the exported symbols by using a linker script. Only symbols
     9        starting with "ewk_" are exported.
     10
     11        * cmake/OptionsEfl.cmake: Pass linker option to use a version script
     12        when linking webkit.
     13        * cmake/eflsymbols.filter: Added. Export only symbols starting with
     14        "ewk_" (C linkage).
     15
    1162010-12-13  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
    217
  • trunk/WebKit/CMakeLists.txt

    r72067 r74012  
    7474ENDIF ()
    7575
     76IF (VERSION_SCRIPT)
     77    ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${VERSION_SCRIPT}")
     78ENDIF ()
     79
    7680SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
    7781INSTALL(TARGETS ${WebKit_LIBRARY_NAME} DESTINATION lib)
  • trunk/WebKit/ChangeLog

    r73453 r74012  
     12010-12-14  Lucas De Marchi  <lucas.demarchi@profusion.mobi>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [EFL] Add linker script to export less symbols
     6        https://bugs.webkit.org/show_bug.cgi?id=44609
     7
     8        Filter the exported symbols by using a linker script. Only symbols
     9        starting with "ewk_" are exported.
     10
     11        * CMakeLists.txt: Add link flags to webkit library when there's a
     12        version script.
     13
    1142010-12-07  Simon Fraser  <simon.fraser@apple.com>
    215
  • trunk/cmake/OptionsEfl.cmake

    r72054 r74012  
    4848SET(DATA_DIR ${CMAKE_INSTALL_PREFIX}/share/${WebKit_LIBRARY_NAME}-${PROJECT_VERSION_MAJOR})
    4949ADD_DEFINITIONS(-DDATA_DIR="${DATA_DIR}")
     50
     51SET(VERSION_SCRIPT "-Wl,--version-script,${CMAKE_SOURCE_DIR}/cmake/eflsymbols.filter")
    5052
    5153WEBKIT_FEATURE(ENABLE_AS_IMAGE "Enable SVG as image" DEFAULT ON SVG)
Note: See TracChangeset for help on using the changeset viewer.