Changeset 202479 in webkit


Ignore:
Timestamp:
Jun 26, 2016 10:10:05 PM (8 years ago)
Author:
Gyuyoung Kim
Message:

[EFL] Fix build warning when using geoclue2
https://bugs.webkit.org/show_bug.cgi?id=159128

Reviewed by Antonio Gomes.

EFL port has handled build warning as error. So EFL port
hasn't been built when we use geoclue2 library because a generated geoclue2 file
has unused-parameter build warning. To fix it this patch set to ignore the build warning
in the generated geoclue2 file.

  • PlatformEfl.cmake:
Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202478 r202479  
     12016-06-26  Gyuyoung Kim  <gyuyoung.kim@webkit.org>
     2
     3        [EFL] Fix build warning when using geoclue2
     4        https://bugs.webkit.org/show_bug.cgi?id=159128
     5
     6        Reviewed by Antonio Gomes.
     7
     8        EFL port has handled build warning as error. So EFL port
     9        hasn't been built when we use geoclue2 library because a generated geoclue2 file
     10        has unused-parameter build warning. To fix it this patch set to ignore the build warning
     11        in the generated geoclue2 file.
     12
     13        * PlatformEfl.cmake:
     14
    1152016-06-26  Chris Dumez  <cdumez@apple.com>
    216
  • trunk/Source/WebCore/PlatformEfl.cmake

    r201038 r202479  
    233233         COMMAND gdbus-codegen --interface-prefix org.freedesktop.GeoClue2. --c-namespace Geoclue --generate-c-code ${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface ${GEOCLUE_DBUS_INTERFACE}
    234234    )
     235    # Geoclue2Interface.c generates unused-parameter build warning, it causes build error when using geoclue2 library.
     236    set_source_files_properties(${DERIVED_SOURCES_WEBCORE_DIR}/Geoclue2Interface.c PROPERTIES COMPILE_FLAGS -Wno-error)
    235237endif ()
    236238
Note: See TracChangeset for help on using the changeset viewer.