ChangeLog

 12010-08-25 Lucas De Marchi <lucas.demarchi@profusion.mobi>
 2
 3 Reviewed by NOBODY (OOPS!).
 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-08-26 Martin Robinson <mrobinson@igalia.com>
217
318 Reviewed by Xan Lopez.

WebKit/CMakeLists.txt

@@IF (WebKit_LINK_FLAGS)
7171 ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${WebKit_LINK_FLAGS}")
7272ENDIF ()
7373
 74IF (VERSION_SCRIPT)
 75 ADD_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} LINK_FLAGS "${VERSION_SCRIPT}")
 76ENDIF ()
 77
7478SET_TARGET_PROPERTIES(${WebKit_LIBRARY_NAME} PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
7579INSTALL(TARGETS ${WebKit_LIBRARY_NAME} DESTINATION lib)

WebKit/ChangeLog

 12010-08-25 Lucas De Marchi <lucas.demarchi@profusion.mobi>
 2
 3 Reviewed by NOBODY (OOPS!).
 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-08-20 Lucas De Marchi <lucas.demarchi@profusion.mobi>
215
316 Unreviewed build fix.

cmake/OptionsEfl.cmake

@@SET(JavaScriptCore_LIBRARY_NAME javascriptcore_efl)
4646SET(WebCore_LIBRARY_NAME webcore_efl)
4747SET(WebKit_LIBRARY_NAME ewebkit)
4848
 49SET(VERSION_SCRIPT "-Wl,--version-script,${CMAKE_SOURCE_DIR}/cmake/eflsymbols.filter")
 50
4951WEBKIT_FEATURE(ENABLE_AS_IMAGE "Enable SVG as image" DEFAULT ON SVG)
5052WEBKIT_FEATURE(ENABLE_BLOB "Enable blob slice" DEFAULT OFF)
5153WEBKIT_FEATURE(ENABLE_CHANNEL_MESSAGING "Enable channel messaging" DEFAULT ON)

cmake/eflsymbols.filter

 1{
 2 global:
 3 ewk_*;
 4 local:
 5 *;
 6};