WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 60146
[CMAKE] Refactoring wtf related code.
https://bugs.webkit.org/show_bug.cgi?id=60146
Summary
[CMAKE] Refactoring wtf related code.
Ryuan Choi
Reported
2011-05-04 02:18:04 PDT
There are wtf related code in cmake/OptionsCommon.cmake, cmake/OptionsEfl.cmake, JavaScriptCore/CMakeLists.txt IMO, It should be moved to JavaScriptCore/wtf/CMakeLists.txt
Attachments
Patch
(4.44 KB, patch)
2011-05-04 02:57 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(5.35 KB, patch)
2011-05-04 21:25 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(5.01 KB, patch)
2011-05-11 23:57 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Patch
(5.05 KB, patch)
2011-05-22 23:18 PDT
,
Ryuan Choi
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Ryuan Choi
Comment 1
2011-05-04 02:57:57 PDT
Created
attachment 92208
[details]
Patch
Patrick R. Gansterer
Comment 2
2011-05-04 03:30:34 PDT
Comment on
attachment 92208
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=92208&action=review
Expect for the wtf-files, LGTM
> Source/JavaScriptCore/CMakeLists.txt:-174 > - > - wtf/DateMath.cpp > - wtf/PageAllocationAligned.cpp > - wtf/PageBlock.cpp
I'm not sure if that's correct. Some other ports add this to JSC and not to WTF too. (I don't know why they do that and if i remenber corretly I had some problem with this files in in the WinCE port) e.g.
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj?rev=83506#L641
At lest the move of the files can be put into an addtional patch.
Ryuan Choi
Comment 3
2011-05-04 04:10:52 PDT
(In reply to
comment #2
)
> (From update of
attachment 92208
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=92208&action=review
> > Expect for the wtf-files, LGTM > > > Source/JavaScriptCore/CMakeLists.txt:-174 > > - > > - wtf/DateMath.cpp > > - wtf/PageAllocationAligned.cpp > > - wtf/PageBlock.cpp > > I'm not sure if that's correct. Some other ports add this to JSC and not to WTF too. (I don't know why they do that and if i remenber corretly I had some problem with this files in in the WinCE port) > e.g.
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj?rev=83506#L641
> > At lest the move of the files can be put into an addtional patch.
Thank you for information. Yes, I got an errors while moving those and just add "${JavaScriptCore_INCLUDE_DIRECTORIES}" in WTF_INCLUDE_DIRECTORIES to avoid. I'll investigate it more.
Ryuan Choi
Comment 4
2011-05-04 21:25:43 PDT
Created
attachment 92369
[details]
Patch
Ryuan Choi
Comment 5
2011-05-04 21:34:49 PDT
(In reply to
comment #2
)
> (From update of
attachment 92208
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=92208&action=review
> > Expect for the wtf-files, LGTM > > > Source/JavaScriptCore/CMakeLists.txt:-174 > > - > > - wtf/DateMath.cpp > > - wtf/PageAllocationAligned.cpp > > - wtf/PageBlock.cpp > > I'm not sure if that's correct. Some other ports add this to JSC and not to WTF too. (I don't know why they do that and if i remenber corretly I had some problem with this files in in the WinCE port) > e.g.
http://trac.webkit.org/browser/trunk/Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj?rev=83506#L641
> > At lest the move of the files can be put into an addtional patch.
I updated my patch. I checked it using v8 option (in our local branch). V8 build requires DateMath.cpp (with wtf). and I hope to seperate wtf from JavaScriptCore to support v8 option. So, IMO, we'd better to move it into wtf. I tested on EFL port, but I can't on WinCE port. Could you give address on WinCE port for this patch, if any issues? Thanks.
Patrick R. Gansterer
Comment 6
2011-05-04 22:53:59 PDT
(In reply to
comment #5
)
> I tested on EFL port, but I can't on WinCE port. > Could you give address on WinCE port for this patch, if any issues?
I'll try to build it on the weekend.
Eric Seidel (no email)
Comment 7
2011-05-11 20:24:21 PDT
Comment on
attachment 92369
[details]
Patch I'm happy to rubberstamp this... but I know little about the cmake build.
Ryuan Choi
Comment 8
2011-05-11 23:57:07 PDT
Created
attachment 93257
[details]
Patch
Leandro Pereira
Comment 9
2011-05-12 06:02:45 PDT
(In reply to
comment #8
)
> Created an attachment (id=93257) [details] > Patch
Patrick, could you please set cq+ on this patch after you verify that WinCE port still builds?
Patrick R. Gansterer
Comment 10
2011-05-12 06:42:50 PDT
(In reply to
comment #9
)
> (In reply to
comment #8
) > > Created an attachment (id=93257) [details] [details] > > Patch > > Patrick, could you please set cq+ on this patch after you verify that WinCE port still builds?
Ok, I'll set it to cq after i tested locally. But I don't see a problem if you want to land it now. So feel free to cq+ it. It will work 99.99%.
WebKit Commit Bot
Comment 11
2011-05-22 23:05:26 PDT
Comment on
attachment 93257
[details]
Patch Rejecting
attachment 93257
[details]
from commit-queue. Failed to run "['./Tools/Scripts/webkit-patch', '--status-host=queues.webkit.org', '--bot-id=cr-jail-3', 'land-a..." exit_code: 1 Last 500 characters of output: From git://git.webkit.org/WebKit 2fe4b3b..5519cde master -> origin/master M Source/JavaScriptCore/wtf/PassOwnPtr.h M Source/JavaScriptCore/ChangeLog
r87048
= 5519cde95c92f1c48cef0ee48d4235a4d1fce39a (refs/remotes/trunk) M Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp M Source/WebKit/gtk/ChangeLog
r87049
= 5b0954d8922f1161c67860c2b7081eb7dc52c8f5 (refs/remotes/trunk) First, rewinding head to replay your work on top of it... Fast-forwarded master to refs/remotes/trunk. Full output:
http://queues.webkit.org/results/8726301
Ryuan Choi
Comment 12
2011-05-22 23:18:44 PDT
Created
attachment 94370
[details]
Patch
WebKit Commit Bot
Comment 13
2011-05-23 01:27:48 PDT
Comment on
attachment 94370
[details]
Patch Clearing flags on attachment: 94370 Committed
r87061
: <
http://trac.webkit.org/changeset/87061
>
WebKit Commit Bot
Comment 14
2011-05-23 01:27:54 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.
Top of Page
Format For Printing
XML
Clone This Bug