RESOLVED FIXED 65012
[CMAKE] Wrap files of websocket and worker in each macro
https://bugs.webkit.org/show_bug.cgi?id=65012
Summary [CMAKE] Wrap files of websocket and worker in each macro
Gyuyoung Kim
Reported 2011-07-21 23:59:55 PDT
In CMakeLists.txt, web sockets and workers files aren't wrapped by macro. So, this patch move files of web sockets and workers into each macro block.
Attachments
Proposed Patch (8.52 KB, patch)
2011-07-22 00:01 PDT, Gyuyoung Kim
no flags
Modified Patch (9.89 KB, patch)
2011-07-22 01:04 PDT, Gyuyoung Kim
no flags
Patch (11.74 KB, patch)
2011-08-10 23:31 PDT, Gyuyoung Kim
no flags
Patch (10.26 KB, patch)
2011-08-10 23:33 PDT, Gyuyoung Kim
no flags
Patch (10.38 KB, patch)
2011-08-12 00:19 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2011-07-22 00:01:18 PDT
Created attachment 101698 [details] Proposed Patch
Gyuyoung Kim
Comment 2 2011-07-22 01:04:04 PDT
Created attachment 101704 [details] Modified Patch Move shared workers's idl files into it's macro in CMakeList.txt
Gyuyoung Kim
Comment 3 2011-07-22 01:05:23 PDT
CC'ing Patrick, Ryuan, Lucas.
Raphael Kubo da Costa (:rakuco)
Comment 4 2011-07-22 04:50:19 PDT
Is there any reason for this besides fixing the build error you mentioned in the ChangeLog entry?
Patrick R. Gansterer
Comment 5 2011-07-22 08:14:52 PDT
Comment on attachment 101704 [details] Modified Patch View in context: https://bugs.webkit.org/attachment.cgi?id=101704&action=review > Source/WebCore/CMakeLists.txt:1963 > + IF (ENABLE_WORKERS) I'd prefere an additional "IF (ENABLE_WEB_SOCKETS AND ENABLE_WORKERS)" section.
Gyuyoung Kim
Comment 6 2011-08-10 23:31:32 PDT
Gyuyoung Kim
Comment 7 2011-08-10 23:33:47 PDT
Gyuyoung Kim
Comment 8 2011-08-10 23:34:40 PDT
(In reply to comment #4) > Is there any reason for this besides fixing the build error you mentioned in the ChangeLog entry? Ok, I think the description is unneed. So, I remove it in ChangeLog.
Gyuyoung Kim
Comment 9 2011-08-10 23:35:23 PDT
(In reply to comment #5) > (From update of attachment 101704 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=101704&action=review > > > Source/WebCore/CMakeLists.txt:1963 > > + IF (ENABLE_WORKERS) > > I'd prefere an additional "IF (ENABLE_WEB_SOCKETS AND ENABLE_WORKERS)" section. I use "IF (ENABLE_WEB_SOCKETS AND ENABLE_WORKERS)". Please review again.
Patrick R. Gansterer
Comment 10 2011-08-11 08:34:33 PDT
Comment on attachment 103582 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=103582&action=review > Source/WebCore/CMakeLists.txt:1978 > + loader/WorkerThreadableLoader.cpp > + page/WorkerNavigator.cpp we usually have an empty line after "change directory" (an empty line between different folders helps when reading the list of files.) > Source/WebCore/ChangeLog:6 > + Move files of web socket and workers into each macro block. You don't mention any change in the CPP files. An additional option is to split this change into CMake and CPP changes.
Gyuyoung Kim
Comment 11 2011-08-12 00:19:39 PDT
Gyuyoung Kim
Comment 12 2011-08-12 00:23:54 PDT
(In reply to comment #10) > (From update of attachment 103582 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=103582&action=review > > > Source/WebCore/CMakeLists.txt:1978 > > + loader/WorkerThreadableLoader.cpp > > + page/WorkerNavigator.cpp > > we usually have an empty line after "change directory" (an empty line between different folders helps when reading the list of files.) Ok, I add an empty line after "change directory". However, there are many codes which don't add empty line after "change directory" in CMakeList files. If you don't have plan to fix them, I'd like to fix them. > > Source/WebCore/ChangeLog:6 > > + Move files of web socket and workers into each macro block. > > You don't mention any change in the CPP files. An additional option is to split this change into CMake and CPP changes. Ok, I add description related to cpp files change.
Patrick R. Gansterer
Comment 13 2011-08-12 02:21:26 PDT
Comment on attachment 103746 [details] Patch LGTM (In reply to comment #12) > Ok, I add an empty line after "change directory". However, there are many codes which don't add empty line after "change directory" in CMakeList files. If you don't have plan to fix them, I'd like to fix them. Feel free to upload this change.
Leandro Pereira
Comment 14 2011-08-12 14:06:11 PDT
Comment on attachment 103746 [details] Patch LGTM also.
Daniel Bates
Comment 15 2011-08-15 21:06:09 PDT
Comment on attachment 103746 [details] Patch OK.
WebKit Review Bot
Comment 16 2011-08-15 22:18:53 PDT
Comment on attachment 103746 [details] Patch Clearing flags on attachment: 103746 Committed r93086: <http://trac.webkit.org/changeset/93086>
WebKit Review Bot
Comment 17 2011-08-15 22:18:58 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.