Skip to content
  • eric@webkit.org's avatar
    Move wtf/Platform.h from JavaScriptCore to Source/WTF/wtf · dfe41abf
    eric@webkit.org authored
    https://bugs.webkit.org/show_bug.cgi?id=80911
    
    Reviewed by Adam Barth.
    
    .:
    
    * CMakeLists.txt: Define WTF_DIR
    
    Source/JavaScriptCore:
    
    Update the various build systems to depend on Source/WTF headers
    as well as remove references to Platform.h (since it's now moved).
    
    * CMakeLists.txt:
    * JavaScriptCore.pri:
    * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreCommon.vsprops:
    * JavaScriptCore.xcodeproj/project.pbxproj:
    * wtf/CMakeLists.txt:
    
    Source/WebCore:
    
    * CMakeLists.txt:
     - Look for headers in Source/WTF as well.
    
    Source/WebKit:
    
    * CMakeLists.txt: Look for headers in Source/WTF.
    
    Source/WebKit/qt:
    
    Fix WTF header include paths since although
    Source/WTF is included, no longer are all the
    subdirectories (thus "RefPtr.h" can't work).
    
    * Api/qwebdatabase_p.h:
    * Api/qwebscriptworld_p.h:
    * Api/qwebsecurityorigin_p.h:
    * WebCoreSupport/InspectorClientQt.h:
    * WebCoreSupport/QtFallbackWebPopup.h:
    * WebCoreSupport/QtWebComboBox.h:
    * declarative/experimental/experimental.pri:
    * declarative/public.pri:
    * tests/MIMESniffing/MIMESniffing.pro:
    
    Source/WebKit2:
    
    Update to not depend on "Foo.h" includes for WTF headers.
    
    * Shared/qt/QtNetworkReplyData.h:
    * Shared/qt/QtNetworkRequestData.cpp:
    * Shared/qt/QtNetworkRequestData.h:
    
    Source/WTF:
    
    Update build systems to account for the new location of Platform.h
    
    * GNUmakefile.list.am:
    * WTF.gypi:
    * WTF.pro:
    * WTF.vcproj/WTF.vcproj:
    * WTF.vcproj/work-around-vs-dependency-tracking-bugs.py:
    (react_to_vsprops_changes):
    * WTF.xcodeproj/project.pbxproj:
    * config.h: I don't think this change is 100% correct (but seemed to be needed to make qt-wk2 build)
     - This dependency on JSC should be removed regardless (in a later patch).
    * wtf/Platform.h: Renamed from Source/JavaScriptCore/wtf/Platform.h.
    
    Tools:
    
    Update include paths for Source/WTF.
    
    * DumpRenderTree/efl/CMakeLists.txt:
    * DumpRenderTree/qt/DumpRenderTree.pro:
    * QtTestBrowser/QtTestBrowser.pro:
    * Scripts/build-webkit: Build Source/WTF on AppleWin as well.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    dfe41abf