Changeset 219488 in webkit
- Timestamp:
- Jul 13, 2017, 7:29:28 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r219487 r219488 1 2017-07-13 Matthew Hanson <matthew_hanson@apple.com> 2 3 Fix the cMake builds (GTK and WPE.) 4 https://bugs.webkit.org/show_bug.cgi?id=174164 5 rdar://problem/33137595 6 7 Reviewed by Dan Bernstein. 8 9 * Source/CMakeLists.txt: 10 * Source/cmake/OptionsGTK.cmake: 11 * Source/cmake/OptionsJSCOnly.cmake: 12 * Source/cmake/OptionsMac.cmake: 13 * Source/cmake/OptionsWPE.cmake: 14 * Source/cmake/WebKitFS.cmake: 15 * Source/cmake/WebKitPackaging.cmake: 16 1 17 2017-07-13 Matthew Hanson <matthew_hanson@apple.com> 2 18 -
trunk/Source/CMakeLists.txt
r214338 r219488 31 31 endif () 32 32 33 if (ENABLE_WEBKIT_LEGACY) 34 add_subdirectory(WebKitLegacy) 35 endif () 36 33 37 if (ENABLE_WEBKIT) 34 38 add_subdirectory(WebKit) 35 endif ()36 37 if (ENABLE_WEBKIT2)38 add_subdirectory(WebKit2)39 39 endif () 40 40 … … 57 57 endif () 58 58 59 if (ENABLE_WEBKIT) 59 if (ENABLE_WEBKIT_LEGACY) 60 # FIXME: Rename this target to WebKitLegacy. 60 61 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit ${ADDITIONAL_COMPILER_FLAGS}) 61 62 endif () 62 63 63 if (ENABLE_WEBKIT2) 64 if (ENABLE_WEBKIT) 65 # FIXME: Rename this target to WebKit. 64 66 WEBKIT_SET_EXTRA_COMPILER_FLAGS(WebKit2 ${ADDITIONAL_COMPILER_FLAGS}) 65 67 endif () -
trunk/Source/WebCore/platform/gtk/po/ChangeLog
r218796 r219488 1 2017-07-13 Matthew Hanson <matthew_hanson@apple.com> 2 3 Fix the cMake builds (GTK and WPE.) 4 https://bugs.webkit.org/show_bug.cgi?id=174164 5 rdar://problem/33137595 6 7 Reviewed by Dan Bernstein. 8 9 * POTFILES.in: 10 1 11 2017-06-25 Yuri Chornoivan <yurchor@ukr.net> 2 12 -
trunk/Source/WebCore/platform/gtk/po/POTFILES.in
r218553 r219488 3 3 ../LocalizedStrings.cpp 4 4 ../network/soup/NetworkStorageSessionSoup.cpp 5 ../../../WebKit 2/Shared/API/glib/WebKitHitTestResult.cpp6 ../../../WebKit 2/Shared/API/glib/WebKitURIRequest.cpp7 ../../../WebKit 2/Shared/API/glib/WebKitURIResponse.cpp8 ../../../WebKit 2/Shared/WebErrors.cpp9 ../../../WebKit 2/Shared/glib/WebErrorsGlib.cpp10 ../../../WebKit 2/Shared/gtk/WebErrorsGtk.cpp11 ../../../WebKit 2/Shared/soup/WebErrorsSoup.cpp12 ../../../WebKit 2/UIProcess/API/glib/WebKitAutomationSession.cpp13 ../../../WebKit 2/UIProcess/API/glib/WebKitDownload.cpp14 ../../../WebKit 2/UIProcess/API/glib/WebKitEditorState.cpp15 ../../../WebKit 2/UIProcess/API/glib/WebKitFaviconDatabase.cpp16 ../../../WebKit 2/UIProcess/API/glib/WebKitFileChooserRequest.cpp17 ../../../WebKit 2/UIProcess/API/glib/WebKitFindController.cpp18 ../../../WebKit 2/UIProcess/API/glib/WebKitNavigationPolicyDecision.cpp19 ../../../WebKit 2/UIProcess/API/glib/WebKitNotification.cpp20 ../../../WebKit 2/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp21 ../../../WebKit 2/UIProcess/API/glib/WebKitSettings.cpp22 ../../../WebKit 2/UIProcess/API/glib/WebKitUserMediaPermissionRequest.cpp23 ../../../WebKit 2/UIProcess/API/glib/WebKitWebContext.cpp24 ../../../WebKit 2/UIProcess/API/glib/WebKitWebResource.cpp25 ../../../WebKit 2/UIProcess/API/glib/WebKitWebsiteData.cpp26 ../../../WebKit 2/UIProcess/API/glib/WebKitWebsiteDataManager.cpp27 ../../../WebKit 2/UIProcess/API/glib/WebKitWebView.cpp28 ../../../WebKit 2/UIProcess/API/glib/WebKitWindowProperties.cpp29 ../../../WebKit 2/UIProcess/API/gtk/WebKitAuthenticationDialog.cpp30 ../../../WebKit 2/UIProcess/API/gtk/WebKitColorChooserRequest.cpp31 ../../../WebKit 2/UIProcess/API/gtk/WebKitPrintCustomWidget.cpp32 ../../../WebKit 2/UIProcess/API/gtk/WebKitPrintOperation.cpp33 ../../../WebKit 2/UIProcess/API/gtk/WebKitWebInspector.cpp34 ../../../WebKit 2/UIProcess/API/gtk/WebKitWebViewBase.cpp35 ../../../WebKit 2/UIProcess/API/gtk/WebKitWebViewGtk.cpp36 ../../../WebKit 2/UIProcess/gtk/WebColorPickerGtk.cpp37 ../../../WebKit 2/UIProcess/gtk/WebKitInspectorWindow.cpp38 ../../../WebKit 2/UIProcess/WebEditCommandProxy.cpp39 ../../../WebKit 2/UIProcess/WebsiteData/WebsiteDataRecord.cpp40 ../../../WebKit 2/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResult.cpp41 ../../../WebKit 2/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp5 ../../../WebKit/Shared/API/glib/WebKitHitTestResult.cpp 6 ../../../WebKit/Shared/API/glib/WebKitURIRequest.cpp 7 ../../../WebKit/Shared/API/glib/WebKitURIResponse.cpp 8 ../../../WebKit/Shared/WebErrors.cpp 9 ../../../WebKit/Shared/glib/WebErrorsGlib.cpp 10 ../../../WebKit/Shared/gtk/WebErrorsGtk.cpp 11 ../../../WebKit/Shared/soup/WebErrorsSoup.cpp 12 ../../../WebKit/UIProcess/API/glib/WebKitAutomationSession.cpp 13 ../../../WebKit/UIProcess/API/glib/WebKitDownload.cpp 14 ../../../WebKit/UIProcess/API/glib/WebKitEditorState.cpp 15 ../../../WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp 16 ../../../WebKit/UIProcess/API/glib/WebKitFileChooserRequest.cpp 17 ../../../WebKit/UIProcess/API/glib/WebKitFindController.cpp 18 ../../../WebKit/UIProcess/API/glib/WebKitNavigationPolicyDecision.cpp 19 ../../../WebKit/UIProcess/API/glib/WebKitNotification.cpp 20 ../../../WebKit/UIProcess/API/glib/WebKitResponsePolicyDecision.cpp 21 ../../../WebKit/UIProcess/API/glib/WebKitSettings.cpp 22 ../../../WebKit/UIProcess/API/glib/WebKitUserMediaPermissionRequest.cpp 23 ../../../WebKit/UIProcess/API/glib/WebKitWebContext.cpp 24 ../../../WebKit/UIProcess/API/glib/WebKitWebResource.cpp 25 ../../../WebKit/UIProcess/API/glib/WebKitWebsiteData.cpp 26 ../../../WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp 27 ../../../WebKit/UIProcess/API/glib/WebKitWebView.cpp 28 ../../../WebKit/UIProcess/API/glib/WebKitWindowProperties.cpp 29 ../../../WebKit/UIProcess/API/gtk/WebKitAuthenticationDialog.cpp 30 ../../../WebKit/UIProcess/API/gtk/WebKitColorChooserRequest.cpp 31 ../../../WebKit/UIProcess/API/gtk/WebKitPrintCustomWidget.cpp 32 ../../../WebKit/UIProcess/API/gtk/WebKitPrintOperation.cpp 33 ../../../WebKit/UIProcess/API/gtk/WebKitWebInspector.cpp 34 ../../../WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp 35 ../../../WebKit/UIProcess/API/gtk/WebKitWebViewGtk.cpp 36 ../../../WebKit/UIProcess/gtk/WebColorPickerGtk.cpp 37 ../../../WebKit/UIProcess/gtk/WebKitInspectorWindow.cpp 38 ../../../WebKit/UIProcess/WebEditCommandProxy.cpp 39 ../../../WebKit/UIProcess/WebsiteData/WebsiteDataRecord.cpp 40 ../../../WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebHitTestResult.cpp 41 ../../../WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp -
trunk/Source/WebKit/ChangeLog
r219487 r219488 1 2017-07-13 Matthew Hanson <matthew_hanson@apple.com> 2 3 Fix the cMake builds (GTK and WPE.) 4 https://bugs.webkit.org/show_bug.cgi?id=174164 5 rdar://problem/33137595 6 7 Reviewed by Dan Bernstein. 8 9 * Scripts/generate-forwarding-headers.pl: 10 (collectFrameworkHeaderPaths): 11 (createForwardingHeadersForFramework): 12 1 13 2017-07-13 Matthew Hanson <matthew_hanson@apple.com> 2 14 -
trunk/Source/WebKit/Scripts/generate-forwarding-headers.pl
r217216 r219488 41 41 my @frameworkHeaders; 42 42 my $framework; 43 my $frameworkDirectoryName;44 43 my %neededHeaders; 45 44 my $verbose = 0; # enable it for debugging purpose … … 63 62 foreach (@frameworks) { 64 63 $framework = $_; 65 $frameworkDirectoryName = ($framework eq "WebKit") ? "WebKit2" : $framework;66 64 @frameworkHeaders = (); 67 65 %neededHeaders = (); 68 66 69 67 foreach (@incFromRoot) { find(\&collectNeededHeaders, abs_path($_) ); }; 70 find(\&collectFrameworkHeaderPaths, File::Spec->catfile($srcRoot, $framework DirectoryName));68 find(\&collectFrameworkHeaderPaths, File::Spec->catfile($srcRoot, $framework)); 71 69 createForwardingHeadersForFramework(); 72 70 } … … 90 88 my $file = $_; 91 89 if ($filePath =~ '\.h$' && $filePath !~ "ForwardingHeaders" && grep{$file eq $_} keys %neededHeaders) { 92 my $headerPath = substr($filePath, length(File::Spec->catfile($srcRoot, $framework DirectoryName)) + 1 );90 my $headerPath = substr($filePath, length(File::Spec->catfile($srcRoot, $framework)) + 1 ); 93 91 push(@frameworkHeaders, $headerPath) unless (grep($headerPath =~ "$_/", @skippedPrefixes) || $headerPath =~ "config.h"); 94 92 } … … 110 108 111 109 my $forwardingHeaderPath = File::Spec->catfile($targetDirectory, $headerName); 112 my $expectedIncludeStatement = "#include \"$framework DirectoryName/$header\"";110 my $expectedIncludeStatement = "#include \"$framework/$header\""; 113 111 my $foundIncludeStatement = 0; 114 112 -
trunk/Source/cmake/OptionsGTK.cmake
r219486 r219488 9 9 # Libtool library version, not to be confused with API version. 10 10 # See http://www.gnu.org/software/libtool/manual/html_node/Libtool-versioning.html 11 CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT 260 0 23)11 CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(WEBKIT 60 0 23) 12 12 CALCULATE_LIBRARY_VERSIONS_FROM_LIBTOOL_TRIPLE(JAVASCRIPTCORE 24 4 6) 13 13 … … 181 181 endif () 182 182 183 set(ENABLE_WEBKIT OFF)184 set(ENABLE_WEBKIT 2ON)183 set(ENABLE_WEBKIT_LEGACY OFF) 184 set(ENABLE_WEBKIT ON) 185 185 set(ENABLE_PLUGIN_PROCESS ${ENABLE_NETSCAPE_PLUGIN_API}) 186 186 -
trunk/Source/cmake/OptionsJSCOnly.cmake
r217736 r219488 33 33 34 34 set(ENABLE_WEBCORE OFF) 35 set(ENABLE_WEBKIT_LEGACY OFF) 35 36 set(ENABLE_WEBKIT OFF) 36 set(ENABLE_WEBKIT2 OFF)37 37 38 38 if (WIN32) -
trunk/Source/cmake/OptionsMac.cmake
r219403 r219488 112 112 113 113 set(ENABLE_GRAPHICS_CONTEXT_3D ON) 114 set(ENABLE_WEBKIT_LEGACY ON) 114 115 set(ENABLE_WEBKIT ON) 115 set(ENABLE_WEBKIT2 ON) -
trunk/Source/cmake/OptionsWPE.cmake
r219391 r219488 52 52 53 53 set(ENABLE_WEBCORE ON) 54 set(ENABLE_WEBKIT OFF)55 set(ENABLE_WEBKIT 2ON)54 set(ENABLE_WEBKIT_LEGACY OFF) 55 set(ENABLE_WEBKIT ON) 56 56 set(ENABLE_API_TESTS ${DEVELOPER_MODE}) 57 57 set(ENABLE_TOOLS ON) -
trunk/Source/cmake/WebKitFS.cmake
r219486 r219488 30 30 set(DERIVED_SOURCES_JAVASCRIPTCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/JavaScriptCore") 31 31 set(DERIVED_SOURCES_WEBCORE_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebCore") 32 set(DERIVED_SOURCES_WEBKIT LEGACY_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKitLegacy")32 set(DERIVED_SOURCES_WEBKIT_LEGACY_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKitLegacy") 33 33 set(DERIVED_SOURCES_WEBKIT_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit") 34 34 set(DERIVED_SOURCES_WEBKIT2_DIR "${CMAKE_BINARY_DIR}/DerivedSources/WebKit2") … … 49 49 endif () 50 50 51 if (ENABLE_WEBKIT 2)52 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT 2_DIR})51 if (ENABLE_WEBKIT) 52 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT_DIR}) 53 53 endif () 54 54 55 if (ENABLE_WEBKIT )56 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT LEGACY_DIR})55 if (ENABLE_WEBKIT_LEGACY) 56 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT_LEGACY_DIR}) 57 57 file(MAKE_DIRECTORY ${DERIVED_SOURCES_WEBKIT_DIR}) 58 58 endif () -
trunk/Source/cmake/WebKitPackaging.cmake
r219486 r219488 111 111 "/WebKitLibraries/" 112 112 "/English\\\\.lproj/" 113 "/Source/WebKit /"113 "/Source/WebKitLegacy/" 114 114 "\\\\.a$" 115 115 "\\\\.exe$"
Note:
See TracChangeset
for help on using the changeset viewer.