WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
162493
Fix Mac CMake build after
r206261
https://bugs.webkit.org/show_bug.cgi?id=162493
Summary
Fix Mac CMake build after r206261
Jonathan Bedard
Reported
2016-09-23 09:32:03 PDT
Build fix for Mac CMake.
Attachments
Patch
(1.52 KB, patch)
2016-09-23 09:36 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Patch
(2.24 KB, patch)
2016-09-23 13:48 PDT
,
Jonathan Bedard
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Jonathan Bedard
Comment 1
2016-09-23 09:36:01 PDT
Created
attachment 289685
[details]
Patch
Jonathan Bedard
Comment 2
2016-09-23 09:37:34 PDT
Still in the process of testing this patch locally. Unless others find this fix urgent and indicate so, I will not commit it until local testing confirms it's working.
Jonathan Bedard
Comment 3
2016-09-23 11:39:50 PDT
Locally confirmed that this patch allows Mac CMake to build.
Daniel Bates
Comment 4
2016-09-23 13:17:02 PDT
Comment on
attachment 289685
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=289685&action=review
> Source/WebKit2/CMakeLists.txt:664 > +if (NOT APPLE)
Is this the preferred way to add files to non-Apple ports? I thought we prefer to keep the purpose of this file for platform-independent files and put platform-specific files in the appropriate Platform*.cmake files.
> Source/WebKit2/CMakeLists.txt:666 > + set(WebKit2_SOURCES > + ${WebKit2_SOURCES}
Notice that list(APPEND ...) can be used to append elements to the end of a list [1]. I suggest that we make use of this function to append WebTextChecker.cpp and WebTextCheckerClient.cpp to the end of the list. [1] <
https://cmake.org/cmake/help/v3.0/command/list.html
>
Alex Christensen
Comment 5
2016-09-23 13:19:51 PDT
Comment on
attachment 289685
[details]
Patch Yes, these files should just be moved to PlatformGTK.cmake and PlatformEFL.cmake.
Jonathan Bedard
Comment 6
2016-09-23 13:48:38 PDT
Created
attachment 289705
[details]
Patch
WebKit Commit Bot
Comment 7
2016-09-23 14:22:36 PDT
Comment on
attachment 289705
[details]
Patch Clearing flags on attachment: 289705 Committed
r206331
: <
http://trac.webkit.org/changeset/206331
>
WebKit Commit Bot
Comment 8
2016-09-23 14:22:40 PDT
All reviewed patches have been landed. Closing bug.
Jeremy Huddleston Sequoia
Comment 9
2016-10-12 11:35:29 PDT
So that addresses the problem on !APPLE platforms, but the issue still remains on darwin because of the incorrect preprocessor checks. I filed a ticket to track that followup in:
https://bugs.webkit.org/show_bug.cgi?id=163346
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug