Changeset 257619 in webkit
- Timestamp:
- Feb 27, 2020 10:25:51 PM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 deleted
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r257587 r257619 1992 1992 add_library(WebCoreTestSupport ${WebCoreTestSupport_LIBRARY_TYPE} ${WebCoreTestSupport_SOURCES}) 1993 1993 add_dependencies(WebCoreTestSupport WebCore WebCoreTestSupportBindings) 1994 target_compile_definitions(WebCoreTestSupport PRIVATE "BUILDING_WebCoreTestSupport") 1994 1995 target_include_directories(WebCoreTestSupport PUBLIC ${WebCoreTestSupport_INCLUDE_DIRECTORIES} ${WebCore_INCLUDE_DIRECTORIES}) 1995 1996 target_include_directories(WebCoreTestSupport PRIVATE ${WebCoreTestSupport_PRIVATE_INCLUDE_DIRECTORIES} ${WebCore_PRIVATE_INCLUDE_DIRECTORIES}) -
trunk/Source/WebCore/ChangeLog
r257617 r257619 1 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 3 Fix WebCore export macros for declspec 4 https://bugs.webkit.org/show_bug.cgi?id=208363 5 6 Reviewed by Konstantin Tokarev. 7 8 Modified the PlatformExportMacros to match the other export macros. Originally 9 Windows ports were treated differently and they had to set their own export macros. 10 This isn't ideal because how WebCore is built is really dependent on the CMake 11 definition of the library type. 12 13 * CMakeLists.txt: 14 * WebCorePrefix.h: 15 * platform/PlatformExportMacros.h: 16 * testing/js/WebCoreTestSupportPrefix.h: 17 1 18 2020-02-27 Dean Jackson <dino@apple.com> 2 19 -
trunk/Source/WebCore/WebCorePrefix.h
r252166 r257619 42 42 #endif 43 43 44 #if PLATFORM(WIN) 45 #undef WEBCORE_EXPORT 46 #define WEBCORE_EXPORT WTF_EXPORT_DECLARATION 47 #else 44 #if !OS(WINDOWS) 48 45 #include <pthread.h> 49 #endif // PLATFORM(WIN)46 #endif // !OS(WINDOWS) 50 47 51 48 #include <sys/types.h> -
trunk/Source/WebCore/platform/PlatformExportMacros.h
r256720 r257619 32 32 #include <wtf/ExportMacros.h> 33 33 34 #if USE(EXPORT_MACROS) 34 #if !defined(WEBCORE_EXPORT) 35 #if defined(BUILDING_WebCore) || defined(STATICALLY_LINKED_WITH_WebCore) 36 #define WEBCORE_EXPORT WTF_EXPORT_DECLARATION 37 #else 38 #define WEBCORE_EXPORT WTF_IMPORT_DECLARATION 39 #endif 40 #endif 35 41 36 #if ! PLATFORM(WIN)37 # define WEBCORE_EXPORT WTF_EXPORT_DECLARATION42 #if !defined(WEBCORE_TESTSUPPORT_EXPORT) 43 #if defined(BUILDING_WebCoreTestSupport) || defined(STATICALLY_LINKED_WITH_WebCoreTestSupport) 38 44 #define WEBCORE_TESTSUPPORT_EXPORT WTF_EXPORT_DECLARATION 39 45 #else 40 // Windows must set this per-project 46 #define WEBCORE_TESTSUPPORT_EXPORT WTF_IMPORT_DECLARATION 41 47 #endif 42 43 #else // !USE(EXPORT_MACROS) 44 #define WEBCORE_EXPORT 45 #define WEBCORE_TESTSUPPORT_EXPORT 46 47 #endif // USE(EXPORT_MACROS) 48 #endif -
trunk/Source/WebCore/testing/js/WebCoreTestSupportPrefix.h
r252166 r257619 42 42 #endif 43 43 44 #if OS(WINDOWS) 45 #undef WEBCORE_EXPORT 46 #define WEBCORE_EXPORT WTF_IMPORT_DECLARATION 47 #define WEBCORE_TESTSUPPORT_EXPORT 48 #else 49 44 #if !OS(WINDOWS) 50 45 #include <pthread.h> 51 46 -
trunk/Source/WebKit/ChangeLog
r257618 r257619 1 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 3 Fix WebCore export macros for declspec 4 https://bugs.webkit.org/show_bug.cgi?id=208363 5 6 Reviewed by Konstantin Tokarev. 7 8 Add compilation definitions for static linking of PAL and WebCore in WebKit. 9 10 * PlatformFTW.cmake: 11 * PlatformWin.cmake: 12 * config.h: 13 1 14 2020-02-27 Tim Horton <timothy_horton@apple.com> 2 15 -
trunk/Source/WebKit/PlatformFTW.cmake
r256731 r257619 383 383 FLATTENED 384 384 ) 385 386 list(APPEND WebKit_PRIVATE_DEFINITIONS 387 STATICALLY_LINKED_WITH_PAL 388 STATICALLY_LINKED_WITH_WebCore 389 ) -
trunk/Source/WebKit/PlatformWin.cmake
r256731 r257619 382 382 FLATTENED 383 383 ) 384 385 list(APPEND WebKit_PRIVATE_DEFINITIONS 386 STATICALLY_LINKED_WITH_PAL 387 STATICALLY_LINKED_WITH_WebCore 388 ) -
trunk/Source/WebKit/config.h
r252166 r257619 34 34 #include <wtf/DisallowCType.h> 35 35 36 #if PLATFORM(WIN)37 #undef WEBCORE_EXPORT38 #define WEBCORE_EXPORT WTF_EXPORT_DECLARATION39 #endif // PLATFORM(WIN)40 41 36 #ifdef __cplusplus 42 37 -
trunk/Source/WebKitLegacy/ChangeLog
r257587 r257619 1 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 3 Fix WebCore export macros for declspec 4 https://bugs.webkit.org/show_bug.cgi?id=208363 5 6 Reviewed by Konstantin Tokarev. 7 8 Add compilation definitions for static linking of PAL and WebCore in WebKitLegacy. 9 10 * PlatformFTW.cmake: 11 * PlatformWin.cmake: 12 1 13 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 14 -
trunk/Source/WebKitLegacy/PlatformFTW.cmake
r256731 r257619 475 475 WebKit${DEBUG_SUFFIX} 476 476 ) 477 478 list(APPEND WebKitLegacy_PRIVATE_DEFINITIONS 479 STATICALLY_LINKED_WITH_PAL 480 STATICALLY_LINKED_WITH_WebCore 481 ) -
trunk/Source/WebKitLegacy/PlatformWin.cmake
r256731 r257619 490 490 WebKit${DEBUG_SUFFIX} 491 491 ) 492 493 list(APPEND WebKitLegacy_PRIVATE_DEFINITIONS 494 STATICALLY_LINKED_WITH_PAL 495 STATICALLY_LINKED_WITH_WebCore 496 ) -
trunk/Source/WebKitLegacy/win/ChangeLog
r257592 r257619 1 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 3 Fix WebCore export macros for declspec 4 https://bugs.webkit.org/show_bug.cgi?id=208363 5 6 Reviewed by Konstantin Tokarev. 7 8 Remove setting of WEBCORE_EXPORT from the header files. 9 10 * WebKitPrefix.h: 11 1 12 2020-02-27 Daniel Bates <dabates@apple.com> 2 13 -
trunk/Source/WebKitLegacy/win/WebKitPrefix.h
r235531 r257619 68 68 #endif 69 69 #endif /* USE(CG) */ 70 71 // WebKit.dll is expected to export the symbols in WebCore that have been marked72 // as WEBCORE_EXPORT73 #undef WEBCORE_EXPORT74 #define WEBCORE_EXPORT WTF_EXPORT_DECLARATION -
trunk/Tools/ChangeLog
r257618 r257619 1 2020-02-27 Don Olmstead <don.olmstead@sony.com> 2 3 Fix WebCore export macros for declspec 4 https://bugs.webkit.org/show_bug.cgi?id=208363 5 6 Reviewed by Konstantin Tokarev. 7 8 Remove setting of WEBCORE_EXPORT and WEBCORE_TESTSUPPORT_EXPORT from the header 9 files. Removed precompiled headers that were empty. 10 11 * DumpRenderTree/DumpRenderTreePrefix.h: 12 * DumpRenderTree/win/DefaultPolicyDelegate.cpp: Added a missing config.h. 13 * MiniBrowser/win/stdafx.h: 14 * TestWebKitAPI/win/TestWebKitAPIPrefix.cpp: Removed. 15 * TestWebKitAPI/win/TestWebKitAPIPrefix.h: Removed. 16 * WebKitTestRunner/InjectedBundle/win/TestRunnerInjectedBundlePrefix.cpp: Removed. 17 * WebKitTestRunner/InjectedBundle/win/TestRunnerInjectedBundlePrefix.h: Removed. 18 * WebKitTestRunner/PlatformFTW.cmake: 19 * WebKitTestRunner/PlatformWin.cmake: 20 * WebKitTestRunner/WebKitTestRunnerPrefix.h: 21 1 22 2020-02-27 Tim Horton <timothy_horton@apple.com> 2 23 -
trunk/Tools/DumpRenderTree/DumpRenderTreePrefix.h
r242279 r257619 36 36 #import <Foundation/Foundation.h> 37 37 #endif 38 39 #if PLATFORM(WIN)40 #undef WEBCORE_EXPORT41 #define WEBCORE_EXPORT WTF_IMPORT_DECLARATION42 #undef WEBCORE_TESTSUPPORT_EXPORT43 #define WEBCORE_TESTSUPPORT_EXPORT44 #endif -
trunk/Tools/DumpRenderTree/win/DefaultPolicyDelegate.cpp
r249746 r257619 24 24 */ 25 25 26 #include "config.h" 26 27 #include "DefaultPolicyDelegate.h" 27 28 -
trunk/Tools/MiniBrowser/win/stdafx.h
r256720 r257619 58 58 #include <windows.h> 59 59 #include <wininet.h> 60 #include <wtf/ExportMacros.h>61 60 #include <wtf/Platform.h> 61 62 #include <JavaScriptCore/JSExportMacros.h> 63 #include <WebCore/PlatformExportMacros.h> 62 64 63 65 #if 0 … … 70 72 #endif 71 73 #endif 72 73 #define WEBCORE_EXPORT WTF_IMPORT_DECLARATION -
trunk/Tools/WebKitTestRunner/PlatformFTW.cmake
r250121 r257619 54 54 WebKitTestRunnerLib_SOURCES 55 55 ) 56 WEBKIT_ADD_PRECOMPILED_HEADER(TestRunnerInjectedBundlePrefix.h57 ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/win/TestRunnerInjectedBundlePrefix.cpp58 WebKitTestRunnerInjectedBundle_SOURCES59 )60 56 61 57 list(APPEND -
trunk/Tools/WebKitTestRunner/PlatformWin.cmake
r255670 r257619 58 58 WebKitTestRunnerLib_SOURCES 59 59 ) 60 WEBKIT_ADD_PRECOMPILED_HEADER(TestRunnerInjectedBundlePrefix.h61 ${WEBKIT_TESTRUNNER_INJECTEDBUNDLE_DIR}/win/TestRunnerInjectedBundlePrefix.cpp62 WebKitTestRunnerInjectedBundle_SOURCES63 )64 60 65 61 list(APPEND -
trunk/Tools/WebKitTestRunner/WebKitTestRunnerPrefix.h
r252166 r257619 48 48 #undef catch 49 49 #endif 50 51 #if PLATFORM(WIN)52 #undef WEBCORE_EXPORT53 #define WEBCORE_EXPORT WTF_IMPORT_DECLARATION54 #undef WEBCORE_TESTSUPPORT_EXPORT55 #define WEBCORE_TESTSUPPORT_EXPORT56 #endif
Note: See TracChangeset
for help on using the changeset viewer.