Changeset 147396 in webkit


Ignore:
Timestamp:
Apr 2, 2013 12:11:13 AM (11 years ago)
Author:
commit-queue@webkit.org
Message:

[EFL][CMAKE] Move MOZ_X11 definition from OptionsCommon to OptionsEfl
https://bugs.webkit.org/show_bug.cgi?id=113685

Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-02
Reviewed by Martin Robinson.

MOZ_X11 is added unconditionally in OptionsCommon for UNIX
platforms, but not all UNIX platforms use X11 for plugins,
BlackBerry doesn't. The only port using cmake that uses X11 is EFL
and it already has checks for X11, so we can just move the
definition to OptionsEfl.

  • Source/cmake/OptionsCommon.cmake:
  • Source/cmake/OptionsEfl.cmake:
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r147306 r147396  
     12013-04-02  Carlos Garcia Campos  <cgarcia@igalia.com>
     2
     3        [EFL][CMAKE] Move MOZ_X11 definition from OptionsCommon to OptionsEfl
     4        https://bugs.webkit.org/show_bug.cgi?id=113685
     5
     6        Reviewed by Martin Robinson.
     7
     8        MOZ_X11 is added unconditionally in OptionsCommon for UNIX
     9        platforms, but not all UNIX platforms use X11 for plugins,
     10        BlackBerry doesn't. The only port using cmake that uses X11 is EFL
     11        and it already has checks for X11, so we can just move the
     12        definition to OptionsEfl.
     13
     14        * Source/cmake/OptionsCommon.cmake:
     15        * Source/cmake/OptionsEfl.cmake:
     16
    1172013-04-01  Jinwoo Song  <jinwoo7.song@samsung.com>
    218
  • trunk/Source/cmake/OptionsCommon.cmake

    r140990 r147396  
    44if (WTF_OS_UNIX)
    55    add_definitions(-DXP_UNIX)
    6     #TODO: check for X11 target
    7     add_definitions(-DMOZ_X11)
    86endif (WTF_OS_UNIX)
    97
  • trunk/Source/cmake/OptionsEfl.cmake

    r147306 r147396  
    117117    add_definitions(-DHAVE_ECORE_X)
    118118    add_definitions(-DWTF_PLATFORM_X11=1)
     119    add_definitions(-DMOZ_X11)
    119120endif ()
    120121
Note: See TracChangeset for help on using the changeset viewer.