Skip to content
  • zandobersek@gmail.com's avatar
    [Autotools] Unify WTF sources list regardless of the target OS, Unicode backend · 506e0b70
    zandobersek@gmail.com authored
    https://bugs.webkit.org/show_bug.cgi?id=105886
    
    Reviewed by Gustavo Noronha Silva.
    
    Rather than including files in the sources list in an OS-specific way,
    guard specific files with OS(UNIX|WINDOWS), USE((GLIB|ICU)_UNICODE) guards
    and include all of them in the list.
    
    Proper comments for namespace and #if guard closings are also added or adjusted
    where necessary in the affected files.
    
    * GNUmakefile.list.am:
    * wtf/OSAllocatorPosix.cpp: Add OS(UNIX) guards.
    * wtf/OSAllocatorWin.cpp: Add OS(WINDOWS) guards.
    * wtf/ThreadSpecificWin.cpp: Ditto.
    * wtf/ThreadingWin.cpp: Ditto.
    * wtf/unicode/glib/UnicodeGLib.cpp: Add USE(GLIB_UNICODE) guards.
    (WTF):
    * wtf/unicode/glib/UnicodeGLib.h: Ditto.
    (WTF):
    * wtf/unicode/icu/CollatorICU.cpp: Style changes.
    * wtf/unicode/icu/UnicodeIcu.h: Add USE(ICU_UNICODE) guards.
    (WTF):
    * wtf/win/OwnPtrWin.cpp: Add OS(WINDOWS) guards.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    506e0b70